Welcome Guest ( Log In | Register )



2 Pages V  < 1 2  
Closed TopicStart new topic
> Installing Mysql?, Im tring to install MySQL to my game made from MCcodes lite.
Rating 5 V
vujsa
post Jan 16 2008, 12:18 AM
Post #11


Absolute Newbie
Group Icon

Group: Admin
Posts: 888
Joined: 20-February 05
From: Indianapolis, Indiana, USA (Midwest)
Member No.: 2,714
myCENTs:35.43



QUOTE(bhupinder @ Jan 15 2008, 06:50 PM) *
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
Go to the top of the page
 
+Quote Post
bhupinder
post Jan 16 2008, 12:33 AM
Post #12


Member [ Level 1 ]
Group Icon

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
Go to the top of the page
 
+Quote Post
vujsa
post Jan 16 2008, 12:42 AM
Post #13


Absolute Newbie
Group Icon

Group: Admin
Posts: 888
Joined: 20-February 05
From: Indianapolis, Indiana, USA (Midwest)
Member No.: 2,714
myCENTs:35.43



QUOTE(bhupinder @ Jan 15 2008, 07:33 PM) *
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
Go to the top of the page
 
+Quote Post
bhupinder
post Jan 16 2008, 12:52 AM
Post #14


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 42
Joined: 5-January 08
Member No.: 27,390



what do you mean astahost sever?
Go to the top of the page
 
+Quote Post
vujsa
post Jan 16 2008, 01:17 AM
Post #15


Absolute Newbie
Group Icon

Group: Admin
Posts: 888
Joined: 20-February 05
From: Indianapolis, Indiana, USA (Midwest)
Member No.: 2,714
myCENTs:35.43



QUOTE(bhupinder @ Jan 15 2008, 07:52 PM) *
what do you mean astahost sever?

Well, you have a free web hosting account here at AstaHost, why not use that instead of your local system?

And answer my other questions.

vujsa
Go to the top of the page
 
+Quote Post
bhupinder
post Jan 16 2008, 01:21 AM
Post #16


Member [ Level 1 ]
Group Icon

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
Go to the top of the page
 
+Quote Post
Arbitrary
post Jan 27 2008, 06:24 AM
Post #17


Premium Member
Group Icon

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.
Go to the top of the page
 
+Quote Post
vujsa
post Jan 27 2008, 06:23 PM
Post #18


Absolute Newbie
Group Icon

Group: Admin
Posts: 888
Joined: 20-February 05
From: Indianapolis, Indiana, USA (Midwest)
Member No.: 2,714
myCENTs:35.43



Issue resolved. biggrin.gif

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
Go to the top of the page
 
+Quote Post

2 Pages V  < 1 2
Closed TopicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. MySQL - Trouble With Bulk Insert Statements(3)
  2. MySQL Realtime Replication(4)
  3. Recover Tables From A MySQL .frm File(8)
  4. Mirror My MySQL Database To Another Mysql Server(4)
  5. How To Connect MySQL With Flash?(8)
  6. MySQL Output Database Question(18)
  7. MySQL, Multiple Tables(24)
  8. Navcat For MySQL(9)
  9. Permission Problem With Mysql Database Creation(8)
  10. Oracle 10g Install Issues(27)
  11. Mysql And Php(15)
  12. Login System Using A Mysql Db(5)
  13. Oracle Vs. Mysql Vs. Postgresql(9)
  14. Subqueries In Mysql(1)
  15. Apache Php With Mysql On Windows [solved](9)
  1. Mysql - So Hard(14)
  2. Mysql Problem(1)
  3. Sun Bought Mysql(6)
  4. Mysql Backup With Another Address?(4)
  5. I Have An Error With My Mysql Connection(7)
  6. Mysql And User File_priv(0)
  7. Mysql Database Management(1)
  8. Mysql Database Entry By Excel Sheets(2)
  9. Mysql On Computer(9)
  10. Any Website Provide Free Host Mysql Host?(4)
  11. Mysql Multiple Tables(1)
  12. Mysql Overhead(3)
  13. Login System(6)


 



- Lo-Fi Version Time is now: 20th November 2008 - 04:43 PM