|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
MySQLdb
This is all i need to finish what i was coding... but.. arg i keep getting this dumb error
Code:
Traceback (most recent call last):
File "C:\Python23\Prog\2.py", line 4, in -toplevel-
passwd='*******', db='test' )
File "C:\Python23\Lib\site-packages\MySQLdb\__init__.py", line 63, in Connect
return apply(Connection, args, kwargs)
File "C:\Python23\Lib\site-packages\MySQLdb\connections.py", line 115, in __init__
self._make_connection(args, kwargs2)
File "C:\Python23\Lib\site-packages\MySQLdb\connections.py", line 41, in _make_connection
apply(super(ConnectionBase, self).__init__, args, kwargs)
OperationalError: (1045, "Access denied for user: 'utest@68-235-9-2.miamfl.adelphia.net' (Using password: YES)")
Everything is entered right.. unless this needs to be ran on localhost?
__________________
IE QUOTE | PHP Manual | Google | C/C++ Compiler | Linux Tutorials | General Stuff Game Dev |
|
#2
|
|||
|
|||
|
Can you connect from a mysql command line client?
??
|
|
#3
|
||||
|
||||
|
Quote:
Ya but nm.. i figured out that i will need to edit the dbs permision to make it work.. thanx anyways |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > MySQLdb |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|