need help with MySQLdb

Wolfram Kraus kraus at
Thu Jun 30 09:07:56 EDT 2005

nephish wrote:

>> Try the following from the shell (NOT the python shell):
>> mysql -u user -p
>> [Enter passwd]
>> mysql> show databases;
>> If MyDB isn't in the list either something went wrong with the xampp 
>> installation or the database for xampp got a different name. (I am no 
>> xampp expert, so I can't help you any further)
>> HTH,
>> Wolfram
> after i entered the password it told me it cannot connect to mysql through
> socket /tmp/mysql.sock
> hmmmm.
> hope this helps

Please keep the discussion on the list

mysql -u user -p -h


More information about the Python-list mailing list