look in your wp-config.php file and verify that information matches with the database information.
Thread Starter
v2006
(@v2006)
It does..I successfully installed it on another linux server but not for the one I need it on.
The blog exists but the tables can’t be created.
When I go into phpadmin under localhost..it has “No Privileges” written in red
Create new database:
No Privileges
Could this have anything to do with it?
The server uses cPanel X v2.6.0
Thanks
Most times a cPanel hosted site will not allow a database to be created in phpMyAdmin.
The database, the database user (along with password), and the assignment of database rights for a user are defined in a cPanel menu.
So either the information you have in wp-config.php is wrong or has a space in front of or after a value (‘ localhost’ should be ‘localhost’) or the database server is down (unlikely).
Hosts rarely let anybody to create DB in phpMyadmin. That’s pretty standard.
You create a DB from the site’s/host’s admin panel (cPanel in your case!). Then (if necessary) edit it with the phpMyadmin.
Did you create a database and did you add a user to it before attempting to install?
Thread Starter
v2006
(@v2006)
Thanks for your help
I created db, then UN/PW, then added username to database in cpanel (not phpadmin)
It’s a dedicated linux server.
The info in wp-config is correct.
I had success installing the same blog files on another server (with cpanel)..the script ran successfully.
Please advise
Thread Starter
v2006
(@v2006)
My wp-config file:
<?php
// ** MySQL settings ** //
define(‘DB_NAME’, ‘home_blog’); // The name of the database
define(‘DB_USER’, ‘home_lenn’); // Your MySQL username
define(‘DB_PASSWORD’, ‘password’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);
Is your “username” on that server (hosting package) “home”? I mean, logging into the cPanel do you use that username?
Thread Starter
v2006
(@v2006)
Resolved..the server guys said it was something to do with having old mySQL databases on the server..now updated.
I knew it wan’t me:-)
Thanks very much for checking.