473,396 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

configuration of new database

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
Jul 14 '06 #1
1 1781
>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.
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
style.

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
Jul 15 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Famille Delorme | last post by:
Sorry if this discussion are already submited, but I don't find anything really interresting for me. And sorry for my bad english, it is not my native language. I wrote a program in Python for a...
2
by: Serge Calderara | last post by:
Dear all, I am building an application whcihc requires different set of parametes in order to work and get configured correctly. Those configuration parameters can be global to all modules of...
2
by: serge calderara | last post by:
Dear all, I have a windows application linked to a database. I was wondering about one point. Do I have to go for a configuration file anyway or can I store all my application in this...
1
by: serge calderara | last post by:
dear all, I have problem accessing section group in my configuration application file. I got an error saying thta I can have only one section ???? here is my application configuration looks...
2
by: Gary | last post by:
I am working with a report generator that is based on SQL Server 2000 and uses ASP as the UI. Basically we have a set of reports that end users can execute through a web browser. In general the...
3
by: GB | last post by:
Are all database configuration parameters included in the database backup or not ? If I restore the database from the backup are these restored also ? What is the best way to backup and restore...
0
by: phillip | last post by:
This is interesting, I have attached my web.config file and the exception I have been logging. I created a library which provide data access to a database and a control system. The library is...
4
by: Johnny Emde | last post by:
Hello Newsgroup I'm about going nuts!!! Sometime when I coding a asp.net (using C#) I'll get this wierd error. Configuration Error Description: An error occurred during the processing of a...
7
by: Ina Schmitz | last post by:
Hi NG, I wanted to reset the database (manager) configuration with RESET DATABASE CONFIGURATION and RESET DATABASE MANAGER CONFIGURATION After doing this, I rebooted server and client and...
7
by: Peter Bradley | last post by:
OK. A bit behind the times, I know; but we're just moving over to .NET 2.0. How on earth do you manage configuration settings in a class library in .NET 2.0? In version 1.1, we used a handy class...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.