optron
Posts: 114
|
| Posted: 12/15/2008, 2:24 PM |
|
I need help to connect to MySQL database on GoDaddy server. I would be probably pretty easy if they would allow remote connections, but they don't. the only way is to build server side connection string and I'm stuck here. This is first time I work with PHP type application and not sure how to build it (even after looking on internet examples, they do not work for me).
Ia have server name (not IP), database name, table name, user and password, so it seems like I have all I need....
Arthur
PS>
Iw ould like to ask for advice how would one work with this type of apps, when there is no way to connect directly?
I know I would need to setup local MySQL SVR, but my question is: when the app is tested and ready for production, what's the best/easiest way to move APP and database structure to the production server ???
_________________
==============================
don't forget to check: www.youngliving.us
use: 739947 to register |
 |
 |
sosamv
Posts: 50
|
| Posted: 12/23/2008, 2:32 PM |
|
Uhm....why working with the production server?? if you're no ready yet, just grab an SQL dump file from production and install a copy on your computer, and in order to run de application on production, just set the database address to: "localhost" and that would do, was that your question?
|
 |
 |
optron
Posts: 114
|
| Posted: 01/05/2009, 3:53 PM |
|
I don't understand. You asking me to setup database for remote server as: localhost ? is that right ?
the reason for working on tremote server is that I have another felow working on it and it has to be shared somehow.
Arthur
_________________
==============================
don't forget to check: www.youngliving.us
use: 739947 to register |
 |
 |
damian
Posts: 838
|
| Posted: 01/05/2009, 8:13 PM |
|
it is localhost in relation to where the code is being executed...
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
|