Daevid Vincent wrote:
>Just make a symbolic link... Probably it's in /tmp
>
>So as root,
> "ln -vs /tmp/mysql.sock /var/lib/mysql/mysql.sock"
>
>This is always an annoyance with mysql and redhat it seems. *sigh*
>
How exactly? I mean there cannot be a socket file in /tmp either,
because MySQL does not even start properly. For example:
[root@dhcppc9 smaisnie]# ln -vs /tmp/mysql.sock /var/lib/mysql/mysql.sock
create symbolic link `/var/lib/mysql/mysql.sock' to `/tmp/mysql.sock'
ln: creating symbolic link `/var/lib/mysql/mysql.sock' to
`/tmp/mysql.sock': No such file or directory
Regards Sami
>
>
>
>>-----Original Message-----
>>From: Sami Maisniemi [mailto:sami.maisniemi@stripped]
>>Sent: Tuesday, March 30, 2004 3:11 PM
>>To: mysql@stripped
>>Subject: MySQL installation in Fedora Core 1
>>
>>I intend to build up a web server that is based on Fedora Core 1.
>>Installation and configuration of Apache and PHP4 was pretty
>>simple, but
>>there are some problems in configuration of MySQL. I
>>installed the MySQL
>>server RPM included in the distribution.
>>
>>Even in the MySQL pages it is mentioned that running
>>"/etc/rc.d/init.d/mysqld start" is enough for
>>post-installation process.
>>However, there is no such file. Running "mysql" leads to an error:
>>
>>[root@dhcppc9 smaisnie]# mysql
>>ERROR 2002: Can't connect to local MySQL server through socket
>>'/var/lib/mysql/mysql.sock' (2)
>>
>>Does anyone have any idea how to carry out post-installation process?
>>
>>Regards Sami Maisniemi
>>
>>
>>
>>--
>>MySQL General Mailing List
>>For list archives: http://lists.mysql.com/mysql
>>To unsubscribe:
>>http://lists.mysql.com/mysql?unsub=1
>>
>>
>>