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/hostname.pid
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/hostname.pid --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


Subject
Views
Written By
Posted
2254
April 18, 2014 07:31AM
Re: build rpm with modified path
1206
April 22, 2014 03:46AM


Sorry, you can't reply to this topic. It has been closed.

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.