Thread: MySQLdb

    #1
  1. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407

    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?
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2004
    Posts
    1
    Rep Power
    0

    Can you connect from a mysql command line client?


    ??
  4. #3
  5. Only the strong survives!!.
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Feb 2003
    Location
    A World of wonders.
    Posts
    5,583
    Rep Power
    407
    Originally Posted by rawbobb
    ??
    Ya but nm.. i figured out that i will need to edit the dbs permision to make it work.. thanx anyways

IMN logo majestic logo threadwatch logo seochat tools logo