installation
Permalink
installation process wants to know name of database server; last i checked, mysql servers are not named. what do i tell it?
thanks
mike harris
thanks
mike harris
yeah they are... 90% of the time this is going to be "localhost"
Error: Unable to connect to database.
I tried "localhost"
MySQL localhost
MySQL.localhost
Any ideas, need help.
Thanks,
Steve
I tried "localhost"
MySQL localhost
MySQL.localhost
Any ideas, need help.
Thanks,
Steve
Had a similar problem, due to some problems with my hosts file. I tried to put in 127.0.0.1 instead. It works great on the machine the server is installed on, but when logging on over the network it tries to use a database local on the user's machine.
<strike>How do I edit this option now that I'm up and running?</strike>
Edit: I found the configuration in the file: <Concrete5>/config/site.php.
A strange entry for localhost in my hosts file was causing me problems. concrete5 now working with localhost as DB server. OP should check his hosts file. i.e.http://127.0.0.1 andhttp://localhost should give the base webserver results for the current computer.
<strike>How do I edit this option now that I'm up and running?</strike>
Edit: I found the configuration in the file: <Concrete5>/config/site.php.
A strange entry for localhost in my hosts file was causing me problems. concrete5 now working with localhost as DB server. OP should check his hosts file. i.e.http://127.0.0.1 andhttp://localhost should give the base webserver results for the current computer.
If the MYSQL server is hosted on the same machine as your website you can use your servers IP address, 127.0.0.1 or most likely localhost.
If you database is hosted on another machine, contact your hosting company and ask for the host name or IP address and port.
If you database is hosted on another machine, contact your hosting company and ask for the host name or IP address and port.
- a username, a password
- a database name
- and the hostname of the server where the database runs