English   German
  #1  
Old 18-08-2005, 14:53
DOMINATION
Guest
 
Posts: n/a
Sticky How to Install TS & MySQL 4 Properly

I am making this thread because it took me forever to figure out how to make MySQL 4.0.25 work with TS. After searching the forums, I still really didn't come to an answer which suited my install. So this is a walkthrough for installing TS Server and MySQL 4.0.25 properly.

Install is on Windows Server 2003 (Will also work with 2000 and XP).

Files to Download:
-----------------------------------------------------------------
You need to download the Teamspeak Server:
ftp://ftp.freenet.de/pub/4players/te..._rc2_20201.exe

And

You need to Download MySQL 4.0.25:
http://www.completecreations.com/goteamspeak/mysql4.zip
-----------------------------------------------------------------

*******SKIP THIS IF YOU DOWNLOADED FILES ABOVE*******
If you downloaded the files above then ignore the following link.
If you need the proper mysql 3.x library dll (libmySQL.dll) ONLY click the link below:
http://www.completecreations.com/goteamspeak/lib.zip
************************************************

1. Install the Teamspeak Server

2. Run the server, this will create the server.ini file to be edited later

3. Close the server (Right click on icon in system tray)

4. Unzip and Install MySql 4.0.25 (Setup.exe)

5. Open Command Prompt (Start Menu ---> Run)
Type: cmd then press enter
Command Prompt will open....... Type the following in command prompt:
C:\mysql\bin\mysqld.exe --install (C:\mysql is the directory to mysql)
This installs MySql Server as a Windows Service
Close command Prompt

6. Open Control Panel ---> Administrative Tools ---> Services

7. Find the service named MySQL, Right Click it and click Start
Now Mysql is running

8. Open Command Prompt Again (Start --> Run --> cmd)

9. Type C:\mysql\bin\mysqladmin.exe -u root CREATE ts (C:\mysql is the directory to mysql)
This creates a database called ts
Type C:\mysql\bin\mysqladmin.exe -u root password new_password (C:\mysql is the directory to mysql)
This puts a password on your root account for MySQL.
Close Command Prompt
Your MySql Databse is setup and ready to go.

