•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 456,555 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,553 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 1374 | Replies: 6
![]() |
•
•
Join Date: Oct 2007
Location: Chicago, IL
Posts: 8
Reputation:
Rep Power: 0
Solved Threads: 0
I am developing a website where users can ad entries to a database. I am using phpMyAdmin to create the database. It works perfectly on my local testing environment, but when I upload it to my remote server it doesn't. I have used my hosting company's (GoDaddy) version of phpMyAdmin to create a database of the same name as on my local environment, still no luck. I have used GoDaddy's provided code to connect to the Database, I haven't gotten that to work either.
If anyone has experienced any difficulty in a similar situation I would really appreciate any advise that may help me with my problem. Thanks!
If anyone has experienced any difficulty in a similar situation I would really appreciate any advise that may help me with my problem. Thanks!
•
•
Join Date: Jun 2007
Location: Valley Center, Kansas
Posts: 643
Reputation:
Rep Power: 3
Solved Threads: 72
•
•
Join Date: Jun 2007
Location: Valley Center, Kansas
Posts: 643
Reputation:
Rep Power: 3
Solved Threads: 72
•
•
Join Date: Jun 2007
Location: Valley Center, Kansas
Posts: 643
Reputation:
Rep Power: 3
Solved Threads: 72
Instructions:
1. Login to Godaddy.com
2. Click 'My Account'
3. Towards the middle of the page there is a 'My Products' box and click 'Hosting Account List'
4. Next to your hosting account click 'open' to open the control panel
5. On the control panel you should see a database link, click it.
6. Click the mysql database icon
7. Next you will see a list of databases created by you. On the far right there is a 'Action' column. Find the pencil next to the database you want to connect to and click it.
8. In there you will find the host name. this is what you put in the host spot of mysql_connect statement.
9. Also there is your username at the bottom of the text. put that in your username spot. you should know your password.
1. Login to Godaddy.com
2. Click 'My Account'
3. Towards the middle of the page there is a 'My Products' box and click 'Hosting Account List'
4. Next to your hosting account click 'open' to open the control panel
5. On the control panel you should see a database link, click it.
6. Click the mysql database icon
7. Next you will see a list of databases created by you. On the far right there is a 'Action' column. Find the pencil next to the database you want to connect to and click it.
8. In there you will find the host name. this is what you put in the host spot of mysql_connect statement.
9. Also there is your username at the bottom of the text. put that in your username spot. you should know your password.
Last edited by kkeith29 : Oct 17th, 2007 at 8:01 pm.
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
ad advertising architecture backup beta blog business centro competition crash daniweb database dell development doubleclick enterprise environment gentoo google internet linux longhorn mail microsoft mmorpg news novell open php qmail red hat remote working rhel security server smtp software source spam suse web windows windows server
- Remote Desktop/Terminal Server - 'take over' session (Windows NT / 2000 / XP / 2003)
- What's better? Windows 2000 Server or Linux Server? (Windows Servers and IIS)
- "Forbidden / You don't have permission to access / on this server." error (Linux Servers and Apache)
- PHP, Dreamweaver and MySQL (PHP)
- connect one server from another server through script (PHP)
- Remote Database server error. (C#)
- Can't get samba to work! (*nix Software)
- another newbie with alot of redhat and apache server Q'S (Linux Servers and Apache)
- Colo Server Management & Data Centers (Networking Hardware Configuration)
Other Threads in the PHP Forum
- Previous Thread: Calculating age
- Next Thread: Populating an array with results from a mysql query...


Linear Mode