I uploaded the drupal folder to /test dir (http://www.promacros.com/test) on my site and am unsure what to do now.

The MySQL error was: Access denied for user 'username'@'localhost' (using password: YES).

Now I assume I have/can go in to my cPanel > MySQL Datebases and then add an appropriate user and pass and db for this. I attempted that but to no avail. I messed around in /test/sites/default/settings.php to match the credentials I made to my DB but was served with an error upon visiting the index.

What should I be doing?

Thanks

Comments

styro’s picture

If you are hosted you should have already been given a MySQL username and password to use in your settings.php file.

Then you need create the Drupal database tables from the SQL script in the database directory. The exact method will depend on the database management interface (eg phpmyadmin) your host provides.

--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
Example Knowledge Base built using Drupal

mevets’s picture

I am using phpmyadmin as you mentioned. I noticed on a cPanel install of Drupal that it made 57 tables. Will I have to go in and manually add in 57 tables myself?

styro’s picture

mention the SQL script you need to load that creates the tables. So while you don't have to create all the tables manually, you do need to manually load the script that creates them.

--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
Example Knowledge Base built using Drupal

mevets’s picture

I did it! I wound up going into my cPanel made drupal's db in PhpMyAdmin. I then exported the db as a file. Then I renamed the db.sql to test.sql (prolly unecssary). Next, I Switched to my test db and Imported the .sql file and then went to my drupals url and poof, no problems. Thanks for the idea styro.