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

2259 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ! F* c' k. \0 @8 e4 @5 n3 `
5 j" R" c! g0 i

  1. 1 P$ |/ Q% Z$ ?# @8 B4 [. z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######/ K2 s% q# y! [
  3. , K9 D, m* Z+ i4 {" [6 J- P. O6 i
  4. ### What we need ###
    * z- b& E7 U/ z2 Z. M
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " ^. {% _" Q+ k: s+ O
  6. will not explain how this can be done - there are documents out there for the 7 q6 d7 T  O& q  t0 d6 n- i" M" O
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ) o% R3 b: D; h9 `
  8. and a user account (username + password) that has the permissions to do stuff
    4 _  A+ R& f5 A' Y
  9. with the database. Additionally, you will need a vendor library installed on the
    . T" I, I  r/ W  g# [; H$ I$ `. c
  10. local machine, this came with my MySQL install.+ K, o. P0 K+ `- ]
  11. These instructions will not tell you how you might transfer your data from the
    $ ~2 B* I6 Z5 ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 V6 n2 v1 j3 y% F3 Q: G7 f) N; i: g
  13. database.7 k3 U* `. C" G7 }3 O
  14. Some users have reported ways to import a SQLite database into MySQL, but at. R( X+ s3 T- C
  15. the time of writing, there are still too many issues - check the current status
    , Z8 v7 F3 M5 J' A4 j9 n/ T$ b
  16. in the TeamSpeak forums if you are interested.+ B0 v6 z9 J* n2 R1 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 v7 Z% I* f4 `* P, u
  18. Borland was used. This driver can only interface with the client library that : ?' J/ @& B5 W/ K: }3 R( d5 r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# M) B) O- ~, r
  20. client library - basically all you have to do is to use a 3.x client library as
    ! ?4 i+ A# U5 e( Q, X
  21. "VendorLib" and a 4.x database to connect to.' F' u  G7 [- y- x' ^& h
  22. If you need more info about dbExpress, you can contact Borland.# {# r) G, T5 L9 ]$ {0 f" p
  23. 9 n8 ?1 S; |0 U; Z9 ~* x$ z
  24. ### Doing the work ###2 V! B, Z0 @9 }  n2 R4 U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * g4 l% I( B1 M8 Y" i8 l
  26. the perquisites right, just open your server.ini file, and add this section at
    : w( P  c: t0 T! J7 Y+ O
  27. the end:# B7 G) S3 X  p( s6 D' g" E% Z4 Z. B: w
  28. ---cut here---* z7 N( F  i* k3 S4 r6 Q$ l
  29. [DBEXPRESS]
    ( y( s0 a: u4 V  v2 t
  30. sqldir=mysql_sql* i0 D8 H; W8 P. V
  31. Drivername=mysql
    ' [, j! n  _8 i9 Y6 G" n
  32. Database=Your_Database_Name_Here
    6 ~5 ]2 I& }) G
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 g. Q7 o" K8 K# _+ ]
  34. User_name=User_name_on_the_MySQL-Server
    & Y4 Z9 d7 o3 z1 E
  35. Password=Password_to_go_with_above_user_name
    ; M. V7 R# i/ ^0 e
  36. GetDriverFunc=getSQLDriverMYSQL
    3 c% y+ @5 o3 [* r
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # r. D9 M  \( ?- _) E7 i
  38. LibraryName=path_to_libsqlmy_libary
    ! W1 j* [/ E- f" t/ N* x6 l
  39. Active=1
    0 @3 ^+ j( e0 a. Z, F
  40. ---cut here---( N" ~4 ~! w7 ^, S
  41. In my environment (a linux box with a MySQL server running locally) I have:5 O9 F% u" m. b9 ?! Q
  42. ---example---
    ; E6 K" `9 i0 I$ {
  43. [DBEXPRESS]
    . \5 F3 d8 d# G) L9 M! ^# ]  d) D
  44. sqldir=mysql_sql! R# G! U( j2 z, G7 B
  45. Drivername=mysql* k4 }$ J+ U8 L7 J& b% F
  46. Database=test
    8 i3 A% K* V& s/ l- V  z
  47. Hostname=localhost
    7 s: s) x( o+ Q9 V3 t
  48. User_name=testuser
    - ~& M& O& [, |
  49. Password=my_password+ u: D+ w$ F/ x
  50. GetDriverFunc=getSQLDriverMYSQL/ I7 u' u3 `: B* p* m- O& p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + v& Z1 g0 ]0 M) t  I
  52. LibraryName=./libsqlmy.so) s  r# s! O1 l2 n/ m$ L/ |
  53. Active=1
    6 |' P) G' c& Q% m8 W: i
  54. ---example---& o" o4 A; w( P6 \) V
  55. + i% n3 d8 j. j0 T  T: ?
  56. On a windows box, also running the MySQL server locally, it would be:
    2 P" M5 B( w& ]" m
  57. ---example---
    ; l0 B7 s0 \7 a0 a6 c% d
  58. [DBEXPRESS], A, t, v& S$ t+ {$ A5 y
  59. sqldir=mysql_sql! k1 \5 x2 d5 E' b; H0 ]3 c
  60. Drivername=mysql" w  S, R8 A. M# d, C( w
  61. Database=test0 L+ \  E( D* P3 A' ^2 G7 U
  62. Hostname=127.0.0.1
    * J: b0 }% X6 n! ^: x/ Z
  63. User_name=testuser0 I; J' x9 \5 g0 k5 C9 `; D3 g
  64. Password=my_password
    2 p/ s" o4 |6 T
  65. GetDriverFunc=getSQLDriverMYSQL- }5 J( s: _$ Z3 W+ `
  66. VendorLib=libmysql.dll" o! G& q' l+ [( {+ x# ~1 x
  67. LibraryName=dbexpmysql.dll6 ]" F; r. ^! s9 R8 O7 [
  68. Active=19 v6 u. ]. Q( T- _
  69. ---example----$ \/ S/ F4 p( m  Z$ g6 e5 K3 {' k
  70. - written 02.03.04 by pwk.linuxfan
    3 T: B: L0 l7 \. U/ i* `3 n* \' h

  71. 7 @" J7 \& d4 w' B; n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 v7 u4 v6 {$ Z) M5 @" F  l
  1. . F+ ~( v9 Z# \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    , n' d+ O+ U/ ^4 ?8 \
  3. 4 O; I* H  c, P$ C7 M" R3 g! p; |
  4. # # #我们所需要# # # # {1 z" o' P6 A, p1 v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    2 w! t, s# M; J. h3 v% J
  6. 不会解释如何做到这一点-也有文件存在,为
      w; U- s8 k1 b" X; {/ c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . N& v% v% B5 a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( z3 |% r$ Y* a/ C- h% O4 T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 Q* V; b; E" Q5 _. N: ~
  10. 本地机器,这是我的MySQL安装。
    " V8 D9 e; a+ Z* O  `$ I8 s! }
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" s# N: C) ?' O2 |  Q" c, G( P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL * U, M1 @5 E: @6 ]
  13. 数据库。 6 i; \7 s# f+ y, i. {; G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ V6 t! q$ ]  {4 p; L% Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ' M. A+ Y" S' t) z+ F
  16. 在teamspeak论坛,如果你有兴趣。 . s# d( ]: M& N
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( c4 c% C$ P6 I0 Y3 _( v; D
  18. Borland公司使用。这个司机只能界面与客户端库7 q: s2 M1 c$ K& l: c$ Y
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这% Q" q. J0 H# K( Z" G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" J$ R1 x9 Y! t7 m2 b
  21. " vendorlib " ,并解数据库连接。
    : R7 f) {% R1 O( m6 S2 R; x
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( n/ Z% z, z$ N/ {

  23. 5 i. h; z& ^' x' P* ?' u% `% K
  24. # # #做好工作# # #
    , m2 a1 h' i+ n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , F$ p! m, F9 ?! S+ Q0 `0 g% `' u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ; U6 ^( U2 l5 {
  27. 结束: 7 W& \8 `( S) g1 l
  28. ---削减这里---
    - N' ~+ r- r" i8 k+ |
  29. [ dbexpress ]
    3 A8 n! c$ e6 F
  30. sqldir = mysql_sql
    % K0 _2 t% Z7 j7 L. y  K. `# g' S
  31. drivername = MySQL中
    4 h2 Y8 x9 i4 x3 T7 _
  32. 数据库= your_database_name_here 3 T# m. j: O+ {! z
  33. 主机= the_pc_the_mysql - server_is_on : n! U/ n2 u* Y) N2 O. M
  34. user_name = user_name_on_the_mysql服务器
    8 U9 J5 x3 l: [* \0 h  F4 i
  35. 密码= password_to_go_with_above_user_name
    0 o9 j5 l, s! U& d# @: n% `
  36. getdriverfunc = getsqldrivermysql ! J8 p: f- m& V+ H0 l: K: x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib & D: Z+ z$ o* i2 p( ?
  38. libraryname = path_to_libsqlmy_libary " R% i/ X3 n" K  y/ ]' l( i
  39. 积极= 1
    8 j" ^( }5 g9 t6 F# F6 i5 ~
  40. ---削减这里---
    1 b# s) _9 W- T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    # o- Q# N( u& I( m
  42. ---例如--- 9 g! F, u9 L! e& G+ y0 {
  43. [ dbexpress ] 7 T3 e, M1 u% `
  44. sqldir = mysql_sql ( ^& d3 i6 t' X. Z
  45. drivername = MySQL中
    ) ~. ]3 o; j% B: S4 d1 X
  46. 数据库=测试  K* d) l/ j+ o2 c& s$ ^' z. c5 w
  47. 主机=本地主机
    2 g3 A8 L# {3 W+ N0 l6 W  T
  48. user_name = testuser . @! B. n& H* A
  49. 密码= my_password
    : q# g$ t8 a" i6 \" q( l
  50. getdriverfunc = getsqldrivermysql
    6 a8 g, Q1 `' P
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) P; ^" p  o/ C6 L5 H* z/ Q
  52. libraryname =. / libsqlmy.so 8 V& M1 W' C1 Y+ b2 x2 s2 |7 a
  53. 积极= 1 0 d) K- ?8 g7 k
  54. ---例如---
    ) S6 y3 d9 K7 S7 O0 J
  55. - E* @9 U  @% f" A1 `
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & S5 _5 Q* \7 v) F$ C
  57. ---例如---
    2 y& G! \/ y" m7 G5 I
  58. [ dbexpress ] 4 `" j! |" ]9 F+ D! Q, D" r5 K
  59. sqldir = mysql_sql
    + _' p6 X! O0 M+ k+ V$ \: q" Y
  60. drivername = MySQL中
    3 b$ u; |2 [  S% l8 e
  61. 数据库=测试& J/ ^4 o+ g. q7 M
  62. 主机= 127.0.0.1
    ! c& G, a1 a/ F6 Y8 @$ L
  63. user_name = testuser
    ; o0 s9 f- x5 [1 h3 \' J+ o- R
  64. 密码= my_password
    0 t( H8 A4 P& d0 h3 X
  65. getdriverfunc = getsqldrivermysql
    ) b/ R# t7 N+ |
  66. vendorlib = libmysql.dll在9 n  d+ |( e  g: m; j0 j, _
  67. libraryname = dbexpmysql.dll 2 D0 i0 Z9 }1 l5 ~! c+ `+ }
  68. 积极= 1 , i0 k9 Z  V8 B6 r
  69. ---例如----
    $ Z3 a- r  M$ R" `
  70. -写在0 2.03.04由p wk.linuxfan) x$ @, G# @. z' R4 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* L, }* H" j, X6 }- z. g% v5 M

. q" ]8 F2 {9 F( N' Ibut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-3 17:05 , Processed in 0.109046 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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