Integrating my drupal site with the database
Hi, I'm new to cPanel. My client asked me to host the drupal site in their server. What I did is, I have zipped the files which was running in my local and exported the db files from the local.
I have successfully added the site files in the public_html folder. Now moving to the Db files, I have created a new database in MySQL Databases and assigned a new user to that db. And later I imported the DB files from my local.
Now I'm stuck with integrating the site with db.
Usually to link db we will add the dbname, username, password and hostname in the settings.php file. I have also added my username, password and db name, and saved the file.
but if I run the site in the web, I get http 500 error.
Please help, I'm new to this.
I have shared the screenshots of my settings.php file and the 500 error page.
Please sign in to leave a comment.
Comments
0 comments