Not sure about connecting to database?

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
coty9090
A regular
A regular
Posts: 39
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Wed Feb 15, 2012 4:05 pm

Not sure about connecting to database?

Post by coty9090 »

I have a mod on my server that uses a MySQL database, i setup the database, but i'm not sure what i should put as "Host", "User", and "Pass" for my databases.cfg on my CS:S server.
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Not sure about connecting to database?

Post by kraze »

That information is listed on the "databases" tab in your control panel.
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
coty9090
A regular
A regular
Posts: 39
Joined: Wed Feb 15, 2012 4:05 pm

Re: Not sure about connecting to database?

Post by coty9090 »

well i'm messing up on part of the database config, i keep getting this error: Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
User avatar
Edge100x
Founder
Founder
Posts: 13121
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Not sure about connecting to database?

Post by Edge100x »

Does it provide a more comprehensive error anywhere?

For the hostname, are you certain that you're using the DNS of your website and not "localhost"?
Post Reply