the following entries in connection with localhost are in /etc/hosts:
127.0.0.1 localhost
# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
I also use localhost:8080 for local testing of a website which I am setting up at the moment. And that works just fine.
Search found 4 matches
- Tue Sep 16, 2008 10:34 pm
- Forum: Installation
- Topic: Can't connect to server through socket '/tmp/mysql.sock'
- Replies: 5
- Views: 3862
- Sat Sep 13, 2008 9:55 am
- Forum: Installation
- Topic: Can't connect to server through socket '/tmp/mysql.sock'
- Replies: 5
- Views: 3862
Can't connect to database
Hello Garvin, Many thanks for your advice. I put /var/lib/mysql/mysql.sock into my php.ini. That did not cure the problem. Then I tried your second advice - I specified 127.0.0.1 instead of "localhost" when installing serendipity - and that did the trick. I want to test serendipity within ...
- Fri Sep 12, 2008 11:33 am
- Forum: Installation
- Topic: Can't connect to server through socket '/tmp/mysql.sock'
- Replies: 5
- Views: 3862
Can't connect to server through socket '/tmp/mysql.sock'
To clarify further: /var/lib/mysql/mysql.sock is specified for both [mysqld] daemon AND [client]. And, as I mentioned in the original post, this works just fine for all the other clients (eg. OpenOffice Base as well as the Seagull-PHP-Framework). Any help is appreciated.
- Fri Sep 12, 2008 9:35 am
- Forum: Installation
- Topic: Can't connect to server through socket '/tmp/mysql.sock'
- Replies: 5
- Views: 3862
Can't connect to server through socket '/tmp/mysql.sock'
I have MySQL running with a number of databases (including that of the Seagull PHP-Framework as well as "private" ones). Now, trying to install Serendipity on top of that I get the above message. I have got "/var/lib/mysql/mysql.sock"specified in my.cnf and that works fine with t...