Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysqld will not stay running more than fraction of minute

Status
Not open for further replies.

shoe9plant

Programmer
Jun 5, 2005
1
US
Sbj: mysqld will not stay running more than fraction of minute

I removed all of mysql for a fresh beginning. I reinstalled from Suse Linux 8.0 distribution cdroms the packages mysql (which has the server parts) and mysql-client (the clients parts). At that point ps -A did not show mysqld running. In /etc/rc.d is visable the new mysql start-up script for running it by turning on the system.
I ran '/usr/bin/mysql-install-db' after usage of the su (super user) command. It did not indicate failures. 'ps -A' still showed no mysqld process.
After su command, I ran '/usr/bin/safe_mysqld &' as suggested by manual in /usr/share/docs/packages/mysql. The message stated 'Starting mysqld daemon with databases from /var/lib/mysql ... date / time ... mysql ended' _ . ps -A showed no entry for mysqld when I issued that command in another console window. This continued to be so after shutting down, cycling power, starting up.
Just as a check, I issued 'mysql -u root' command. Msg came back, 'error 2002 unable to connect to local MySQL server through socket /var/lib/mysql/mysql.soc <111>' .
How can this problem be solved?
- - shoe9plant - - 6/5/2005;
 
I would have look at the mysql logfiles, it's the first place to look at. Did you touch the my.cnf after installation?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top