Results 1 to 10 of 10
Thread: Mysql problem
-
08-04-2012, 14:14 #1
-= TeamSpeak User =-
- Join Date
- Apr 2012
- Posts
- 5
Mysql problem
Hello,
i tried to use a mysql database for my teamspeak server (running on my local pc for testing, but not the mysql-server) and i got a probem:
Everytime i start my ts3 server, the log tells me:
my configuration files are:2012-04-08 12:57:32.667000|INFO |ServerLibPriv | | TeamSpeak 3 Server 3.0.3 (2012-03-17 06:12:11)
2012-04-08 12:57:32.668000|INFO |DatabaseQuery | | dbPlugin name: MySQL plugin, (c)TeamSpeak Systems GmbH
2012-04-08 12:57:32.668000|INFO |DatabaseQuery | | dbPlugin version: 1
2012-04-08 12:57:33.674000|ERROR |DatabaseQuery | | mysql_real_connect() failed with error: Can't connect to MySQL server on '127.0.0.1' (10061)
2012-04-08 12:57:33.674000|CRITICAL|ServerLibPriv | | Server() DatabaseError
ts3server.ini
anddbplugin=ts3db_mysql
dbpluginparameter=ts3db_mysql.ini
dbsqlcreatepath=create_mysql/
ts3db_mysql.ini
The config files are in the ts3 folderhost=a extern server
port=3306
username=xxx
password=xxx
database=xxx
socket=
Here my startup:
It only works when i start a local mysql server without a root passwordC:\Users\xxx\Desktop\teamspeak3-server_win64\ts3server_win64.exe inifile=ts3server.ini
I hope thats enough information.
Please dont complain about my english, im german and not very well in english
-
08-04-2012, 14:18 #2
It is trying to connect to a server at localhost which probably means one of two things.
- Something is incorrect in ts3db_mysql.ini
- ts3db_mysql.ini is in the wrong place and is not being read at all
-
08-04-2012, 14:20 #3
-= TeamSpeak User =-
- Join Date
- Apr 2012
- Posts
- 5
I thought the same thing an i tried many locations for the ts3db_mysql.ini nothing helped or put the absolut path to it, or take it in quotes. it never read the ts3db_mysql.ini
-
08-04-2012, 14:24 #4
Have you searched the forums for this issue? I would but I have to go somewhere. I think I remember seeing issues like this before. Post back if you find something useful.
-
08-04-2012, 14:30 #5
-= TeamSpeak User =-
- Join Date
- Apr 2012
- Posts
- 5
Thank you for your tips but i ve searched the last hour and found similar problems and no solution has worked.
Maybe its a bug ?
-
08-04-2012, 19:03 #6
Found a parameter in a sample ts3server.ini file that yours is missing
It may or may not help. Never actually done this before.Code:dbsqlpath=sql/
-
08-04-2012, 19:30 #7
-= TeamSpeak User =-
- Join Date
- Apr 2012
- Posts
- 5
Nope this doesn´t help

I think the problem is that the teamspeak server doesn´t load the mysql configuration file, because it want to connect to the standart ip ( 127.0.0.1 and not to the given ip)
-
08-04-2012, 19:39 #8
Try creating a shortcut then add this line after the path
example:Code:dbplugin=ts3db_mysql dbsqlpath=sql/ dbsqlcreatepath=create_mysql/
Solution originally provided here: http://forum.teamspeak.com/showthrea...erver-to-MySqlCode:C:\teamspeak3-server\ts3server.exe dbplugin=ts3db_mysql dbsqlpath=sql/ dbsqlcreatepath=create_mysql/
-
08-04-2012, 20:37 #9
-= TeamSpeak User =-
- Join Date
- Apr 2012
- Posts
- 5
Nope, it still not works
--- Merged ---
I ve found the problem.
The mysql config file has to begin with a "[config]"
thanks for helpingLast edited by florian_fr40; 09-04-2012 at 08:10.
-
08-04-2012, 23:47 #10
glad you found a solution!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Mysql Problem
By kanoso in forum ToolsReplies: 1Last Post: 07-02-2011, 09:44 -
MySQL Problem
By Trouco in forum [TeamSpeak 2] Server SupportReplies: 10Last Post: 03-12-2007, 21:52 -
Mysql problem
By gmt2001 in forum [TeamSpeak 2] Server SupportReplies: 6Last Post: 29-11-2006, 20:33 -
MySql Problem and Login failed problem
By kelepirci in forum [TeamSpeak 2] Server SupportReplies: 4Last Post: 21-10-2006, 07:52 -
MYSQL -Problem
By Komandar in forum [TeamSpeak 2] Server SupportReplies: 20Last Post: 18-08-2005, 20:44


Reply With Quote
