"Malkhaz Mangoshvili" <[EMAIL PROTECTED]> writes:
> Hello. I installed on my computer Red Hat Linux 7.0. After that I started
>configuring
> mysql. I upgraded mysql, added all necessary packages and I wanted to run mysql
>server.
> Whenever I type mysql it gives me such an error message: "ERROR
> 2002: Can't connect to MYSQL server through socket
> /var/lib/mysql/mysql.sock ". I found out from the internet that I
> needed to change permission for the mysql.socket by typing chmod 777
> mysql.socket. For the first time this file didn't even exist, then
> it was created when I typed mysql_install_db, but it is
> empty. Version of this mysql is: 3.23.22-beta.
1) Remove /var/lib/mysql (shouldn't be necesarry, but just to be safe
2) Get the updated rpms (you can get them with up2date). The version
of these are mysql-3.23.32-1.7
3) Start mysql with "service mysqld start" - don't do "safe_mysqld",
"mysql_install_db": The database is initialized automatically the
first time it's run
--
Trond Eivind Glomsrød
Red Hat, Inc.
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php