CodeIgniter Forums
Unable to connecte to the database - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Unable to connecte to the database (/showthread.php?tid=65408)

Pages: 1 2


RE: Unable to connecte to the database - InsiteFX - 06-09-2016

Un-install and re-install MySQL and see if that will fix it

If your running on Windows 10 it could be that because the first time I did it it would not connect either until I re-installed everything again.


RE: Unable to connecte to the database - rooye - 06-09-2016

(06-09-2016, 01:06 PM)InsiteFX Wrote: Un-install and re-install MySQL and see if that will fix it

If your running on Windows 10 it could be that because the first time I did it it would not connect either until I re-installed everything again.

I am not working on a local server but a remote(or live) server.I put my website online before having this problems. I don't know for sure if you meant that that I should restart the remote server.I can restart WAMP but I don't know how to restart a remote mysql server

Thanks


RE: Unable to connecte to the database - InsiteFX - 06-10-2016

If its a remote server it may not allow remote access.

Check with your hosting provider.


RE: Unable to connecte to the database - rooye - 06-10-2016

Hi everyone,

I have finally had the problem solved.The thing was that I was supposed to use an IP address for localhost.I got the IP address from my host and all is well now.

thanks so much for the help you gave