I created a script to create a table.
The script is as follows:
===============
use Contacts;
CREATE TABLE Lead (lastname varchar(50), firstname
varchar(50), title varchar(200), company
varchar(200),
telephone_work varchar(15), telephone_home
varchar(15),
fax varchar(15), email varchar(100), address
varchar(255), city varchar(100), state varchar(100),
postal_code varchar(10), country varchar(100), note
varchar(255));
================
when I run the following command:
/usr/local/mysql/bin/mysql < cr_Lead.sql
I got the following error message:
============
ERROR 2002: Can't connect to local MySQL server
through socket '/tmp/mysql.sock' (111)
=========
what could be the problem?
thanks
YekSoon
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.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