By terrencevaughan on
I have an account with Web.com and am trying to install Drupal onto it. PHP is created and I have created a database. I was able to upload Drupal and I did get the online GUI interface when installing Drupal, however, I could not get passed the databse configuration part. It would just reload the page again. i am not sure what I need to do. do I need to change the file in the Drupal core files? If so, which ones?
Comments
Yes you have to change one
Yes you have to change one core file. The file name is settings.php file..The location is /sites/default/settings.php
Note: As its your first time installation you will see defaultsettings.php file instead of settings.php file. Just change its name.
And in settings.php file look for $db_url = username:password@localhost:database.
username: your database user name
password: your database password
localhost: database host (99% its localhost only )
database: name of the database that you created.
Now go to yoursite.com/install.php
Boom follow the step and you are done..
Chetan
Hi I am trying to do the same thing, for days..
Did you just use localhost, also the database username and the database are are two different things I hope?
Web.com offers no tech support on Drupal
Thanks
Kevin
I have been trying to connect to the database for 2 days now
database
Yes, the database name, database username and database password are possibly, or should be different.
Generally the phpmyadmin interface will also show you the database name, username and the password.
You should have it written down when you made the database, or you can make a new password(write it down)
The localhost works for some hosts, but on others it can very well be something else such as:
accountsupportmsql.com
mysql17.streamline.net
It's best to login to phpmyadmin, and look at the screen to see if you see something similar..
Many times, if you click on the Drupal database over to the left, it will load the tables in the screen, look up at the top for a 'Location'
Sometimes the knowledge base will have it stated.