News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Tibo Beijen's Blog:
Fixing mysqldump on Zend Server CE on OS X
March 01, 2011 @ 11:50:58

Tibo Beijen has a new post today showing his method for fixing mysqldump on Zend Server CE running on an OS X platform. The default install throws a socket error when you try to dump a database using the command.

Inspecting the mysql configuration contained in /usr/local/zend/mysql/data/my.cnf confirmed that the section [client] showed the socket as returned by executing SHOW VARIABLES; from the mysql client: /usr/local/zend/mysql/tmp/mysql.sock Although it is possible to specify the socket by using mysqldump's --socket switch, that doesn't really seem a 'solution'.

As a real solution to the problem was to copy over the my.cnf file from the custom location Zend Server has it in to the default "/etc/my.cnf" with settings pointing to the correct MySQL socket.

0 comments voice your opinion now!
mysqldump zendserver osx socket error fix


blog comments powered by Disqus

Similar Posts

Community News: PHP 5.1.3RC3 Released

Pierre-Alain Joye's Blog: Howto use a single php.ini for cli/cgi with htscanner, use 0.7.0 or later

DynamicWebPages.de: PHP 4.4.4C1 Released for Testing

PHP.net: PHP 5.2.3 Released

Zend Developer Zone: Zend Framework Hidden Gems: Introduction


Community Events

Don't see your event here?
Let us know!


extension interview library release series opinion unittest conference laravel voicesoftheelephpant community framework psr7 laravel5 language wordpress api development introduction podcast

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework