Re: mysql_connect(): '/tmp/mysql.sock' error
| From: | Jean-Christian IMbeault | Date: | Thu, 26 Jun 2003 21:25:48 +0000 |
| Subject: | Re: mysql_connect(): '/tmp/mysql.sock' error | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153031@lists.php.net to get a copy of this message | ||
Jason Wong wrote:
>
> Find out where your mysql.sock is and edit php.ini to match.
Good idea.
The problem was that the installation instructions for MySQL for vague
and confusing. I started trying to install from rpm and that didn't
work. I then installed from the binary and that was hell too. All the
problems stemmed from the fact that I couldn't figure out where MySQL
was installing itself too.
I finally was able to find the source and install with that and force it
to be where I wanted.
I had the feeling that installing MySQL was going to be easy but it
isn't all that simple. Maybe thay've made it *too* easy ;)
Now, creating users ... what a pain.
Jean-Christian Imbeault