Databases :: MySql :: Getting MySQL to work in SuSE Linux 8.0 |
|||
| By: mikesapunk |
Date: 05/02/2003 00:00:00 |
Points: 200 | Status: Answered Quality : Excellent |
|
I just installed SuSE 8.0 on my machine and I chose to install MySQL during setup. Now that Linux is up and running, I can't get MySQL to run. I ran mysql_install_db with no problems, but I can't get the database to start. safe_mysqld shuts down immediately after running it, mysqladmin says it can't find /tmp/mysql.sock. How else can I get it started? |
|||
| By: VGR | Date: 05/02/2003 18:55:00 | Type : Answer |
|
| the mysqld user has no right to write in /tmp, or /tmp does not exist? Check my.ini settings about datadir, basedir, temporary dir ([sessions]) etc should be easy. also check that no mysqld is already running ;-) ( "ps -aux|more", as root) |
|||
| By: grtoft | Date: 06/02/2003 10:22:00 | Type : Assist |
|
| Go into YaST and see if START_MYSQL="yes" or edit /etc/rc.config and check it there. If is is set to "no", change it to yes, then start mysql (as root): /etc/rc.d/mysql start Verify mysql is running (as root): ps -ef | grep sql If that fails, check /var/log/messages and /var/lib/mysql/`hostname`.err to see what it tells you. I remember I had to chmod the socket. Mine are currently: srwxrwxrwx 1 mysql daemon 0 Jan 28 22:01 mysql.sock Cheers, George |
|||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








