Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL on Website

Status
Not open for further replies.

mekohler

Technical User
May 4, 2007
64
CA
Could someone help me understand how Mysql works with regards to a website. From my my hosting company I am able to create a database, which I've populated with data and can access through the local host. I can then access the database via web pages I've created using php, using my testing server.
My question is, what is the next step to getting the site on the web, so that users are able to acceess the database and be able to use the forms I've created? Do I change the connection settings? I would like this indpendent of my computer and have the database reside on my host's server.
Thank you,
Michael Kohler
 
You would need to upload your database to the hosting server.

And then yes modify the connection parameters such as host, user and password to match those given to you by your host.

After that PHP should connect and run everything as you've established in your script.



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top