[CentOS] MySQL installation problem

Thu Nov 5 16:15:39 UTC 2009
Christoph Maser <cmr at financial.com>

Am Donnerstag, den 05.11.2009, 17:11 +0100 schrieb Victor Subervi:
> Hi;
> It's been a while since I controlled my own server and I'm rusty.
> Trying to install mysql
> yum install mysql
> All looks well. Here's what happens:
>
> [root at 13gems www]# mysql
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
> [root at 13gems www]# mysql -u root -p
> Enter password:
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
>
> There's no mysqld in the ps wax. Please advise.
> beno

How about starting it? service mysqld start


financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553