Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mysql 4.0.20 dies on start
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
thonot
n00b
n00b


Joined: 14 Sep 2002
Posts: 16

PostPosted: Fri Jul 16, 2004 7:21 pm    Post subject: mysql 4.0.20 dies on start Reply with quote

When I start mysql usin /etc/init.d/mysql start
I get no errors
Code:
skids thonot # /etc/init.d/mysql start
 * Starting mysqld...                                                                  [ ok ]
skids thonot #

But when I try to connect I get errors:
Code:
skids thonot # mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)


And when I check /var/log/mysql/mysqld.err, it shows the following:
Code:
040716 15:11:40  Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist
040716 15:11:40  Aborting

040716 15:11:40  /usr/sbin/mysqld: Shutdown Complete

I also noticed that the directory: /var/lib/mysql/mysql is empty.
_________________
Sometimes you just have to push things to there breaking point and let the pieces fall where they willl...
Back to top
View user's profile Send private message
vla_do
Apprentice
Apprentice


Joined: 13 Mar 2004
Posts: 165

PostPosted: Fri Jul 16, 2004 7:41 pm    Post subject: Reply with quote

Code:
skids thonot # /usr/bin/mysql_install_db
Back to top
View user's profile Send private message
thonot
n00b
n00b


Joined: 14 Sep 2002
Posts: 16

PostPosted: Sat Jul 17, 2004 12:44 am    Post subject: Reply with quote

Cool!
Thanks!
_________________
Sometimes you just have to push things to there breaking point and let the pieces fall where they willl...
Back to top
View user's profile Send private message
LodBot
Apprentice
Apprentice


Joined: 06 Sep 2003
Posts: 155

PostPosted: Sat Jul 17, 2004 3:00 am    Post subject: Reply with quote

vla_do wrote:
Code:
skids thonot # /usr/bin/mysql_install_db
I'm having the same exact problem and that didn't help. Any other ideas?

Thanks.
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