MySQL login

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
cgraham
Forum User
Forum User
Posts: 14
Joined: Wed May 10, 2006 9:34 pm

MySQL login

Unread post by cgraham »

does anyone know why I can login to MySQL from a shell but can NOT from a PHP app i.e. Joomla installation?

I keep getting the alert "username & password provided are incorrect" and it puts me back to step 1 of the install.

thanks
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

if you're running 4.1, you might need to set old_passwords=1 in the my.cnf
cgraham
Forum User
Forum User
Posts: 14
Joined: Wed May 10, 2006 9:34 pm

SOLVED

Unread post by cgraham »

scott wrote:if you're running 4.1, you might need to set old_passwords=1 in the my.cnf
SOLVED:

GRANT ALL PRIVILEGES ON dbName.* TO userName@'localhost' identified by '********';

Thanks
Post Reply