Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-22-2005, 04:06 PM   #1
Registered: Dec 2003
Location: Netherlands
Distribution: SuSe 9.0
Posts: 44

Rep: Reputation: 15
mysql startup

I like to start mysql at boot time. So i putted this command in my /etc/rc.d/rc.local :
/usr/local/mysql/libexec/mysqld --skip-innodb -user=mysql &

well i got some errors while rebooting so probably that command is incorrect although the mysql user exists.
Maybe someone can tell me how i can run that mysql command as user mysql. I use slackware 7.1
Old 07-23-2005, 09:04 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
Re: mysql startup

Originally posted by eyewittness
/usr/local/mysql/libexec/mysqld --skip-innodb -user=mysql &
mysqld doesn't have a -user parameter. You do, however want to start it as the user mysql:
su mysql -c '/usr/local/mysql/libexec/mysqld --skip-innodb'
There are various other options that you might need, depending on your setup, such as your base directory and location of your data directory. To see these, run:
/usr/local/mysql/libexec/mysqld --help | less
You may also need to edit /etc/my.cnf

See for more details.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL hangs at startup Confusedious Linux - Software 1 10-15-2005 06:21 PM
Mysql install and startup buttersoft Slackware - Installation 5 03-15-2005 04:39 PM
Getting MySql to run on startup jriis Debian 8 03-16-2004 12:20 PM
MySQL hangs at Startup maddcow Linux - Software 0 09-24-2003 12:42 AM
I want MySQL to run at startup WorldBuilder Linux - General 12 06-14-2003 01:45 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration