Re: [python-win32] Mysqldb

2007-10-24 Thread Tim Roberts
kNish wrote: > > I must admit I know more of python than SQL. When you say > not with localhost as hostname. You are saying that given a computer A > which is acting as a server, has a user name created as root and > passwd "", When another computer B on the same network, > domain (wi

Re: [python-win32] Mysqldb

2007-10-24 Thread Simon Dahlbacka
What I was trying to say has actually nothing to do with python nor sql but networking in general. The host name 'localhost' (and IP address 127.0.0.1 for that matter) always refers to the current machine, and if the server is running on computer a and the client on computer b the client will alwa

Re: [python-win32] Mysqldb

2007-10-24 Thread kNish
Hi, Does anybody think it may be an issue with odbc and wamp5. BRgds, kNish On 10/24/07, kNish <[EMAIL PROTECTED]> wrote: > > Hi, > > Command in use : > > conn = MySQLdb.connect(host = "localhost",port = 3306, user = > "root",passwd = "",db = "dailies",cursorclass=MySQLdb.cu

Re: [python-win32] Mysqldb

2007-10-24 Thread kNish
Hi, I must admit I know more of python than SQL. When you say not with localhost as hostname. You are saying that given a computer A which is acting as a server, has a user name created as root and passwd "", When another computer B on the same network, domain (without a firewall) tries

Re: [python-win32] Mysqldb

2007-10-24 Thread Simon Dahlbacka
the obvious? answer here is at least not with 'localhost' as hostname On 10/24/07, kNish <[EMAIL PROTECTED]> wrote: > > Hi, > > Command in use : > > conn = MySQLdb.connect(host = "localhost",port = 3306, user = > "root",passwd = "",db = "dailies",cursorclass=MySQLdb.cursors.DictCursor) > >

[python-win32] Mysqldb

2007-10-24 Thread kNish
Hi, Command in use : conn = MySQLdb.connect(host = "localhost",port = 3306, user = "root",passwd = "",db = "dailies",cursorclass=MySQLdb.cursors.DictCursor) Error : OperationalError: (2003, "Can't connect to MySQL server on 'localhost' (10061)") Is it possible to h