R Rprp Verified User Joined Dec 25, 2006 Messages 28 Dec 25, 2006 #1 Hi, If i run a script in python with Mysqldb, It says: Connection to MySQL failed So, whats wrong.... Somebody tells me mysql is blocking TCP connections, But how can i accept TCP connections? Grtz, Rprp
Hi, If i run a script in python with Mysqldb, It says: Connection to MySQL failed So, whats wrong.... Somebody tells me mysql is blocking TCP connections, But how can i accept TCP connections? Grtz, Rprp
nobaloney NoBaloney Internet Svcs - In Memoriam † Joined Jun 16, 2003 Messages 25,333 Location California Dec 26, 2006 #2 What server is your script trying to connect to? localhost, or a specific IP#? Or what? Jeff
nobaloney NoBaloney Internet Svcs - In Memoriam † Joined Jun 16, 2003 Messages 25,333 Location California Dec 26, 2006 #4 Try it with 127.0.0.1 instead of localhost to see if it's any different. Otherwise I'm out of suggestions; anyone else? Jeff
Try it with 127.0.0.1 instead of localhost to see if it's any different. Otherwise I'm out of suggestions; anyone else? Jeff
R Rprp Verified User Joined Dec 25, 2006 Messages 28 Dec 26, 2006 #5 ricky@dedi262:~/.tremulous/base/parser$ ./tremstats.py Connection to MySQL failed Someone else said i must accept TCP connections in mysql. But how? :<
ricky@dedi262:~/.tremulous/base/parser$ ./tremstats.py Connection to MySQL failed Someone else said i must accept TCP connections in mysql. But how? :<