Re: Databases configuration

2018-12-07 Thread Daniel M
I think the problem is the server. Try pip install mysqlserver then start the server. On Dec 7, 2018 17:27, "Chuck R" wrote: > Hi, if you're using python venv, try install mysqlclient(pip install > mysqlclient) and rerun the local server. > > On Thu, Dec 6, 2018, 9:38 AM C. Kirby >> Did you sta

Re: Databases configuration

2018-12-07 Thread Chuck R
Hi, if you're using python venv, try install mysqlclient(pip install mysqlclient) and rerun the local server. On Thu, Dec 6, 2018, 9:38 AM C. Kirby Did you start your mysql process? > > On Thursday, December 6, 2018 at 9:33:37 AM UTC-5, Cool Smith wrote: >> >> Hi everyone, >> >> I am new to Djang

Databases configuration

2018-12-07 Thread Chuck R
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'mysql', 'USER': 'root', 'PASSWORD': 'root', 'HOST': '', 'PORT': '3306' } } This should work for you. You were using the wrong port.The port you were using is for postg

Re: Databases configuration

2018-12-07 Thread Kasper Laudrup
Hi Cool Smith, On 12/7/18 10:11 AM, Cool Smith wrote: I tried starting MYSQL server on System Preferences. However, it seems the server will shutdown automatically a few seconds later. You would probably have a better chance of getting useful responses if you posted your question in a forum

Re: Databases configuration

2018-12-07 Thread Cool Smith
I tried starting MYSQL server on System Preferences. However, it seems the server will shutdown automatically a few seconds later. On Friday, December 7, 2018 at 8:09:28 PM UTC+11, Cool Smith wrote: > > How to do so? > > On Friday, December 7, 2018 at 1:38:09 AM UTC+11, C. Kirby wrote: >> >> Did

Re: Databases configuration

2018-12-07 Thread Cool Smith
How to do so? On Friday, December 7, 2018 at 1:38:09 AM UTC+11, C. Kirby wrote: > > Did you start your mysql process? > > On Thursday, December 6, 2018 at 9:33:37 AM UTC-5, Cool Smith wrote: >> >> Hi everyone, >> >> I am new to Django. I have started a new project running on my localhost. >> Rath

Re: Databases configuration

2018-12-06 Thread Arnaldo Díaz Molina
Did you have installed the mysql driver??? Is your host localhost??? Did you have your mysql service started??? 2018-12-06 15:38 GMT+01:00, C. Kirby : > Did you start your mysql process? > > On Thursday, December 6, 2018 at 9:33:37 AM UTC-5, Cool Smith wrote: >> >> Hi everyone, >> >> I am new to D

Re: Databases configuration

2018-12-06 Thread C. Kirby
Did you start your mysql process? On Thursday, December 6, 2018 at 9:33:37 AM UTC-5, Cool Smith wrote: > > Hi everyone, > > I am new to Django. I have started a new project running on my localhost. > Rather than using the default sqlite database, I changed it to mysql with > the following settin

Databases configuration

2018-12-06 Thread Cool Smith
Hi everyone, I am new to Django. I have started a new project running on my localhost. Rather than using the default sqlite database, I changed it to mysql with the following settings on MacOS High Sierra v13.10.6: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql',