Results 1 to 10 of 10
Thread: Remote MySQL Connection
Hybrid View
-
02-01-2010, 07:27 #1
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Wangaratta
- Posts
- 8
[Solved] Remote MySQL Connection
Hi All,
Love TS3 BETA
I am trying to move my TS server from sqllite to mysql.
I have used TS3 to create the tables and fields into a localhost mysql DB called "test" and runs fine as "localhost", "root", "NOPASSWORD"
But any other changes other then the abouve that I am using will not work.
I tried creating the following file....t3db_mysql.ini
I assume Teamspeak3 automaticly runs the file t3db_mysql.ini as it is not defined in the ts3server.ini file or at command line.Code:[config] host=localhost port=9988 username=qwerty password=qwerty database=testing123 socket= >BlankLine<
I am sure I am missing something very simple.
Any help would be great help.
NathLast edited by ADF-Sniper; 03-01-2010 at 03:47.
-
02-01-2010, 08:06 #2
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- New Jersey USA
- Posts
- 68
Your using the wrong port, Heres the config.
Did you make a server .ini also?Code:[config] host=localhost port=3306 username=root password= database=test socket=
name = ts3server.ini
I hope this helps! .Code:machine_id= default_voice_port=9987 voice_ip=your ip filetransfer_ip=your ip query_ip=your ip filetransfer_port=30033 query_port=10011 licensepath= dbplugin=ts3db_mysql dbpluginparameter=/path/to/your/teamspeak3-server/ts3db_mysql.ini dbsqlpath=sql/ dbsqlcreatepath=create_mysql/ logpath=logs logquerycommands=1
-
02-01-2010, 08:59 #3
-= TeamSpeak Fanatic =-
- Join Date
- Dec 2004
- Location
- RF
- Posts
- 1,693
You do not need to create ini for server.
First, fix your
t3db_mysql.ini
then... just launch server withCode:[config] host=localhost username=qwerty password=qwerty database=testing123
dbplugin=ts3db_mysql
and enjoy your MySQL based toy.
(Just curious, why every monkey tell people to do random things they don't need to do?)
-
02-01-2010, 09:31 #4
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Wangaratta
- Posts
- 8
lol.....
Thank for the replys anyway.... I still cant find the solution, I can put dummy SQL details in the config file and still will not even give me a error creating or log into SQL.
Here is what I do....
I have a Dedicated server with all ports open and dedicated IP's.
I have a clean install of the server files.
I have my licensekey.dat in the main directory.
I have created the file "ts3server.ini"
I have created the file "t3db_mysql.ini"Code:machine_id= default_voice_port=9988 voice_ip=118.127.10.168 filetransfer_ip=118.127.10.168 query_ip=118.127.10.168 filetransfer_port=30033 query_port=10011 licensepath= dbplugin=ts3db_mysql dbpluginparameter=ts3db_mysql.ini dbsqlpath=sql/ dbsqlcreatepath=create_mysql/ logpath=logs logquerycommands=1
I have a aaa.bat file with the shell command...Code:[config] host=localhost port=What ever port username=aaaaaaaa password=aaaaaaaa database=aaaaaaaa socket=
Still it persists to use the local DB "test" , "root" , "NoPassword" even when dummy details have been given.Code:ts3server_win32.exe inifile=ts3server dbplugin=ts3db_mysql
I am not sure if t3db_mysql.ini is being called properly.
Nath
EDIT: I am currently running a server on port 9987.... hmmmm
-
02-01-2010, 15:16 #5
-= TeamSpeak Lover =-
- Join Date
- Dec 2009
- Location
- New Jersey USA
- Posts
- 68
Change the default port in the .ini back to 9987, You can change the port later.
Make sure the dbpluginparameter=ts3db_mysql.ini is correct. Example: dbpluginparameter=/where/ever/teamspeak3-server_win32/ts3db_mysql.ini
aaa.bat file should look like this:
ts3server_win32.exe dbplugin=ts3db_mysql dbsqlcreatepath=create_mysql/ Do not include "inifile=ts3server"
Give that a try, But what do I know . . . I'm just a monkey!
-
02-01-2010, 15:31 #6
-= TeamSpeak Fanatic =-
- Join Date
- Dec 2004
- Location
- RF
- Posts
- 1,693
Do you ever read what people write?
Delete ts3server.ini
Make t3db_mysql.ini as I said.
Rule of dumb: give only required information to a program. And never ever give empty parameters, unless you sure know they are required to be there and empty.
-
02-01-2010, 23:01 #7
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- Wangaratta
- Posts
- 8
I have spent a fair few hours on this and still no go. TS3 still wants to point to its default SQL details.
I doubt that its anything to do with the ini files.
Do we know that remote SQL connections acully work or even a localhost connection with different login, DB, and password?
I would put it down to this line not working.
dbpluginparameter=ts3db_mysql.ini
Nath
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Connection Timed Out
By Optiks in forum [TeamSpeak 2] Server SupportReplies: 3Last Post: 20-01-2009, 12:17 -
please help someone
By theundead67 in forum [TeamSpeak 2] Server SupportReplies: 59Last Post: 31-03-2007, 04:53 -
Using a Remote mysql server
By Sp00fer in forum [TeamSpeak 2] Server SupportReplies: 7Last Post: 25-01-2007, 11:43 -
Windows TS2 Server to Remote MySQL Server?
By xCav8r in forum [TeamSpeak 2] Server SupportReplies: 4Last Post: 19-02-2005, 15:57 -
Mysql Oddity question regarding remote DB
By RikardF in forum [TeamSpeak 2] Server SupportReplies: 4Last Post: 02-06-2004, 12:15


Reply With Quote