Re: DATABASE in settings file not working

2014-12-11 Thread dennis breland
Thanks. I've spent hours on this silly typo. On Thursday, December 11, 2014 9:53:12 AM UTC-5, François Schiettecatte wrote: > PASSSWORD => PASSWORD > > > > On Dec 11, 2014, at 9:26 AM, dennis breland > wrote: > > > > Please help with this problem... > > > > > > I am getting an access de

Re: DATABASE in settings file not working

2014-12-11 Thread François Schiettecatte
PASSSWORD => PASSWORD > On Dec 11, 2014, at 9:26 AM, dennis breland wrote: > > Please help with this problem... > > > I am getting an access denied error when running Django; details follow: > Currently installed versions: > Python 2.7.3 > MySQL-python package 1.2.3 >

Re: DATABASE in settings file not working

2014-12-11 Thread dennis breland
Please help with this problem... I am getting an access denied error when running Django; details follow: Currently installed versions: Python 2.7.3 MySQL-python package 1.2.3 Django 1.7 I previously used the Django tutorial and successfully used the polling app

Re: DATABASE in settings file not working

2012-02-17 Thread Detectedstealth
Ok it looks like there is an issue with my desktop. I did everything from scratch on my labtop (also running opensuse) and changes to the settings file now work On Feb 17, 9:05 pm, Detectedstealth wrote: > I am starting to wonder if it is an opensuse bug. I am thinking about > switching back to U

Re: DATABASE in settings file not working

2012-02-17 Thread Detectedstealth
I am starting to wonder if it is an opensuse bug. I am thinking about switching back to Ubuntu. On Feb 17, 9:04 pm, Detectedstealth wrote: > Yeah I have tried removing settings.pyc and __init__.pyc it > regenerates the *.pyc files but still is not reading the database > settings for some reason >

Re: DATABASE in settings file not working

2012-02-17 Thread Detectedstealth
Yeah I have tried removing settings.pyc and __init__.pyc it regenerates the *.pyc files but still is not reading the database settings for some reason On Feb 17, 7:56 am, Furbee wrote: > That is strange. This probably won't help, but try deleting the > settings.pyc file and then run python manage

Re: DATABASE in settings file not working

2012-02-17 Thread Furbee
That is strange. This probably won't help, but try deleting the settings.pyc file and then run python manage.py runserver again (without --settings=settings). Furbee On Fri, Feb 17, 2012 at 7:45 AM, Babatunde Akinyanmi wrote: > Yes I do get it. I didn't realize that while I was typing my reply >

Re: DATABASE in settings file not working

2012-02-17 Thread Babatunde Akinyanmi
Yes I do get it. I didn't realize that while I was typing my reply your message had already been delivered to the group. On 2/17/12, Detectedstealth wrote: > I can connect with the same credentials that isn't the problem. > > The problem is if I set a password in settings.py it doesn't use a > pa

Re: DATABASE in settings file not working

2012-02-17 Thread Detectedstealth
I can connect with the same credentials that isn't the problem. The problem is if I set a password in settings.py it doesn't use a password as the error message states. However when I force the settings file with the --settings option then it reads the file correctly and uses the password. On Feb

Re: DATABASE in settings file not working

2012-02-17 Thread Babatunde Akinyanmi
Try to connect to mysql with the same credentials on your terminal. If it doesn't work then you need to reset your root password. sudo dpkg-reconfigure mysql-server-5.1 Should do the trick and then restart the server (That works on ubuntu). Also you should consider creating a separate user inste

Re: DATABASE in settings file not working

2012-02-17 Thread Detectedstealth
I have it working, however I need to provide the settings file when running all commands: python manage.py runserver --settings=settings On Feb 17, 6:11 am, Detectedstealth wrote: > Hi, > > I am just coming back to django development after a while of > developing with pyramid. I have taking over

DATABASE in settings file not working

2012-02-17 Thread Detectedstealth
Hi, I am just coming back to django development after a while of developing with pyramid. I have taking over an application. For some reason with the newest version of django it is not reading the password I set in settings: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.my