/    Sign up×
Community /Pin to ProfileBookmark

Im having a problem installing a fairly easy script. I dont have any server side knowledge.

I host my websites with siteground have already asked them for help but they will charge $50 so rubber that when i have my good friends here that are always a great help. Its an easy

Its asking for :

Host
DB Name
DB Password
DB Username

I tried to set up a db with mysql then assign a username but it never worked.

Think it might be the host i was getting wrong or password.

Anyhelp is greatly appreciated.

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@blue-eye-labsJan 05.2008 — have you used "http://" for the host, because mysql_connect() can't work with that.
Copy linkTweet thisAlerts:
@johndoe190authorJan 05.2008 — Thanks for the tip mate, but nah havent used http:// . i was using my username for the hosting account but doesnt seem to want to connect.
Copy linkTweet thisAlerts:
@blue-eye-labsJan 05.2008 — what's this script you're installing?
Copy linkTweet thisAlerts:
@johndoe190authorJan 06.2008 — Its a fairly easy comment script mate where i can add a line of code to any page and users can submit their comments to the above picture of a flower.

Thanks for your help?
Copy linkTweet thisAlerts:
@scragarJan 06.2008 — you should get an error:

[b]Warning: mysql_connect() [function.mysql-connect]: Unknown MySQL server host[/b] <-- means that the host name is wrong.

[b]Warning: mysql_connect() [function.mysql-connect]: Access denied for user[/b] <-- is a username or password error.

the mysql_error:

[b]Unknown database[/b]

says that the database doesn't exist. Easy enough to spot the problems.
Copy linkTweet thisAlerts:
@johndoe190authorJan 09.2008 — Sorry for the delay of reply ive been ill.

Thanks for the info mate will go check what kind of error i get and report back
×

Success!

Help @johndoe190 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...