Hi,
I've been messing with this all day and sending some emails forward to my webhost but sadly they were unable to solve my problem.
First of all what I'm trying to do is:
Setup sourcemod SQL, I want to start using sql for my server (sql bans etc) so I figured starting of with getting the default system to work. Sql admins seems like a good thing to do, to make sure it works.
Now the problem is that I'm unable to connect to the database in anyway through sourcemod. When I try the sm_create_adm_tables command it simply gives me:
Code:
sql-admin-manager.smx] Could not connect to database: [2005]: Unknown MySQL server host 'remote-mysql3.servage.net' (1)
The SQL database I'm using is a MySQL 5.0 remote database that my webhost offers for remote purposes. I figured it was probably the fault of my webhost that it wasn't working but they didn't seem to found anything fishy or anything that would solve the problem.
So here I am.
What I've tried so far is:
Latest metamod build 1.4.3
Latest sourcemod build 1946
Another remote database ( same host )
Sourcemod itself is working fine I've been using it for a while now.
Also the database seems to work fine when I use a website and change the db to the remote one. This is on the same host though.
I'm not sure if I have to open any "special" ports for it to work or if they need to allow my IP address which I doubt is needed for the remote databases they use as they tell you its less secure.
Quote:
Warning - please note:
This database is hosted on a remotely accessible server as requested. In rare cases remote accessibility is required by your applications - there are however some major disadvantages:
* Slower.
* Less stability.
* Less security.
If you applications does not explicitly require remote access we strongly recommend using one of our normal MySQL servers which are hosted on a secure network.
|
My databases.cfg looks like this:
Code:
"Databases"
{
"driver_default" "mysql"
"default"
{
"driver" "default"
"host" "remote-mysql3.servage.net"
"database" "sourcemodicecave"
"user" "sourcemodicecave"
"pass" "****"
"port" "3306"
}
"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
}
Furthermore the server is running on Linux Suse.
Any help would be greatly appreciated. Thanks in advance.
Greetings,
NedStar
__________________