Re: Newbie question: first project can't connect to MySQL

2013-08-09 Thread Robert
I got the same problem. I solved it just now. http://stackoverflow.com/questions/18150858/operationalerror-2002-cant-connect-to-local-mysql-server-through-socket-v On Thursday, February 5, 2009 1:41:21 AM UTC+8, Kevin Audleman wrote: > > Hello everyone, > > I am running through the tutorial and s

Re: Newbie question: first project can't connect to MySQL

2012-10-05 Thread Javier Guerra Giraldez
On Fri, Oct 5, 2012 at 3:02 PM, Kurtis Mullins wrote: > Also, if memory serves me correctly, MySQL may be setup to allow connections > from 127.0.0.1 but not Localhost AFAIK, there are at least three different ways to connect to a local server, each can be allowed/denied individually: A: unix so

Re: Newbie question: first project can't connect to MySQL

2012-10-05 Thread Kurtis Mullins
Also, if memory serves me correctly, MySQL may be setup to allow connections from 127.0.0.1 but not Localhost On Fri, Oct 5, 2012 at 2:45 PM, Mohamad Efazati wrote: > Hi afshin > localhost is kind of pointer to 127.0.0.1, maybe in /etc/hosts or other > thing you overwrite it. > so 127.0.0.1 is so

Re: Newbie question: first project can't connect to MySQL

2012-10-05 Thread Mohamad Efazati
Hi afshin localhost is kind of pointer to 127.0.0.1, maybe in /etc/hosts or other thing you overwrite it. so 127.0.0.1 is source and always work. 2012/10/4 Afshin Mehrabani > Hey Kevin, > > Thanks for your correct reply, I had this problem also but after changing > host from "localhost" to "127

Re: Newbie question: first project can't connect to MySQL

2012-10-04 Thread Afshin Mehrabani
Hey Kevin, Thanks for your correct reply, I had this problem also but after changing host from "localhost" to "127.0.0.1" problem solved, But why? what's the different between 'localhost' and '127.0.0.1'? On Wednesday, February 4, 2009 9:15:32 PM UTC+3:30, Kevin Audleman wrote: > > I found the

Re: Newbie question: first project can't connect to MySQL

2009-02-04 Thread Kevin Audleman
I found the solution in the archives: I changed DATABASE_HOST to 127.0.0.1 from '' Kevin On Feb 4, 9:41 am, Kevin Audleman wrote: > Hello everyone, > > I am running through the tutorial and setting up my first django > project. Quite exciting! However I have run into trouble connecting to > MyS

Newbie question: first project can't connect to MySQL

2009-02-04 Thread Kevin Audleman
Hello everyone, I am running through the tutorial and setting up my first django project. Quite exciting! However I have run into trouble connecting to MySQL. My settings.py file looks like this: DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'or