i have a MySQL database in cpanel and i want to connect my django project to this database when i try to connect it it show a message that i can't connect to localhost but i don't want to connect to localhost i want to connect to my remote database in cpanel. i have tried to connect to (MySQL workbench) and it connected without a problem.
Asked
Active
Viewed 392 times
0
-
You have to enable remote access of your mysql db Here you go for same problem: https://forums.cpanel.net/threads/remote-access-to-mysql-not-working.632447/ – Aug 19 '21 at 20:39
-
please check this URL . https://stackoverflow.com/questions/45623468/connecting-django-to-remote-mysql-database-using-workbench – Hamed Jan 07 '22 at 17:23