[EMAIL PROTECTED] writes:
> Hello, I need some help to solve a problem starting mysql . I have installed all the
>files in a specific directory, and modify basedir, datadir et pid_file in the file :
>support-files/mysql.server. Running the daemon is OK but when i try to start mysql i
> have the following message : error 2002 : can't connect to local mysql server
>through socket '/tmp/mysql.sock'. What is wrong?
> Thank you for your help.
>
> Nicole Paleirac
> Technical Documentation - Soft ware Trainee
> Philips Semiconductors - BUTT Sophia - Mktg BLCE
> 505, route des Lucioles - 06560 Sophia Antipolis, FRANCE
> # (33)4.92.96.11.53 or 23.88 Fax: (+33) 4 92 96 11 02
> E:mail: [EMAIL PROTECTED]
>
Hi!
Please do not meddle with scripts directly. Instead, you should use
/etc/my.cnf file to set options.
e.g. to solve the above problem, make the following entries in
/etc/my.cnf file:
[client]
socket=......
Instead of .... set a full path name to your socket file.
BTW, what do you use MySQL for in Philips , Sofia ??
--
Regards,
For technical support contracts, go to https://order.mysql.com/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php