Re: Zend Studio, phpMyAdmin, and mysql.sock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock

As far as I know, the default for MySQL out of the box is /tmp/mysql.sock

You'd have to complain to Zend Support to get a configure directive
for this, if they don't already have one.

On Thu, July 13, 2006 11:53 pm, Dave M G wrote:
> PHP List,
>
> I am trying out Zend Studio for editing and debugging my PHP scripts.
>
> When I first ran it, it kept giving me this error:
> Can't connect to local MySQL server through socket /tmp/mysql.sock
>
> After some research on the web, I found that this could be solved by
> editing /etc/mysql/my.conf so that it said:
> socket = /tmp/mysql.sock
>
> I was not thrilled about the idea of changing my MySQL server to meet
> the needs of one application, but I wanted to see if it would work,
> and
> it does.
>
> But, now phpMyAdmin doesn't work, saying:
> The server is not responding (or the local MySQL server's socket is
> not
> correctly configured)
>
> So what I really want to do is put my /etc/mysql/my.conf file back to
> the way it was, and make Zend listen on mysql's default socket, not on
> /tmp/mysql.sock.
>
> But, after much searching on the web, and in the Zend forums, I can't
> find any information on configuring Zend in this matter.
>
> What do I need to do to make Zend listen on the MySQL socket that I
> want
> it to listen on?
>
> (Which, by the way, is /var/run/mysqld/mysqld.sock)
>
> Thank you for any advice.
>
> --
> Dave M G
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux