Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
rogersimenson
7,932 PointsI Page and MySQL
I have been taking the php course. The course was going great till I tried to upload my code onto ipage and boom it didn't work! I am having problems connecting to the database from php to the ipage server! Please tell me how or give me another server to connect to!
2 Answers
mbukhonko
3,988 PointsDid you copy your local database over to the web host's server? Did you set up a user to log in with in phpmyadmin? Have you tried to manually connect to the DB using MySQL Workbench as the videos suggest?
Can you, perhaps, be more specific?
mbukhonko
3,988 PointsThen make a user for that database (in phpmyadmin) and check the 'MySQL Server' or similar link in your cPanel or other navigation for the proper way to connect to the DB server. Use that, make sure you're using the right address, port, username, and password. Or, follow this video for trying to establish a connection:
rogersimenson
7,932 Pointsrogersimenson
7,932 PointsI made the data base using phpmyadmin, second I could not connect using the workbench