10. Open Teamspeak Directory
In the mysql4.zip file you downloaded there was a folder called:
MySQL 3.x Library dll
That folder contains a file in it called: libmySQL.dll
Take the file libmySQL.dll and move it to your teamspeak directory
This is the mysql 3.x Library you hear so much about.
(People who want just the library can download it from
http://www.completecreations.com/goteamspeak/lib.zip

11. Open the file server.ini in your teamspeak directory.
At the bottom you need to add the following:
Code:
[DBEXPRESS]
sqldir=mysql_sql\
Drivername=mysql
Database=ts
Hostname=127.0.0.1
User_name=root
Password=new_password
GetDriverFunc=getSQLDriverMYSQL
VendorLib=libmySQL.dll
LibraryName=dbexpmysql.dll
Active=1
12. Save The File and Close it

13. Open the folder sqlite_sql in the teamspeak directory and copy all
the files in it.

14. Open the folder mysql_sql in the teamspeak directory and paste all
the files in the folder. When it ask if you want to overwrite the existing
files, click no

15. Start the teamspeak server and enjoy.

16. If you are behind a firewall open the range of ports you will be using such as 8767 - last port you will be using.

17. If you are behind a router, make sure you forward the ports you will be using to the ip which you have the teamspeak server running under.
Example: Forward ports 8767-9000 to ip 192.168.15.3
*If you do not do this, nobody will be able to connect to your server.

18. To test your teamspeak server locally (same computer), instead of typing your IP address for the Server Address, type localhost:8767
Others can test off your IP as the server address but not you yourself.

Have any question then let me know, if this helped you, let me know also.

Last edited by DOMINATION; 25-08-2005 at 07:23.
Reply With Quote
  #2  
Old 22-08-2005, 13:57
DOMINATION
Guest
 
Posts: n/a
Admins

Will you all make this a pin or make it stay at the top? This is a very valuable post. Thanks
Reply With Quote
  #3  
Old 23-08-2005, 00:19
DOMINATION
Guest
 
Posts: n/a
Idea

If somebody could translate this to German such as an admin or something then we could post in the German Windows Server forum as well. If you could send me this in german then I can post it up there. Thanks.
Reply With Quote
  #4  
Old 24-08-2005, 09:37
muffin muffin is offline
-= TeamSpeak User =-
 
Join Date: Aug 2005
Location: around
Posts: 12
muffin is on a distinguished road
After carefully following the directions, I've noticed that the services won't start the MySQL however it is set to manual. Also, upon completing this tutorial, the TS server starts and closes immediately... any idea?


24-08-05 03:43:42,ALL,Info,server, Server init initialized
24-08-05 03:43:42,ALL,Info,server, Server version: 2.0.20.1 Win32
24-08-05 03:43:42,ERROR,All,SQL, Database initialization error: EDatabaseError.dbExpress Error: Invalid Username/Password
24-08-05 03:43:42,ERROR,All,SERVER, Start_Server: unable to open database
24-08-05 03:43:42,ERROR,All,GENERAL, critical error, shutdown initiated
Reply With Quote
  #5  
Old 24-08-2005, 10:06
DOMINATION
Guest
 
Posts: n/a
Quote:
Originally Posted by muffin
After carefully following the directions, I've noticed that the services won't start the MySQL however it is set to manual. Also, upon completing this tutorial, the TS server starts and closes immediately... any idea?


24-08-05 03:43:42,ALL,Info,server, Server init initialized
24-08-05 03:43:42,ALL,Info,server, Server version: 2.0.20.1 Win32
24-08-05 03:43:42,ERROR,All,SQL, Database initialization error: EDatabaseError.dbExpress Error: Invalid Username/Password
24-08-05 03:43:42,ERROR,All,SERVER, Start_Server: unable to open database
24-08-05 03:43:42,ERROR,All,GENERAL, critical error, shutdown initiated
The log shows that it did in fact find your database but the user/pass of the database was denied. Check and make sure you have these correct.
Reply With Quote
  #6  
Old 25-08-2005, 00:04
muffin muffin is offline
-= TeamSpeak User =-
 
Join Date: Aug 2005
Location: around
Posts: 12
muffin is on a distinguished road
Thanks for the reply.

Last problem: I found my ip and port to use. I see the server is up and running. I can't connect as it says theres no reply from the server.


Is this my firewall responding?

Last edited by muffin; 25-08-2005 at 00:55.
Reply With Quote
  #7  
Old 25-08-2005, 07:15
DOMINATION
Guest
 
Posts: n/a
If you are running the server off your own machine you must connect to it like this: localhost:8767 instead of your IP. Other people will be able to conect through your IP though. If you would like, give me the IP in a Private message and I will try to connect.
Reply With Quote
  #8  
Old 25-08-2005, 08:15
muffin muffin is offline
-= TeamSpeak User =-
 
Join Date: Aug 2005
Location: around
Posts: 12
muffin is on a distinguished road
Hmm, I am able to connect to my TS server however no1 else seems to be able to. I've added you to my msn contact list just waiting for you to accept me ^^


I'll send you a PM with my email so we can try to figure this out better =/
Reply With Quote
  #9  
Old 25-08-2005, 10:30
DOMINATION
Guest
 
Posts: n/a
I didnt receive your MSN request. I sent you a PM here in the forums
Reply With Quote
  #10  
Old 04-10-2005, 03:08
upload upload is offline
-= TeamSpeak User =-
 
Join Date: Oct 2005
Location: netherlands
Posts: 2
upload is on a distinguished road
Thumbs up works nice for me :D

it works for me but now i have a database without any user accounts(accept admin and superadmin), is there a way to get the sqlite DB file information into the mysql DB. so that all the user do not have to register again?
Reply With Quote
  #11  
Old 04-10-2005, 18:26
DOMINATION
Guest
 
Posts: n/a
Here you go

http://forum.teamspeak.com/showthr...t+sqlite+mysql
Reply With Quote
  #12  
Old 05-10-2005, 00:02
upload upload is offline
-= TeamSpeak User =-
 
Join Date: Oct 2005
Location: netherlands
Posts: 2
upload is on a distinguished road
works perfectly

Quote:
Originally Posted by DOMINATION
works perfectly, now i have a ohter question, i have 3 TS servers on 3 ip's. i would like to use 1 mysql database with the all information for the 3 server, i gues i have to change the sql files a bit to get it working does anybody has an idea?

i now that XCH uses something like this, they have multiple ts servers and you always login with ts2.xch.nl and username and password.
Reply With Quote
  #13  
Old 05-10-2005, 14:32
cRaZyByTe cRaZyByTe is offline
-= TeamSpeak User =-
 
Join Date: Aug 2005
Location: Germany
Posts: 7
cRaZyByTe is an unknown quantity at this point
Just change the table-names in the .sql files. I didn't tried this, but it should work.
Reply With Quote
  #14  
Old 20-10-2005, 00:53
Marik's Avatar
Marik Marik is offline
-= TeamSpeak Lover =-
 
Join Date: Jul 2005
Location: Michigan
Posts: 71
Marik is an unknown quantity at this point
what's MySQL?
Reply With Quote
  #15  
Old 31-10-2005, 01:28
DOMINATION
Guest
 
Posts: n/a
No way

Quote:
Originally Posted by Marik
what's MySQL?
You kidding? Hope so. If your not, its a db server which can handle more queries faster and can handle a much larger load than sqlite.

Enjoy.
Reply With Quote
Reply

Tags
mysql, sql


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install: MYSQL: Invalid Username/Password Lange [TeamSpeak 2] Server Support 4 19-10-2005 18:01
Another option for MySQL 4.1 Cwac [TeamSpeak 2] Server Support 5 04-10-2005 05:42
Windows TS2 Server to Remote MySQL Server? xCav8r [TeamSpeak 2] Server Support 4 19-02-2005 16:57
Found some problems (and fixed) with a TS2 and MySQL installation MaD-Ogre [TeamSpeak 2] Server Support 6 20-01-2005 23:21
browser install Im only getting 3 out of the 5 tables in mysql cactus5 [TeamSpeak 2] Addons & Scripts 0 01-12-2004 00:53


All times are GMT +1. The time now is 23:44.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Add to Bookmarks   |   Printview   |   Contact Us   |   Legal Notices



You Rated this Thread: