Raised This Month: $ Target: $400
 0% 

SQL HELP


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Top42
New Member
Join Date: Apr 2021
Old 04-08-2021 , 19:40   SQL HELP
Reply With Quote #1

Hey im trying to open up a new tf2 community and right now I'm trying to add the store plugin and I'm having major trouble, I'm completely new to all of this but I figured out the SQL database stuff but when I put it into my database.cfg it runs this back in the store logs
2021-04-09 00:21:48 [store/store-backend.smx] ERROR | Connection to SQL database has failed, Reason: [2003]: Can't connect to MySQL server on 'localhost' (10061)

I've tried to search it up and read up on SQL stuff but I cant wrap my head around it. I was wondering if I could get somebody to help me with this in like a discord call or something so I can explain fully or just discord DMS. I know this is a bit of a longshot but I'm stuck in a rut currently and trying to figure it out so some help would be greatly appreciated. My disc is Top#8779 if you want to get the full story.
Top42 is offline
oqyh
Senior Member
Join Date: May 2019
Location: United Arab Emirates
Old 04-08-2021 , 23:03   Re: SQL HELP
Reply With Quote #2

Quote:
Originally Posted by Top42 View Post
Hey im trying to open up a new tf2 community and right now I'm trying to add the store plugin and I'm having major trouble, I'm completely new to all of this but I figured out the SQL database stuff but when I put it into my database.cfg it runs this back in the store logs
2021-04-09 00:21:48 [store/store-backend.smx] ERROR | Connection to SQL database has failed, Reason: [2003]: Can't connect to MySQL server on 'localhost' (10061)

I've tried to search it up and read up on SQL stuff but I cant wrap my head around it. I was wondering if I could get somebody to help me with this in like a discord call or something so I can explain fully or just discord DMS. I know this is a bit of a longshot but I'm stuck in a rut currently and trying to figure it out so some help would be greatly appreciated. My disc is Top#8779 if you want to get the full story.
Try This

Go to
database.cfg

and change

Code:
		"host"				"localhost"


To




Code:
		"host"				"127.0.0.1"
__________________
.:[ >> My Plugins << ]:.

My discord : Gold KingZ#1337

Last edited by oqyh; 04-08-2021 at 23:04.
oqyh is offline
yuv41
Member
Join Date: Jan 2020
Old 04-09-2021 , 00:03   Re: SQL HELP
Reply With Quote #3

Quote:
Originally Posted by Top42 View Post
Hey im trying to open up a new tf2 community and right now I'm trying to add the store plugin and I'm having major trouble, I'm completely new to all of this but I figured out the SQL database stuff but when I put it into my database.cfg it runs this back in the store logs
2021-04-09 00:21:48 [store/store-backend.smx] ERROR | Connection to SQL database has failed, Reason: [2003]: Can't connect to MySQL server on 'localhost' (10061)

I've tried to search it up and read up on SQL stuff but I cant wrap my head around it. I was wondering if I could get somebody to help me with this in like a discord call or something so I can explain fully or just discord DMS. I know this is a bit of a longshot but I'm stuck in a rut currently and trying to figure it out so some help would be greatly appreciated. My disc is Top#8779 if you want to get the full story.
Well have you actually setup a MySQL Server for the plugin to use?

Last edited by yuv41; 04-09-2021 at 00:03.
yuv41 is offline
Top42
New Member
Join Date: Apr 2021
Old 04-09-2021 , 07:19   Re: SQL HELP
Reply With Quote #4

That first part changing the local host didn't work and yes I'm pretty sure i have since it says its running in phpadmin.
Top42 is offline
Top42
New Member
Join Date: Apr 2021
Old 04-09-2021 , 09:05   Re: SQL HELP
Reply With Quote #5

oqyh helped me with it it works very happy very good man tysm please come again ))))
Top42 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 10:45.


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