MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: build rpm with modified path
Posted by: Fabien COMBERNOUS
Date: April 22, 2014 03:46AM

The good news is when i use the init script out of the box, mysqld start.

But as i say before, new settings are not used several times.

For instance, when it is started output from ps gives :

root 2115 1 0 11:16 pts/0 00:00:00 /bin/sh /OPT/dbmysql/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/
mysql 2293 2115 0 11:16 pts/0 00:00:00 /OPT/dbmysql/sbin/mysqld --basedir=/OPT/dbmysql --datadir=/var/lib/mysql --plugin-dir=/OPT/dbmysql/lib64/mysql/plugin --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/lib/mysql/ --socket=/var/lib/mysql/mysql.sock

And worst, some new settings are used partially :
/OPT/dbmysql/bin/mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/VAR/dbmysql/data//mysql.sock' (2)

So i will not recommend to my customer to build its own rpm. For each new release, a large amount of time will be used to find wrong elements.

Regards, F.

Options: ReplyQuote

Written By
April 18, 2014 07:31AM
Re: build rpm with modified path
April 22, 2014 03:46AM

Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.