Connecting to Database
Hi guys im working on a chat app, i watched the video got the source code and nothing worked lol.
Anyways after some time and code change i got it working mostly properly on xampp. The DB works as do the tables....i imported it to my web hosted server but can't connect no matter what i try... Whats need to go from xampp to my hosted phpmyadmin? Yes i left the root and no password as i didn't want to post my details, but i did change them. Code:
|
Sometimes web hosts have a different server than "localhost". Have you tried adjusting that? There really shouldn't be a difference between xampp and a web host except the server, database name, username and password and possibly the port but that would be unusual.
|
Got it working, the host had to change some settings, i had to change the server name (which wasn't listed in there list)
Yes i thought it was much the same but just couldn't work it out, thanks Scott now i can get on with some of the other problems i have with it lol. |
All times are GMT -5. The time now is 06:38 PM. |
Powered by vBulletin®