Re: need help with MySQLdb
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
.
Relevant Pages
- Re: Found a product for running Python-based websites off CDROM -have anybody tried it?
... We've looked at XAMPP, and it has the following disadvantages compared ... I've only read the Stunnix Web site, and I've only seen XAMPP in ... Even if one will be able to somehow create a CD with XAMPP, the database ... (comp.lang.python) - Re: need help with MySQLdb
... i have a question about how to point my python install to my sql database. ... in Connect return Connection(*args, **kwargs) ... If MyDB isn't in the list either something went wrong with the xampp installation or the database for xampp got a different name. ... (comp.lang.python) |
|