maxoutwp
Member
Posted 2 years ago #
I have created a sub directory on my FTP called "wordpress". In here i have the word press files and the wp-config.php file that i have edited for setup. When i try to load the install.php i return with the following error. "This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down." I have not edited the /** MySQL hostname */
define('DB_HOST', 'localhost'); do i need to change this.
I have checked my database, username and password for errors.
any help out there? please.
maxoutwp
Member
Posted 2 years ago #
this is the error, sorry.
Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
im having a similar problem however I have changed hostname
install.php will not run if you have a config.php. remove it run install and have install create it. that error means you have no database tables.
that didnt work for me :(
Thee, wp-config.php 'creates' the database tables, when you remove it, WP can't 'talk' to the database anymore. Deleting it sounds like a very bad idea to me.
Max, did you follow the instructions, edit the wp-config-sample.php with the correct information and changed its name to wp-config.php? (All this after creating a database and asigning users of course.)
I followed all of those instructions Gangleri
The Debil
Member
Posted 2 years ago #
What process did you use for creating your database?
Which hosting company are you using?
Do you know the nameservers of your actual server?
Cheers
Dave
my host is 1&1 and I created db using their "MS SQL Administration"
yes I know the name servers of my actual server as I had to input these into the config file
MS SQL Administration
you can NOT use mssql - it must be MySQL
The Debil
Member
Posted 2 years ago #
UKMMA
my host is 1&1 and I created db using their "MS SQL Administration"
yes I know the name servers of my actual server as I had to input these into the config file
That answers my questions really, I was doing to see what services were available on your server, with a dns look up.
As samboll has said, MySQL 4 and above.
Cheers
Dave