Welcome Guest, Not a member yet? Register   Sign In
Database Error while connecting from Localhost
#11

What may be happening with the DB not showing in phpMyAdmin running under MAMP is that you have a manually installed mysql and a different version installed automatically by MAMP?

That MAMP welcome page also had some MySQL default details listed. Try using those in your CI config file, i.e.

Host: localhost
U: root
P: root

Also import your SQL file using phpMyAdmin, so the DB is installed on the same version/location of MySQL which MAMP uses when looking for it.
Reply


Messages In This Thread
RE: Database Error while connecting from Localhost - by JayAdra - 04-11-2017, 10:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB