Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Starting up the Mysql server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
teon
n00b
n00b


Joined: 27 Jun 2002
Posts: 1
Location: Oz

PostPosted: Sun Jun 30, 2002 4:01 pm    Post subject: Starting up the Mysql server Reply with quote

Hi,
Coming from a RH background, starting a RH server is just a matter of /etc/rc.d/init.d/mysqld start

After emerging mysql , I am unable to get the server started. I see a safe_mysqld file and a /var/run/mysqld but have beem unsuccessful so far. Any help is appreciated.

Thanks
T 8)
Back to top
View user's profile Send private message
mksoft
l33t
l33t


Joined: 28 May 2002
Posts: 844

PostPosted: Sun Jun 30, 2002 4:23 pm    Post subject: Reply with quote

Gentoo's init scripts are placed in /etc/init.d, so to start mysql:
Code:
/etc/init.d/mysql start

You must be root to run that and if you su to root, don't forget to run
Code:
su -

to have sbin added to the path.

If you want mysql to run at startup, you'll need to add it to the default runlevel
Code:
rc-update add mysql default

as root of course.

This is the doc you'll want to read for more info.
_________________
There's someone in my head but it's not me - Pink Floyd
Back to top
View user's profile Send private message
kyptin
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2002
Posts: 95
Location: UNC (Chapel Hill, NC, USA)

PostPosted: Tue Jul 02, 2002 2:50 am    Post subject: MySQL Docs Reply with quote

I know it seems obvious, but always check the Manual. Specifically, try Section 2.4.

-Jeff T.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum