justahandle
04-18-2005, 07:41 AM
I'm remastering a Knoppix CD to include an updated MySQL server/client version 4.1.
When in the chroot'ed environment I apt-get installed the 4.1 MySQL server, and I am able to start the mysql server via '/etc/init.d/mysql start' ... but when the remastered version is either burned to CD or run from the iso on the hard drive, the mysql server will not start. There is also nothing (and I mean nothing ... they are empty files) written to any of the mysql logs or syslog.
The error message received is:
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
When I try to start via '/usr/bin/mysqld_safe' the error received is:
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[2515]: started
STOPPING server from pid file /var/run/mysqld/mysqld.pid
mysqld_safe[2525]: ended
I need the updated 4.1 mysql as this is the version being used in a course.
Any ideas as to why this issue exists when running the remastered Knoppix?
Many thanks.
When in the chroot'ed environment I apt-get installed the 4.1 MySQL server, and I am able to start the mysql server via '/etc/init.d/mysql start' ... but when the remastered version is either burned to CD or run from the iso on the hard drive, the mysql server will not start. There is also nothing (and I mean nothing ... they are empty files) written to any of the mysql logs or syslog.
The error message received is:
Starting MySQL database server: mysqld...failed.
Please take a look at the syslog.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)'
Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
When I try to start via '/usr/bin/mysqld_safe' the error received is:
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[2515]: started
STOPPING server from pid file /var/run/mysqld/mysqld.pid
mysqld_safe[2525]: ended
I need the updated 4.1 mysql as this is the version being used in a course.
Any ideas as to why this issue exists when running the remastered Knoppix?
Many thanks.