Results 1 to 15 of 19
-
29-12-2009, 21:23 #1
-= TeamSpeak User =-
- Join Date
- Dec 2004
- Location
- Germany
- Posts
- 15
Can not start MySQL version. (Unknown database 'test')
ts3server.ini
ts3db_mysql.inimachine_id=xxx.xxx.xxx.xxx
default_voice_port=9987
voice_ip=0.0.0.0
licensepath=
filetransfer_port=30033
filetransfer_ip=0.0.0.0
query_port=10011
query_ip=0.0.0.0
dbplugin=ts3db_mysql
dbpluginparameter=ts3db_mysql.ini
dbsqlpath=sql/
dbsqlcreatepath=create_mysql/
logpath=logs
logquerycommands=0
#~: ./ts3server_linux_amd64 inifile=ts3server.ini[config]
host=localhost
port=3306
username=teamspeak
password=XXXXXXXXXX
database=teamspeak3
socket=
2009-12-29 21:19:42.101322|INFO |ServerLibPriv | | Server Version: 3.0.0-beta11 [Build: 9559]
2009-12-29 21:19:42.107604|INFO |DatabaseQuery | | dbPlugin name: MySQL plugin, (c)TeamSpeak Systems GmbH
2009-12-29 21:19:42.107848|INFO |DatabaseQuery | | dbPlugin version: 1
2009-12-29 21:19:42.116737|ERROR |DatabaseQuery | | mysql_real_connect() failed with error: Unknown database 'test'
Segmentation fault
what is wrong :/
-
29-12-2009, 21:29 #2
-= TeamSpeak User =-
- Join Date
- Mar 2009
- Location
- USA
- Posts
- 23
did you remember to add an extra empty line at the end of both configuration files?
-
29-12-2009, 21:33 #3
-= TeamSpeak User =-
- Join Date
- Dec 2004
- Location
- Germany
- Posts
- 15
ok i forget
thx
-
29-12-2009, 21:39 #4
-= TeamSpeak User =-
- Join Date
- Dec 2009
- Location
- BRASIL
- Posts
- 4
ts3db_mysql.ini
[config]
host=localhost
port=3306
username=teamspeak
password=XXXXXXXXXX
database=teamspeak3
***space white***
ts3server.ini
machine_id=xxx.xxx.xxx.xxx
default_voice_port=9987
voice_ip=0.0.0.0 =IP SERVER
licensepath=
filetransfer_port=30033
filetransfer_ip=0.0.0.0 =IP SERVER
query_port=10011
query_ip=0.0.0.0 =IP SERVER
dbplugin=ts3db_mysql
dbpluginparameter=ts3db_mysql.ini
dbsqlpath=sql/
dbsqlcreatepath=create_mysql/
logpath=logs
logquerycommands=0
Edit by mod
Please don't use this outdated script anymore! The script got an overhaul long time ago.
Please use the minimal or startscript instead
nohup ./ts3server_linux_x86 inifile=ts3server.ini dbplugin=ts3db_mysql dbsqlcreatepath=create_mysql/ &
24/7
SoonLast edited by florian_fr40; 09-11-2011 at 16:14.
-
04-04-2012, 22:35 #5
-= TeamSpeak User =-
- Join Date
- Aug 2011
- Posts
- 11
Hello, I have the same problem but in Windows (dont wanna to create similar theme there)
So, I use such command line (after cd C:\ts3server):
logs:ts3server_win64.exe inifile=ts3server.ini
ts3server.ini2012-04-04 21:09:33.197429|INFO |ServerLibPriv | | TeamSpeak 3 Server 3.0.3 (2012-03-17 06:12:11)
2012-04-04 21:09:33.198429|INFO |DatabaseQuery | | dbPlugin name: MySQL plugin, (c)TeamSpeak Systems GmbH
2012-04-04 21:09:33.198429|INFO |DatabaseQuery | | dbPlugin version: 1
2012-04-04 21:09:33.203429|ERROR |DatabaseQuery | | mysql_real_connect() failed with error: Unknown database 'test'
2012-04-04 21:09:33.203429|CRITICAL|ServerLibPriv | | Server() DatabaseError
ts3db_mysql.inimachine_id=
default_voice_port=9987
voice_ip=0.0.0.0
licensepath=
filetransfer_port=30033
filetransfer_ip=0.0.0.0
query_port=10011
query_ip=0.0.0.0
query_ip_whitelist=query_ip_whitelist.txt
query_ip_blacklist=query_ip_blacklist.txt
dbplugin=ts3db_mysql
dbpluginparameter=ts3db_mysql.ini
dbsqlpath=sql/
dbsqlcreatepath=create_mysql/
dbconnections=10
logpath=logs
logquerycommands=0
dbclientkeepdays=30
logappend=0
<empty line>
What's wrong?[config]
host=localhost
port=3306
username=root
password=
database=teampseak
socket=
<empty line>
-
04-04-2012, 23:55 #6
Hey,
There is a typo in your ts3db_mysql.ini, maybe thats the fail, if your database is called teamspeak and not teampseak.
Kind regards[config]
host=localhost
port=3306
username=root
password=
database=teampseak
socket=
<empty line>
Last edited by Maxe___; 05-04-2012 at 09:37.
-
05-04-2012, 11:44 #7
-= TeamSpeak User =-
- Join Date
- Aug 2011
- Posts
- 11
No, it's specially)) MySQL plugin just doesn't use my config file, that's why all settings are default.
Should I create the same theme in Windows section to get some help?Last edited by florian_fr40; 11-04-2012 at 09:02.
-
10-04-2012, 19:52 #8
If you search around the forums you should be able to find your solution. It has been answered recently.
-
10-04-2012, 21:53 #9
-= TeamSpeak User =-
- Join Date
- Aug 2011
- Posts
- 11
I was searching for my solution before posting my first message here. And I still don't know what's wrong with it. Please, if you know the solution give me a link or an advice.
-
11-04-2012, 09:16 #10
-= TeamSpeak Guru =-
- Join Date
- May 2010
- Posts
- 6,372
Hello
The server try to point on a test database if there is no valide ts3db_mysql.ini
But before all, instead use the root user (without password, etc), create a new database on your mysql server (like e.g. ts3BDD with password and why no the same user)
Now check if your ts3db_mysql.ini file has a good name (I guess you have a windows seven or greater system). Check if the extension is .ini and NOT .ini.ini
After that write this :
Now re tryCode:[CONFIG] host=localhost port=3306 username=ts3BDD password=<password> database=ts3BDD socket=
Last edited by florian_fr40; 11-04-2012 at 10:52.
-
11-04-2012, 10:47 #11
-= TeamSpeak User =-
- Join Date
- Aug 2011
- Posts
- 11
Hi again.
My new "ts3db_mysql.ini" NOT "ts3db_mysql.ini.ini", "ts3db_mysql.ini.txt" or something like that.
with empty line at the end (and without empty line it doesn't work anyway).[CONFIG]
host=localhost
port=3306
username=qwester
password=parol
database=qwester
socket=
And my logs:
As you see it still doesn't work.2012-04-11 09:32:46.567839|INFO |ServerLibPriv | | TeamSpeak 3 Server 3.0.3 (2012-03-17 06:12:11)
2012-04-11 09:32:46.567839|INFO |DatabaseQuery | | dbPlugin name: MySQL plugin, (c)TeamSpeak Systems GmbH
2012-04-11 09:32:46.567839|INFO |DatabaseQuery | | dbPlugin version: 1
2012-04-11 09:32:46.567839|ERROR |DatabaseQuery | | mysql_real_connect() failed with error: Unknown database 'test'
2012-04-11 09:32:46.567839|CRITICAL|ServerLibPriv | | Server() DatabaseError
-
11-04-2012, 10:58 #12
-= TeamSpeak Guru =-
- Join Date
- May 2010
- Posts
- 6,372
Are you allow to connect to this database with a tool like HeidiSQL ?
Also could you try to start your server like that :
And little question, do you try to start your server as Admin (right on exe file > Run as Admin)Code:ts3server_win64.exe dbplugin=ts3db_mysql dbsqlpath=sql/ dbsqlcreatepath=create_mysql/
-
11-04-2012, 11:20 #13
-= TeamSpeak User =-
- Join Date
- Aug 2011
- Posts
- 11
I don't use HeidiSQL and also don't know what is it. I use webserver with Mysql database and I can to connect to the database over my php script or PHPMyAdmin using parameters from ts3db_mysql.ini file.
Trying to start teamspeak server using
gives the same result.Code:ts3server_win64.exe dbplugin=ts3db_mysql dbsqlpath=sql/ dbsqlcreatepath=create_mysql/
I have created a link to ts3server_win64.exe inside teamspeak server folder and tried to start it as Admin but I got the same result as before. Well, the plugin just doesn't use its config file and I don't know why. If you need I can upload my teamspeak server folder with all files (.exe, .ini, etc.).
-
11-04-2012, 13:29 #14
-= TeamSpeak Guru =-
- Join Date
- May 2010
- Posts
- 6,372
You talk about a webserver, do you mean a dedicated server (or vps) with a Teamspeak server and MySQL server ?
I suggest you to delete the ts3db_mysql.ini file and create a new one (just to avoid any broken file story)
-
11-04-2012, 13:30 #15
-= TeamSpeak User =-
- Join Date
- Aug 2011
- Posts
- 11
I have virtual webserver on my computer (localhost), OS Windows 7 64bit. Moreover Teamspeak server works fine if I create database named 'test' (in this case plugin uses default settings (login: root, db: test, empty password)). As I said before I can to connect to my database on my PC, I have all permissions.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Teamspeak 3 with MySQL Database
By Tim_2010 in forum WindowsReplies: 8Last Post: 06-02-2011, 16:53 -
How do I set the MySQL database?
By Aeaus in forum [TeamSpeak 2] Server SupportReplies: 1Last Post: 05-05-2007, 13:02 -
Need help Mysql database
By om3ega in forum [TeamSpeak 2] Server SupportReplies: 3Last Post: 23-03-2004, 17:53 -
MySQL-database
By EdSchouten in forum [TeamSpeak 2] General QuestionsReplies: 39Last Post: 04-01-2004, 07:52


Reply With Quote
