need help with MySQLdb

Wolfram Kraus kraus at hagen-partner.de
Thu Jun 30 15:07:56 CEST 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

Try
mysql -u user -p -h 127.0.0.1

HTH,
Wolfram



More information about the Python-list mailing list