Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Sep 05, 2003 5:10 pm 
Offline
Senior Newbie

Joined: Sun Jun 29, 2003 9:09 pm
Posts: 18
I type "mysqld" at the shell prompt and hit return, then get the message "mysqld: ready for connections". But then I don't get returned to a shell prompt. I can type stuff on the screen, but it doesn't do anything. I try Ctrl-C and Ctrl-Z, but they don't give me back the prompt either.

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.


Top
   
 Post subject:
PostPosted: Fri Sep 05, 2003 5:25 pm 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
Hi,

Place an & as then end

i.e. mysqld &

is will get you the command prompt back and run mysql as a background process.

Adam


Top
   
 Post subject:
PostPosted: Sat Sep 06, 2003 3:37 pm 
Offline
Senior Newbie
User avatar

Joined: Sun Aug 24, 2003 10:56 pm
Posts: 6
ICQ: 1305965
Website: http://www.dmbshare.net
WLM: bluewwweb@yahoo.com
Yahoo Messenger: bluewwweb@yahoo.com
AOL: SmokinMusicMan
Location: Wonder Lake, IL
You might want to type

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


Top
   
 Post subject:
PostPosted: Sat Sep 06, 2003 7:01 pm 
Offline
Senior Member
User avatar

Joined: Mon Jun 23, 2003 1:25 pm
Posts: 260
or if you are using debain use

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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group