configuration of new database

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I zipped up my website from one server and would like to move it to another
hosting company.    Where in the tree are the configuration files for SQL
kept?  I see a file called database which is a text document but I do not
see the password for the SQL configuration.    This all runs under Linux /
Apache / MySQL.

Thanks - Larry

Re: configuration of new database

Quoted text here. Click to load it

So where did you PUT the configuration files for SQL?  If you're
using PHP (or Perl or TCL or whatever), where do calls to mysql_connect()
or similar functions get their arguments?  Especially stuff like
the password?

I usually put this in an include file outside the document file,
in a little include file that defines variables like $mysql_server,
$mysql_user, $mysql_password, and $mysql_db.  But that's just my

It's possible the password ends up in the Apache httpd.conf, a .htaccess
file, or php.ini, put there by your service provider .

                        Gordon L. Burditt

Site Timeline