Setup Trouble

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Straterra
Forum Regular
Posts: 527
Joined: Mon Nov 24, 2003 8:46 am
Location: Indianapolis, Indiana
Contact:

Setup Trouble

Post by Straterra »

I have installed MySQL 4 and I am trying to install phpBB. When I enter the correct username and password for the database, I get a Warning: mysql_connect(): Access denied for user: 'straterra@localhost' (Using password: YES) in c:\ftp\users\straterra\forum\db\mysql4.php on line 48
error...I have double checked in MySQL that the passwords and usernames match, and they do..But, it still won't allow me to connect to the database
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

Does that mySQL user have the privledges to create new databases and tables etc etc.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

You may also need to give the user permission to that database explicitely if they don't have global permissions.

Mac
Post Reply