doesn't return to shell prompt after starting mysqld
I have to close the ssh session and start another one to get a shell prompt. Then I do "ps aux" and it shows that mysqld did start.
Any ideas? Thanks.
Ps. When I use safe_mysqld to start the server, the same thing happens initially (doesn't return to a prompt), but then I type Ctrl-Z and it does give me back the prompt.
3 Replies
Place an & as then end
i.e. mysqld &
is will get you the command prompt back and run mysql as a background process.
Adam
safe_mysqld –user=mysql &
This should work for you..i Just dump this into my rc.local in my /etc/rc.d/ directory… Im using Slackware btw, since I believe other distros may use a diff filesystem standard
update-rc.d mysql default
and it will sort it all out for you.
mysql is one of those things that really should start with the system.
Adam