Help with MySQL.
Steven Stern
subscribed-lists at sterndata.com
Sun Aug 14 23:39:56 UTC 2011
On 08/14/2011 07:02 PM, Lucélio Gomes de Freitas wrote:
>
> Hi,
>
> Issuing the commands:
> [Lucelio at MAQ02 Documentos]$ mysqladmin --version
> mysqladmin Ver 8.42 Distrib 5.1.58, for redhat-linux-gnu on x86_64
>
> I guess that MySQL is installed and operating. But, issuing the command:
>
> [Lucelio at MAQ02 Documentos]$ mysql
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
> [Lucelio at MAQ02 Documentos]$
>
> Any help creating the configuration/data files for a first cluster use?
>
> Thanks,
>
The MySQL daemon isn't running. You need to start it.
sudo /sbin/service chkconfig mysqld on
sudo /sbin/service mysqld start
--
-- Steve
More information about the users
mailing list