|
|
|
|
![]() ![]() |
Jan 16 2008, 12:18 AM
Post
#11
|
|
|
Absolute Newbie Group: Admin Posts: 888 Joined: 20-February 05 From: Indianapolis, Indiana, USA (Midwest) Member No.: 2,714 myCENTs:35.43 |
Im tring to connect my game with a mysql database....i used local host and i inserted all my data Database name Username password but i dont know what the hostname is.....can someone help me? and LOCALHOST WILL NOT WORK! I'm sorry to hear that you can't get your script to work but that isn't a reason to start a second topic about the same thing you already started a topic about and doesn't change the fact the the host name for the AstaHost server is "localhost"! Now, considering what you said before about other hosts that you have had also not working leads me to believe that the problem isn't the servers but rather the user! You ask a very cryptic question before referring to you local system and remote server as well as things you need that don't concern the problem such as CRON jobs etc and expect us to magically solve your problem. Now, please try to explain what it is that you are trying to do and we will attempt to help you! From what I've gathered, you want to run a script on your local system but use the AstaHost MySQL server which as I explained before isn't possible. The AstaHost MySQL server is not accessible from other IP addresses so if you try to use host: localhost from your local system, the script looks for a MySQL server on you local system which is what localhost means. localhost = this machine Now, if you have installed a script on the AstaHost server and still cannot get it to connect to the MySQL server, then we can probably help you. vujsa |
|
|
|
Jan 16 2008, 12:33 AM
Post
#12
|
|
|
Member [ Level 1 ] Group: Members Posts: 42 Joined: 5-January 08 Member No.: 27,390 |
Ok...when ever i insert mysql data into the installer and press go heres what comes up..
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'bhupinder_gl'@'localhost' (using password: YES) in C:\wamp\www\Gang City\installer.php on line 66 INSTALLATION ERROR: Access denied for user 'bhupinder_gl'@'localhost' (using password: YES) its MCcodes and they dont provide any support |
|
|
|
Jan 16 2008, 12:42 AM
Post
#13
|
|
|
Absolute Newbie Group: Admin Posts: 888 Joined: 20-February 05 From: Indianapolis, Indiana, USA (Midwest) Member No.: 2,714 myCENTs:35.43 |
Ok...when ever i insert mysql data into the installer and press go heres what comes up.. Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'bhupinder_gl'@'localhost' (using password: YES) in C:\wamp\www\Gang City\installer.php on line 66 INSTALLATION ERROR: Access denied for user 'bhupinder_gl'@'localhost' (using password: YES) its MCcodes and they dont provide any support What is the name of the database you created? Did you actually create the user "bhupinder_gl"? Did you give the user "bhupinder_gl" permissions on the database you created? Why aren't you just doing this all on the AstaHost server where I can give you step by step instructions for database setup? vujsa |
|
|
|
Jan 16 2008, 12:52 AM
Post
#14
|
|
|
Member [ Level 1 ] Group: Members Posts: 42 Joined: 5-January 08 Member No.: 27,390 |
what do you mean astahost sever?
|
|
|
|
Jan 16 2008, 01:17 AM
Post
#15
|
|
|
Absolute Newbie Group: Admin Posts: 888 Joined: 20-February 05 From: Indianapolis, Indiana, USA (Midwest) Member No.: 2,714 myCENTs:35.43 |
|
|
|
|
Jan 16 2008, 01:21 AM
Post
#16
|
|
|
Member [ Level 1 ] Group: Members Posts: 42 Joined: 5-January 08 Member No.: 27,390 |
i uploaded the files but when i go to my website the files dont come up
Well i dont know i cant access mysql.php file for soem reason i uploaded my files though it says set to permission 0777 and i did that but stilll could access it |
|
|
|
Jan 27 2008, 06:24 AM
Post
#17
|
|
|
Premium Member Group: [HOSTED] Posts: 377 Joined: 17-June 06 From: Adblock life Member No.: 13,992 |
Make sure that you've uploaded your files under the folder public_html and not in one of the other folders. In order for some scripts to run, you might need to set a folder to 777. Don't set your whole public_html folder to 777. And you might want to not just set the folder to 777, but set all files under that folder to 777 as well (I believe there's an option for recursively setting it to 777. Use that.)
And finally, make sure there's an index.html or index.php or index.htm, because this is what the server will default to when someone visits your site. If none of this works, you might want to pm someone and explain the situation because they'd probably need to know more information to help you out. |
|
|
|
Jan 27 2008, 06:23 PM
Post
#18
|
|
|
Absolute Newbie Group: Admin Posts: 888 Joined: 20-February 05 From: Indianapolis, Indiana, USA (Midwest) Member No.: 2,714 myCENTs:35.43 |
Issue resolved.
User had difficulty changing the file permissions. Once the CHMOD was completed, everything was fine. On a side note, the installation readme specified the CHMOD! Topic Closed! vujsa |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 20th November 2008 - 04:43 PM |