Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Old 01-22-2007, 06:11 AM Cannot connect
Average Talker

Posts: 15
Name: Mike
Trades: 0
Imcurrent making a new website using php. Im new at this. I have uploaded all my files,www.slimivoryonline.net/justbidit/install.php.. i go there to install the script but once i click process i get an error..

Can't connect to MySQL server on 'localhost'

Any help would be greatly appreciated...

Thanks in advance.
MikeCox is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-22-2007, 10:16 PM Re: Cannot connect
dosdawgs's Avatar
Average Talker

Posts: 28
Trades: 0
you need to have mysql access to that server where you are uploading your files. you will most likely need to create the database, create the username, grant permissions, via mysql. then run the auto installer file. let me know if this helps?
dosdawgs is offline
Reply With Quote
View Public Profile
 
Old 01-22-2007, 11:11 PM Re: Cannot connect
Average Talker

Posts: 15
Name: Mike
Trades: 0
I've done all that...created db,uploaded the sql file etc etc....do i have to have apache or somethinglike that? Im using godaddy for my hosting. it says not to use it as localhost but to change it to mysql..
MikeCox is offline
Reply With Quote
View Public Profile
 
Old 01-22-2007, 11:31 PM Re: Cannot connect
dosdawgs's Avatar
Average Talker

Posts: 28
Trades: 0
are you on a windows server or linux server with godaddy?
dosdawgs is offline
Reply With Quote
View Public Profile
 
Old 01-23-2007, 05:29 AM Re: Cannot connect
Average Talker

Posts: 15
Name: Mike
Trades: 0
windows
MikeCox is offline
Reply With Quote
View Public Profile
 
Old 01-23-2007, 07:04 PM Re: Cannot connect
Mattmaul1992's Avatar
Ultra Talker

Posts: 486
Name: Matt
Trades: -1
This is most likely because your database isn't installed on your actual server (AKA localhost). So on some server somewhere is your databases far away from the server you use for files, etc. What you need to do is find the host for your database.
Mattmaul1992 is offline
Reply With Quote
View Public Profile
 
Old 01-23-2007, 09:52 PM Re: Cannot connect
dosdawgs's Avatar
Average Talker

Posts: 28
Trades: 0
i am not real sure mike, but i think you are having problems because you are running a windows server......do you know that you have mysql on that windows server as part of your hosting? from what i understand, you are missing something from the config file, the address needs to be where the database is located, in the event it is located on another server within the network, then it is just doing a remote connection to mysql. godaddy needs to provide you with the connection string, most likely the ip address of the server where the database is located would do the trick. if you have in fact created the database on a mysql server, you should also know the location of that server. i sure wish i had more information for you regarding this problem. i know you can do something that can test your issues, you can set up an account on a free mysql server, use the connection string that is provided to you for that database that is created, then try to connect to the remote mysql server that way through your script.
dosdawgs is offline
Reply With Quote
View Public Profile
 
Old 01-23-2007, 10:43 PM Re: Cannot connect
Average Talker

Posts: 15
Name: Mike
Trades: 0
I messaged you on yahoo dosdog.....I have mysql on my server and phpmyadmin or whatever...
MikeCox is offline
Reply With Quote
View Public Profile
 
Old 01-24-2007, 10:00 AM Re: Cannot connect
Mattmaul1992's Avatar
Ultra Talker

Posts: 486
Name: Matt
Trades: -1
I'm not sure about GoDaddy, but with other hosts when you select what database to go into PHPMyAdmin with it shows you the 'Host Name' which is what you need.
Mattmaul1992 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Cannot connect
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31873 seconds with 12 queries