Sensei
- Join Date:
- Jan 2004
- Posts:
- 63,513
- Plugin Contributions:
- 177
How to test in an offline environment?
All the database settings are in configure.php
Views: 5,932
Sensei
All the database settings are in configure.php
New Zenner
I changed configure.php to use my clone database. When I did this, I got the following screen:
[IMG]http://img585.imageshack.us/img585/6291/uhohb.jpg[/IMG]
What's going on here?
Sensei
That's indicating that the database settings you supplied are incorrect, and it's thus unable to find the data in the database specified.
New Zenner
DrByte:
That's indicating that the database settings you supplied are incorrect, and it's thus unable to find the data in the database specified.
[IMG]http://img269.imageshack.us/img269/2423/unledar.png[/IMG]
Well, at least the clone database exists. The file configure.php was modified to connect to ongrade_zc2 instead ongrade_zc1, so that means the only other problem that could exist is an incorrect username and password? If that's the case, how do I make a new username/password?
Totally Zenned
Tamuren:
If that's the case, how do I make a new username/password?
Quite easy (if your host provides the C-Panel admin hosting interface.)
Just go to the section where MySQL databases are managed.
create a new user and give the user a password.
Then ASSIGN that user to your chosen database, making sure to apply ALL permissions too.
Then, in configure.php files, state the new database username and the password.
Fields marked required must be completed.
Tell staff why this post should be reviewed.