From: Ruben F. <rfa...@np...> - 2004-11-22 14:04:40
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> Timothy, <br> <br> That's exactly what I needed to know. I had not been able to find where the username was stored, and once you pointed this out, I resolved the problem. Thanks so much for your help. I really appreciate it. <br> <br> Ruben<br> <br> Timothy Pearson wrote: <blockquote cite="mid...@mw..." type="cite"> <pre wrap="">When you set up the initial configuration, did you specify "localhost" or a domain name or an IP address? Localhost should work if you created a user on the new box from "localhost" with permissions to the database. If it was a domain name, then you would have to modify your DNS server so that that name now pointed to the IP address of the new machine. If it was by IP address, then the new machine would have to have the same IP address as the original one. However, it is *really* easy to simply edit the configuration files to match your current setup. You will find there are two places you should look at: One is in the website's conf directory, a file called config.php. Open it with your favorite ASCII text editor and check that everything is correct. I mean everything, including the source-http and source-dir keywords as well as the database stuff. The other is in the core directory called core.php. Open it the same way and check that the path information is correct for your new setup. If you're still having problems, try creating a user from % as well as one from "localhost" (same user name and password and permissions - just allow the user to be from anywhere (%) instead of restricting them to be only from "localhost"). Good luck! Timothy Pearson Midwestern Telephone, Inc. E-mail: <a class="moz-txt-link-abbreviated" href="mailto:ti...@mw...">ti...@mw...</a> Web: <a class="moz-txt-link-freetext" href="http://mwtel.com/">http://mwtel.com/</a> -or- <a class="moz-txt-link-freetext" href="http://InformationTransportation.com/">http://InformationTransportation.com/</a> Phone: 417-673-1977 Ext. 2203 Fax: 417-673-1978 </pre> <blockquote type="cite"> <blockquote type="cite"> <blockquote type="cite"> <pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:rfa...@np...">rfa...@np...</a> 11/19/2004 9:28:04 AM >>> </pre> </blockquote> </blockquote> </blockquote> <pre wrap=""><!---->I have what should be a very simple problem, but I just have not been able to figure this out. I wanted to move a PHP Website site to another machine, and I dumped the database, and copied all the files. I placed everything in the same directory structure as the original setup. I have the same logins for MySQL on both boxes, and I created a 2nd level domain name to the new box, but every time I try and access the 2nd box, I get this message. Unable to load database indicated by configuration file. The databases have exactly the same name. So, what am I doing wrong in trying to move this web site to a new box ? I must be missing something simple ? Any suggestions on where to start debugging this. I'm not seeing any useful errors in the apache log files. I'm running MySQL 4 on both boxes. Old box is Redhat 9 and new box is Fedora C 2 Thanks for your help, Ruben ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. <a class="moz-txt-link-abbreviated" href="http://www.intersystems.com/match8">www.intersystems.com/match8</a> _______________________________________________ Phpwebsite-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Php...@li...">Php...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers">https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers</a> ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. <a class="moz-txt-link-freetext" href="http://productguide.itmanagersjournal.com/">http://productguide.itmanagersjournal.com/</a> _______________________________________________ Phpwebsite-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Php...@li...">Php...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers">https://lists.sourceforge.net/lists/listinfo/phpwebsite-developers</a> </pre> </blockquote> <br> <br> <pre class="moz-signature" cols="72">-- Ruben Fagundo NPV Corporation Tel: 617-848-0890 x100 Fax: 617-249-1994 </pre> </body> </html> |