Hey Folks, This command line did the job and brought up the Drupal... mysql -hmysql.clnews.org -u xclnews -p xclnews-drupal < /big/dom/xclnews/www/drupal/database/database.4.0.mysql Thanks Tony Budak ----- Original Message ----- From: "Tony Budak" <TonyBudak@CLNews.org> To: <support@drupal.org> Sent: Monday, May 22, 2006 2:24 PM Subject: Re: [support] 2002 error Hi AjK, I named my database "drupal". So in the first example, the command would be mysql -u xclnews -p xclnews-drupal -D drupal< \ /big/dom/xclnews/www/drupal/database/database.4.0.mysql Is this what you suggest? What does the -D signify? thanks, Tony ----- Original Message ----- From: "AjK" <drupal@f2s.com> To: <support@drupal.org> Sent: Monday, May 22, 2006 3:35 AM Subject: RE: [support] 2002 error
mysql -u xclnews -p xclnews-drupal < /big/dom/xclnews/www/drupal/database/database4.0.mysql
Then I get a request for password, enter password and then I get a "2002 error, can't connect to local mysql server through socket '/tmp/mysql.sock' "
Any help PLEASE
Missing database name: try this for unix sockets:- [Replace "xclnews_db" with your database name] mysql -u xclnews -p xclnews-drupal -D xclnews_db < \ /big/dom/xclnews/www/drupal/database/database4.0.mysql or this for TCP connect:- mysql -u xclnews -p xclnews-drupal -h 127.0.0.1 -P 3306 -D xclnews_db < \ /big/dom/xclnews/www/drupal/database/database4.0.mysql regards --AjK -- [ Drupal support list | http://lists.drupal.org/ ] -- [ Drupal support list | http://lists.drupal.org/ ]