dynamic site building on your pc? or on the server?
Moderator: General Moderators
dynamic site building on your pc? or on the server?
Do many of you work with your mysql databases and php straight off the server? Or do you usually work on your own computer to ensure your dynamic site runs smoothly and then upload it to your server?
I'm wondering what I should do as I am reasonably new to php/mysql. I do have apache/mysql/php installed and running ok.
I'm wondering what I should do as I am reasonably new to php/mysql. I do have apache/mysql/php installed and running ok.
feyd,
Is it fiddly to upload your site onto your web server? The reason I ask is that if I upload my mysql it will go into a /bin/lib/mysql folder on the web server...does that mean it is a good idea to set a path variable in my local database connection script and just change that when I upload to the web server?
Is it fiddly to upload your site onto your web server? The reason I ask is that if I upload my mysql it will go into a /bin/lib/mysql folder on the web server...does that mean it is a good idea to set a path variable in my local database connection script and just change that when I upload to the web server?
To give you an example:feyd wrote:you mean the mysql binaries, or the export of your database?
I will be working locally on my system creating a virtual site that uses a MySQL database. When it comes to uploading the site the mysql database will go into a different directory on the web server called usr/lib/mysql. That will be a different folder to what will be on my local site...or can I make it the same. Sorry, I am fairly new to php/mysql/apache so I am learning as I go.
I just thought that I will have a php script that connects to the database and it will need to know where it is located.
I think he actually wants to upload the mysql\data directory.
In which that is not such a bright idea, it can be done tho but as feyd already said ( kinda ) you should Import/Export the data from ure local computer to the server.
mysql-front , phpadmin and prolly some more can do that easely for you
In which that is not such a bright idea, it can be done tho but as feyd already said ( kinda ) you should Import/Export the data from ure local computer to the server.
mysql-front , phpadmin and prolly some more can do that easely for you