Raised This Month: $79 Target: $400
 19% 

Database mysql


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MasterWindowS
Junior Member
Join Date: May 2020
Location: Chile
Old 09-18-2020 , 04:00   Database mysql
Reply With Quote #1

hello good, I'm having a problem with my databases.cfg

I installed a plugin and it throws this error on the console, does anyone know how to solve it please help me?

Code:
L 09/18/2020 - 04:53:45: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2003]: Can't connect to MySQL server on 'localhost' (10061)
(WeaponStickers) Reconnecting...
Code:
L 09/18/2020 - 05:04:38: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2003]: Can't connect to MySQL server on 'localhost' (10061)
L 09/18/2020 - 05:04:43: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
Code:
"csgo_weaponstickers"
    {
        "driver"            "mysql"
        "host"                "localhost"
        "database"            "mydb"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        "port"                "3306"
    }
__________________
MasterWindowS

Last edited by DarkDeviL; 09-18-2020 at 07:04. Reason: Added extra information from cross-post/bump
MasterWindowS is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-18-2020 , 05:40   Re: Database mysql
Reply With Quote #2

plugin problems into plugin thread
Bacardi is online now
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 09-18-2020 , 06:57   Re: Database mysql
Reply With Quote #3

Quote:
Originally Posted by MasterWindowS View Post
hello good, I'm having a problem with my databases.cfg

I installed a plugin and it throws this error on the console, does anyone know how to solve it please help me?

Code:
L 09/18/2020 - 04:53:45: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2003]: Can't connect to MySQL server on 'localhost' (10061)
(WeaponStickers) Reconnecting...
do you host it on the same machine? try 127.0.0.1 and not localhost
freak.exe_uLow is offline
Teamkiller324
Member
Join Date: Feb 2014
Location: sverige, örebro
Old 09-19-2020 , 13:53   Re: Database mysql
Reply With Quote #4

isn't 127.0.0.1 and localhost the same?
__________________
My Plugins

Steam Profile
Working on a large compact plugin.
Teamkiller324 is offline
Send a message via Skype™ to Teamkiller324
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 09-19-2020 , 14:31   Re: Database mysql
Reply With Quote #5

Quote:
Originally Posted by Teamkiller324 View Post
isn't 127.0.0.1 and localhost the same?
Yes it is, but sometimes it does not accept the entry localhost and you are forced to enter the IP
freak.exe_uLow is offline
Hunter6272
Senior Member
Join Date: Jun 2015
Location: Don't know
Old 09-20-2020 , 03:46   Re: Database mysql
Reply With Quote #6

Quote:
Originally Posted by MasterWindowS View Post
hello good, I'm having a problem with my databases.cfg

I installed a plugin and it throws this error on the console, does anyone know how to solve it please help me?

Code:
L 09/18/2020 - 04:53:45: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2003]: Can't connect to MySQL server on 'localhost' (10061)
(WeaponStickers) Reconnecting...
Code:
L 09/18/2020 - 05:04:38: [csgo_weaponstickers.smx] (WeaponStickers) Connection to database failed: [2003]: Can't connect to MySQL server on 'localhost' (10061)
L 09/18/2020 - 05:04:43: [csgo_weaponstickers.smx] (WeaponStickers) Reconnecting...
Code:
"csgo_weaponstickers"
    {
        "driver"            "mysql"
        "host"                "localhost"
        "database"            "mydb"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        "port"                "3306"
    }
"user" "root" has no password? Set one and then try.
__________________
Patience is the key to success.
Hunter6272 is offline
MasterWindowS
Junior Member
Join Date: May 2020
Location: Chile
Old 09-23-2020 , 13:51   Re: Database mysql
Reply With Quote #7

Thanks for the help, it works already: D
__________________
MasterWindowS
MasterWindowS is offline
Reply


Thread Tools
Display Modes

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

Forum Jump


All times are GMT -4. The time now is 20:06.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode