beansbaxter
Verified User
Help, I cannot restart MySQL on my DA server running CentOS 5.5. It was running fine, then rebooted my server and now it won't start. I tried reinstalling it but get the following errors:
Code:
[root@server custombuild]# cd /usr/local/directadmin/custombuild/
[root@server custombuild]# ./build set mysql_inst yes
Changed mysql_inst option from yes to yes
[root@server custombuild]# ./build mysql
Cannot find /usr/bin/mysqldump
Found /usr/local/directadmin/custombuild/mysql/MySQL-client-5.1.60-1.glibc23.x86_64.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-devel-5.1.60-1.glibc23.x86_64.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-server-5.1.60-1.glibc23.x86_64.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-shared-5.1.60-1.glibc23.x86_64.rpm
Stopping mysqld ...
/etc/init.d/mysqld: line 260: my_print_defaults: command not found
/etc/init.d/mysqld: line 263: my_print_defaults: command not found
ERROR! MySQL manager or server PID file could not be found!
Cannot find /usr/bin/mysql, installing MySQL
Preparing... ########################################### [100%]
package MySQL-shared-5.1.60-1.glibc23.x86_64 is already installed
package MySQL-devel-5.1.60-1.glibc23.x86_64 is already installed
/etc/init.d/mysqld: line 260: my_print_defaults: command not found
/etc/init.d/mysqld: line 263: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL manager (/usr/bin/mysqlmanager) or server (/usr/bin/mysqld_safe)
Giving mysqld a few seconds to start up...
cp: `/usr/lib/libmysqlclient.so' and `/usr/lib/mysql/libmysqlclient.so' are the same file
Restarting MySQL.
/etc/init.d/mysqld: line 260: my_print_defaults: command not found
/etc/init.d/mysqld: line 263: my_print_defaults: command not found
/etc/init.d/mysqld: line 260: my_print_defaults: command not found
/etc/init.d/mysqld: line 263: my_print_defaults: command not found
ERROR! MySQL manager or server PID file could not be found!
/etc/init.d/mysqld: line 260: my_print_defaults: command not found
/etc/init.d/mysqld: line 263: my_print_defaults: command not found
Starting MySQL ERROR! Couldn't find MySQL manager (/usr/bin/mysqlmanager) or server (/usr/bin/mysqld_safe)
It is recommended to do "./build php n" after MySQL update.
[root@server custombuild]#
Last edited: