MYSQL server, wierd connection error!
Moderator: Forum Moderator
MYSQL server, wierd connection error!
I configured my mysql server and all that...but when i start my server...it says can't connect to the mysql server...access denied for amxx@localhost to database amx... but my data base in the config file is amxx...not amx...
--- Please enter the following information for support ---
War3ft Version: 3.0
Amxmodx Version: 1.8
Metamod Version: 1.19
--- Please enter the following information for support ---
War3ft Version: 3.0
Amxmodx Version: 1.8
Metamod Version: 1.19
It also says this in the console...
WARNING: UDP_OpenSocket: port: 27015 bind: WSAEADDRINUSE
NET Ports: server 27015, client 27005
Could not get TCP/IP address, TCP/IP disabled
Reason: WSAENOTS
and my meta list says...
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.8.0.3 ini Start ANY
[ 2] MySQL RUN - mysql_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 3] Fun RUN - fun_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 4] Engine RUN - engine_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 5] FakeMeta RUN - fakemeta_amxx.dl v1.8.0.3 pl1 ANY ANY
[ 6] CStrike RUN - cstrike_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 7] CSX RUN - csx_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 8] SQLite RUN - sqlite_amxx.dll v1.8.0.3 pl1 ANY ANY
weird cuz i t says mysql AND sqlite are running... but i disabled sqlite in the modules folder
AND on top of all that, my admin for the server isn't workin ever since i tried to install mysql. . .
WARNING: UDP_OpenSocket: port: 27015 bind: WSAEADDRINUSE
NET Ports: server 27015, client 27005
Could not get TCP/IP address, TCP/IP disabled
Reason: WSAENOTS
and my meta list says...
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.8.0.3 ini Start ANY
[ 2] MySQL RUN - mysql_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 3] Fun RUN - fun_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 4] Engine RUN - engine_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 5] FakeMeta RUN - fakemeta_amxx.dl v1.8.0.3 pl1 ANY ANY
[ 6] CStrike RUN - cstrike_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 7] CSX RUN - csx_amxx.dll v1.8.0.3 pl1 ANY ANY
[ 8] SQLite RUN - sqlite_amxx.dll v1.8.0.3 pl1 ANY ANY
weird cuz i t says mysql AND sqlite are running... but i disabled sqlite in the modules folder
AND on top of all that, my admin for the server isn't workin ever since i tried to install mysql. . .
-
- Rifleman
- Posts: 162
- Joined: Thu Dec 21, 2006 2:12 am
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
So ill have to reinstall all of the damn mods..and mysql...great.. lol, okay ill do thatYamiKaitou wrote:If the server is unable to get the IP address of itself, then it can't connect to anything and nobody can connect to it. I would suggest doing a fresh install of HLDS.
Oh, and wc3ft forces AMXx to load Fun, Engine, Fakemeta, Cstrike, MySQL, and SQLite
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
still saysYamiKaitou wrote:I said HLDS, not MySQL. You can backup all of your mods. I am just telling you to reinstall the base HLDS files
WARNING: UDP_OpenSocket: port: 27015 bind: WSAEADDRINUSE
NET Ports: server 27015, client 27005
Could not get TCP/IP address, TCP/IP disabled
Reason: WSAENOTSOCK
Connecting to 192.168.0.114:27015...
Connection accepted by 192.168.0.114:
I think i could fix that my forwarding my ports of my router though? so the main problem is ... why is my admin not working, and why are my War3ft races not showing up
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
Alright, very nice. SQlite also fixed the problems with the race...however..im still getting the error: WARNING: UDP_OpenSocket: port: 27015 bind: WSAEADDRINUSEYamiKaitou wrote:Try using the users.ini file for your admins and try using SQLite for your wc3ft xp. See if that helps any
NET Ports: server 27015, client 27005
Could not get TCP/IP address, TCP/IP disabled
Reason: WSAENOTS
But like i said, i think portforwarding will fix that... And the admin is also working now, Ill try to forward the ports and keep you informed. Thanks!
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
Okay now my console just saysYamiKaitou wrote:Switch the server port to 27016 instead
NET Ports: server 27015, client 27005
Server IP address 192.168.0.136:27015
Connecting to 192.168.0.136:27016...
Connection accepted by 192.168.0.136:27
Does that mean everyone can connect to my server now? All systems go?
-
- Peon
- Posts: 5
- Joined: Thu Sep 27, 2007 8:01 pm
Well what would a Public Address be? gimme some examples please.. And that IP is the static IP i configured through portforward.com.. So will i have to make a different static IP also?
Also, my server console says...
Adding master server 72.165.61.189:27010
Adding master server 72.165.61.190:27010
If it helps.
Also, my server console says...
Adding master server 72.165.61.189:27010
Adding master server 72.165.61.190:27010
If it helps.
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
The ip that you give to others is the ip that is displayed at http://whatismyip.com
No support via PM or Email
/sigh, when i put that ip in my network configs, then my internet doesn't workYamiKaitou wrote:The ip that you give to others is the ip that is displayed at http://whatismyip.com
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
The 65.255 IP is the IP you give to others, NOT THE IP OF YOUR SERVER. The IP of your server is the 192.168 IP. The 65.255 IP is the IP of your router. When a client connects to that IP, the router looks at the port the client is connecting to and then forwards the info to the computer that that port is forwarded to. So, you forward to the 192.168 IP and you give out the 65.255 IP.
No support via PM or Email
- YamiKaitou
- Forum Moderator
- Posts: 1925
- Joined: Wed Feb 01, 2006 4:33 pm
- Contact:
rofl i'm glad i just read this thread after yami like answered it
In Summary:
A router has (generally) ONE public address, this address can be viewed by connecting to the router's admin tool or by going to www.whatismyip.com (must visit site while connected to router). A router has many private addresses which it designates to computers that are connected to it (generally 192.168.x.x 10.0.x.x).
Bam done methinks
In Summary:
A router has (generally) ONE public address, this address can be viewed by connecting to the router's admin tool or by going to www.whatismyip.com (must visit site while connected to router). A router has many private addresses which it designates to computers that are connected to it (generally 192.168.x.x 10.0.x.x).
Bam done methinks
No Support via PM