Quote:
Originally posted by Burke
No tables, huh... Okay, looks like your username & password are not working for mysql.. You'll need to test that from the command prompt..
I just went through these steps on my Mandrake 9.0 workstation:
assuming the following:
phpBB2 database name = 'phpBB2'
phpBB2 username = 'phpBB2User'
phpBB2User password = 'password'
Now, type the following:
mysql --user=phpBB2User --password=password
Does this let you into MySQL?
If so, type "use phpBB2" to switch to the database.
If it lets you switch to phpBB2 database, then try creating a table:
create table test_table (test_id mediumint(8) default '0' not null);
Did it let you create one or were you even able to get this far?.. Maybe not.. You may need to try Granting the user id it's permissions (Did you forget to do this?)..
For example (using the assumption placed above):
GRANT ALL ON phpBB2.* TO phpBB2User@localhost IDENTIFIED BY 'password';
Should return "Query OK, 0 rows affected"
Now, try the previous steps again. If you are able to create the test table, then "drop test_table;" to get rid of it and try your phpBB2 install again.
From what you've described, it just looks like the user you're trying to use doesn't have the permission to create the database/tables or you're not using the right password.
Good Luck, I hope this helped.
|
well i did that and i was able to create a database, create tables,drop tables with the account i am giving the forum to use. i alost when into this program "mysql control center" and added a table and droped it. i did notice that i cant ADD a database which is ok bc i shouldnt be having to add a database sense its allready created.