完美国际电信一霹雳区交流版 收藏本版 今日: 0 主题: 1794

3178 17

锡灵,你英文好,麻烦进来帮个忙--(或者谁的英文自己觉得不错的话也可以)

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 t9 b  C- ]( F: q7 ]$ k) H& ?6 v

& O  s3 I+ l$ e. ]9 |

  1. & W* t! H( ^8 P8 k6 W
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 c3 x4 a8 V) F% g- O! c
  3. 7 K9 Y: L/ q( r9 m( y8 \# j
  4. ### What we need ###
    : U, {5 Q0 ?1 U
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & h; m1 X+ Q! o+ n4 [
  6. will not explain how this can be done - there are documents out there for the
    : G! ~7 ~2 e  x6 @  a) ^- s3 D6 }( b
  7. interested. The requirements include a (empty) database for TeamSpeak to use/ N" K) A8 e, m; o9 ?5 T. [
  8. and a user account (username + password) that has the permissions to do stuff
    9 s8 [" ?6 V( b$ t5 Y
  9. with the database. Additionally, you will need a vendor library installed on the& w" F- W1 s1 [4 S' |1 S+ S
  10. local machine, this came with my MySQL install.' N8 h! h4 s. |5 |/ P
  11. These instructions will not tell you how you might transfer your data from the
    . y% ?* a- m  F: [$ V
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL: g+ I  P/ l# ?, w% s
  13. database.6 @7 \, ]+ r$ q! K1 O
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; |3 f5 Q& j4 \+ D
  15. the time of writing, there are still too many issues - check the current status/ A7 j5 e* t& J( o
  16. in the TeamSpeak forums if you are interested.
    * E# y& z# E% B* w4 ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    0 c% Y7 m2 C( C) e! T% D
  18. Borland was used. This driver can only interface with the client library that 6 `4 k6 V! z7 y# \# M
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) n& D! E# g0 t( a# N( G$ O' U& l
  20. client library - basically all you have to do is to use a 3.x client library as
    + F# U$ S, G- {# C% q. Q
  21. "VendorLib" and a 4.x database to connect to.5 M& h+ v: i6 t; t+ w% a
  22. If you need more info about dbExpress, you can contact Borland.1 d. m5 S) Z# `4 v9 \& t

  23.   R2 e( Z& s  _. v3 H
  24. ### Doing the work ###7 w! y; D9 D' c* m+ A
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' C6 I1 Z8 ^: i8 R2 A
  26. the perquisites right, just open your server.ini file, and add this section at5 @# t2 y+ G& t# f1 `' Q. q5 J
  27. the end:6 A' D  j% d, i) B$ C
  28. ---cut here---
    , v, p. q) B. H6 s- q7 k+ U* u5 E
  29. [DBEXPRESS]
    2 E& \2 z; b4 v' g8 M7 O& s: Q
  30. sqldir=mysql_sql
    1 D6 h. W" D0 s2 t# P  R
  31. Drivername=mysql6 h4 m6 z( {2 J' b7 V5 [
  32. Database=Your_Database_Name_Here( M: h8 _3 w* T- I7 k
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : ~3 k3 D/ l+ A: q; \* R
  34. User_name=User_name_on_the_MySQL-Server6 d6 g9 ^4 X2 n' c
  35. Password=Password_to_go_with_above_user_name
    $ E7 t) J- L1 ^
  36. GetDriverFunc=getSQLDriverMYSQL& Z1 o" V6 T- v; x8 O* W& S8 H3 b
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    + {6 t) u* p0 d: {
  38. LibraryName=path_to_libsqlmy_libary
    . B" \8 Q6 H' I# v, t+ e
  39. Active=1$ q# m0 P8 Y3 S4 `0 h
  40. ---cut here---
    6 a' \2 O# W# I/ }8 E% i7 \7 g' M1 t
  41. In my environment (a linux box with a MySQL server running locally) I have:6 {' `7 R2 s5 Z% I3 S
  42. ---example---
    6 A6 j( Y  E* b/ E% ^8 J7 S
  43. [DBEXPRESS]) C) F% O2 G2 [
  44. sqldir=mysql_sql
    # h5 ~! _, Q3 \) w5 p' q! g
  45. Drivername=mysql
    * b8 M4 ]' ?+ A! y0 n
  46. Database=test
    ( G5 z- E3 L/ r
  47. Hostname=localhost* k/ B  n2 N6 X. i! T
  48. User_name=testuser& P! F4 ]' y* p! n9 w
  49. Password=my_password
    9 m7 N9 G* ~  S6 O( {
  50. GetDriverFunc=getSQLDriverMYSQL
    7 W$ l: [# {9 u, ]5 c
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* W: M/ ?% _( g' Z  H
  52. LibraryName=./libsqlmy.so
    & y0 z- H, g4 w, O( o1 g
  53. Active=15 S% C  D0 @4 @
  54. ---example---/ o3 z7 p7 z$ L' l( ]

  55. - K4 W% h  k' U" i. H2 [6 M+ d8 ~' v9 U
  56. On a windows box, also running the MySQL server locally, it would be:
    3 B* q5 O" X& }3 s
  57. ---example---% [3 I6 m  E0 |; z
  58. [DBEXPRESS]& \2 E- ]0 D9 W* t
  59. sqldir=mysql_sql
    & n% z: n2 q- K5 G! X
  60. Drivername=mysql$ |" C9 m( T; t+ ~% s
  61. Database=test
    , E& a. `: S4 g
  62. Hostname=127.0.0.1* c: _; s" ], m4 P9 a. f7 f
  63. User_name=testuser; a4 b( u2 K' @
  64. Password=my_password3 H- Z$ G* y! X& }2 q
  65. GetDriverFunc=getSQLDriverMYSQL, T' x; Y" U$ x! b# T8 m5 C
  66. VendorLib=libmysql.dll! i0 r* \/ `2 a/ T0 \, f7 R7 G: S
  67. LibraryName=dbexpmysql.dll: B; P6 b8 i# F! o
  68. Active=1
    ; F6 w% |" j) A
  69. ---example----( A  w/ K4 Z9 W! m& `
  70. - written 02.03.04 by pwk.linuxfan5 A% G& ?  r) m; a

  71. . k3 t; o$ [: [2 A' y7 o
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ \; U; \+ l# Y$ ~/ k# i( u" J
  1. : Y: F! Q& a& g; W
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### / i- D2 T5 f' V+ e* ?

  3. / p# I: Q; Y& t5 w5 J" E* S
  4. # # #我们所需要# # # : ^7 R7 S( B3 K4 G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 H( s2 N! R) j3 w# Z
  6. 不会解释如何做到这一点-也有文件存在,为  G, S* m, J% \9 ^+ S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用$ M( E# q8 b( A: \$ B
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西! M; h% b% I0 ]9 d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * ~8 V* F( S. d+ ?
  10. 本地机器,这是我的MySQL安装。
    + o/ v2 R( E9 G. @- B$ P2 N6 G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) h+ B5 i+ q6 f/ U, H2 F! u. h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & v' Q; U' {" N1 C1 i. v
  13. 数据库。 ' n* @" j7 w% |% J8 r( S5 t' c
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在4 r$ ?, b: _8 _$ A
  15. 编写本报告的时候,仍然有太多的问题-检查现状" {4 t" a# a% L% E2 v9 k& e0 @
  16. 在teamspeak论坛,如果你有兴趣。
    + I; [2 |6 U/ [- Q  A9 P) M$ N) O
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机7 ^* t( ~. z# }6 M  R
  18. Borland公司使用。这个司机只能界面与客户端库* ], Z: W0 G) g5 b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    4 m) @. g+ w* c/ g6 m7 t. n0 ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为1 s$ C- B9 C% Z/ T) ^1 t
  21. " vendorlib " ,并解数据库连接。 . g5 P/ ?# M4 ~) L6 U% s5 L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ C5 m/ }. e) {' D& J; u; @
  23. 9 P7 F3 v8 M. y" e" @7 f
  24. # # #做好工作# # #
    ( q* o0 _% e5 D5 G/ m& K* w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. ?0 ^% |% A9 h  R$ _! T; u  k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ; R5 d6 l2 R5 R! f7 X" Y" V
  27. 结束: 5 a+ ?+ r3 N0 E% E# j! i2 H- r2 J; c7 m
  28. ---削减这里---
    6 G6 x  X9 v) }
  29. [ dbexpress ] ) \. N9 F' d& |+ ]+ ^
  30. sqldir = mysql_sql
    6 S) O' h9 l" _0 |4 W& T
  31. drivername = MySQL中
    , W2 j9 T) m) `+ \: ]
  32. 数据库= your_database_name_here + X, W$ H. d5 }- E0 c
  33. 主机= the_pc_the_mysql - server_is_on : C; B; d+ Y: T, N0 D; z
  34. user_name = user_name_on_the_mysql服务器" z9 D8 y- q0 q  R% A
  35. 密码= password_to_go_with_above_user_name
    . O: f& p1 R- g' _7 s% B% ~
  36. getdriverfunc = getsqldrivermysql & j* s2 r8 w- y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ! T" _$ t& o. ?3 H) C
  38. libraryname = path_to_libsqlmy_libary 0 Y5 Y2 O+ j! n
  39. 积极= 1 5 l6 n- L  U9 h) @+ N5 c. u; U
  40. ---削减这里---
    0 R( _* p8 U0 q2 B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * K% l; B4 f, h5 \+ R# s
  42. ---例如--- ! h/ D) J1 s- w# E
  43. [ dbexpress ] 1 T5 a, v% i9 C3 Z
  44. sqldir = mysql_sql ' c8 g# Q: R$ o( X, P
  45. drivername = MySQL中1 M/ A6 w1 d6 v
  46. 数据库=测试8 B+ U3 j/ i/ F8 J6 c+ v5 W" E
  47. 主机=本地主机
    2 d" o6 ]9 u0 }$ E/ l' u
  48. user_name = testuser 1 ]  I. u/ s: s) M8 B. v: r
  49. 密码= my_password 5 Q  g- {* a- X% ?- V3 t
  50. getdriverfunc = getsqldrivermysql
    3 N3 Y; ]; `& K% w: H$ v& \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    + L* ]7 o2 `$ R8 x) s, D1 K
  52. libraryname =. / libsqlmy.so
    + z  q1 C% E' u5 E6 f; \  s
  53. 积极= 1 1 P& k/ y) \& t: g0 W) |
  54. ---例如--- # f, [( h) Y/ H" S, {6 D; w
  55. : z( ^5 f" ?5 R7 ~+ @* l2 D/ w
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 G, u. }/ [! z8 L/ c
  57. ---例如--- % Z9 Z( p3 \; V5 \1 C9 V
  58. [ dbexpress ] 5 u5 \9 U  |  g5 D, Z
  59. sqldir = mysql_sql ) }: R: ^+ d6 \! K1 d; F9 I
  60. drivername = MySQL中( Q' |+ }  o" {1 P, V
  61. 数据库=测试
    . c) `, K* |' J" I- f
  62. 主机= 127.0.0.1
    ' D1 s1 c1 V/ T1 v
  63. user_name = testuser ; A/ p9 C- p# n, _6 V) P6 G% p
  64. 密码= my_password / K9 Q3 _1 O% {! L
  65. getdriverfunc = getsqldrivermysql 8 h* L. k% P8 x5 j  I
  66. vendorlib = libmysql.dll在8 u! |+ H. b+ W
  67. libraryname = dbexpmysql.dll , ?+ C6 N9 Y0 ^" s
  68. 积极= 1 1 }- V" Z, E! }3 B" o
  69. ---例如---- ! @* M0 @; n3 }* m" g* |
  70. -写在0 2.03.04由p wk.linuxfan
    ; k5 H( |5 h1 c* o7 v8 u
复制代码
发表于 2008-1-18 15:57:50 | 显示全部楼层
zhu48t zhu48t zhu48t 火星语言
发表于 2008-1-18 16:02:23 | 显示全部楼层
我现在正在我们自己的服务器上调试TS与论坛结合,这篇文章里的大概操作方法我是明白了,但是我怕翻译过来可能有点出入,所以还是要专业的英文水平高的人看看才行:xhan
发表于 2008-1-18 18:45:35 | 显示全部楼层
那你只有找哪个马来人了。。。
发表于 2008-1-20 18:35:58 | 显示全部楼层
zhu45t 俄有自知之明
发表于 2008-1-21 11:37:51 | 显示全部楼层
比 考4级还难懂!!
发表于 2008-1-21 13:54:07 | 显示全部楼层
怎么不问我呢 我晕
发表于 2008-1-21 14:15:44 | 显示全部楼层
sorry for the late, i think the best way is i go to TS and translate for you. coz now i cannot type chinese words
/ E/ u0 n9 r/ B! R. m' R! d3 |' c& h
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

傲天阁游戏公会
联系我们
咨询电话 : 020-88888888
事务 QQ : 85075421
电子邮箱 : admin@admin.com

小黑屋|手机版|Archiver|傲天阁游戏公会 ( 粤ICP备14058347号 )|免责声明

GMT+8, 2026-9-17 07:40 , Processed in 0.088579 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表