cactus Posted May 4, 2011 Share Posted May 4, 2011 Hi, I have created a php website with a database back end and need to put it on my section of my university's web server. I know where to put it and have had websites working on this before however I have never tried it with a database. I have exported my database into a .sql file in phpmyadmin and really don't know where to go from there. I tried just copying this file into the folder with the web code but it didn't work. I need to get it working on the university network but don't know how this is possible. Please can sombody help me? Hope to hear from someone soon Quote Link to comment https://forums.phpfreaks.com/topic/235543-connecting-mysql-database-to-another-server/ Share on other sites More sharing options...
fugix Posted May 4, 2011 Share Posted May 4, 2011 this link here explains how to do it through term...if this isnt what you are looking for let me know Quote Link to comment https://forums.phpfreaks.com/topic/235543-connecting-mysql-database-to-another-server/#findComment-1210606 Share on other sites More sharing options...
cactus Posted May 5, 2011 Author Share Posted May 5, 2011 I'm sorry I really don't understand that, I have tried the commands but they didn't work. Is there any way to do this without using the command prompt? Quote Link to comment https://forums.phpfreaks.com/topic/235543-connecting-mysql-database-to-another-server/#findComment-1210800 Share on other sites More sharing options...
fugix Posted May 5, 2011 Share Posted May 5, 2011 What os are you using? Quote Link to comment https://forums.phpfreaks.com/topic/235543-connecting-mysql-database-to-another-server/#findComment-1210822 Share on other sites More sharing options...
cactus Posted May 5, 2011 Author Share Posted May 5, 2011 i'm using windows 7 Quote Link to comment https://forums.phpfreaks.com/topic/235543-connecting-mysql-database-to-another-server/#findComment-1210833 Share on other sites More sharing options...
fugix Posted May 5, 2011 Share Posted May 5, 2011 ah thats why. those commands are meant for linux, i'll look intocfinding a solution to your problem Quote Link to comment https://forums.phpfreaks.com/topic/235543-connecting-mysql-database-to-another-server/#findComment-1210865 Share on other sites More sharing options...
mikosiko Posted May 5, 2011 Share Posted May 5, 2011 Hi, I have created a php website with a database back end and need to put it on my section of my university's web server. I know where to put it and have had websites working on this before however I have never tried it with a database. I have exported my database into a .sql file in phpmyadmin and really don't know where to go from there. I tried just copying this file into the folder with the web code but it didn't work. I need to get it working on the university network but don't know how this is possible. Please can sombody help me? Hope to hear from someone soon and are you sure that your university web server have MYSQL available for you and that you are allowed to create a DB on it?... you best bet is contact your university IT dept. Quote Link to comment https://forums.phpfreaks.com/topic/235543-connecting-mysql-database-to-another-server/#findComment-1210911 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.