Re: Database connection not pointing to the correct database backend

2020-03-01 Thread maninder singh Kumar
Try using another user and password and not 'root' [image: --] Maninder Kumar [image: http://]about.me/maninder.s.kumar On Sun, Mar 1, 2020 at 1:51 AM Cam wrote: > I'm running Ubuntu and I'm trying to create a small web-app connecting to >

Re: Database connection not pointing to the correct database backend

2020-02-29 Thread Agumba .
Try using pymysql... Add the following in your project root __init__.py ie. `import pymysql pymysql.version_info = (1, 3, 13, "final", 0) pymysql. install_as_MySQLdb() ` On Sun, Mar 1, 2020, 07:34 karthik s wrote: > Hi cam, > well I solved same problem by removing virtual environment and > rein

Re: Database connection not pointing to the correct database backend

2020-02-29 Thread karthik s
Hi cam, well I solved same problem by removing virtual environment and reinstalling all the packages again. it worked for me then, I have now access to mysql database .. afterthat you have python 2.xx version pip install otherwise python3.xx version pip3 install On Sun, Mar 1, 2020 at 1:51 AM C

Database connection not pointing to the correct database backend

2020-02-29 Thread Cam
I'm running Ubuntu and I'm trying to create a small web-app connecting to a mysql database. (I've also tried sql-server database and had the same issue) It took me awhile the first time I did this but I was able to get it to work using 'ENGINE': 'mysql.connector.django', This time around I'm