visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Databases :: MySql :: Getting MySQL to work in SuSE Linux 8.0


By: mikesapunk U.S.A.  Date: 05/02/2003 00:00:00  English  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 English  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 English  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

EContact
browser fav
page generated in 301.536080 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page