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

3350 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : P& n8 z5 k& G+ S1 t$ J
) K+ m1 h, t4 \1 V/ u7 t( z7 ]# I$ ]

  1. ( M9 O, `2 |0 v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 t: L4 E, |; j$ u' V5 v% q; D

  3. ! Q6 f, w$ D4 Z% o6 Q
  4. ### What we need ###
    - z) w3 t# S: G- P
  5. Naturally, we will need a MySQL server to store the data for us, this document & A6 Z0 m, }. {+ |( L
  6. will not explain how this can be done - there are documents out there for the
    0 A2 |1 [$ R1 `+ d9 z, I
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " V+ f7 G9 x. a/ I7 x8 \. Z" D
  8. and a user account (username + password) that has the permissions to do stuff
    2 e% {6 K" o  F# I( a3 Q( ]
  9. with the database. Additionally, you will need a vendor library installed on the: w* U  p( ]) a8 Y0 s2 \, M
  10. local machine, this came with my MySQL install.8 q! d& ]0 J! f4 r( B; ^
  11. These instructions will not tell you how you might transfer your data from the( ^2 J7 g9 n( W1 z5 b
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ ]: l9 L+ q" s8 @& W( U. V
  13. database.) q+ w1 E5 t# |4 }9 [8 o
  14. Some users have reported ways to import a SQLite database into MySQL, but at: O6 y& X( Z7 r
  15. the time of writing, there are still too many issues - check the current status
    / |6 U7 ~  {! e! G' W* W
  16. in the TeamSpeak forums if you are interested.$ S5 t! Z) T0 F7 t3 r9 [
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' X8 A+ [% O5 q9 [
  18. Borland was used. This driver can only interface with the client library that 8 o, `) j3 u: V  a$ o+ {0 B, v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" y8 C. ^3 C9 I$ _4 y5 Z9 f2 z3 k4 d
  20. client library - basically all you have to do is to use a 3.x client library as
    4 K- c9 A+ O; h" \$ G
  21. "VendorLib" and a 4.x database to connect to.$ p) G# |! |; l% O
  22. If you need more info about dbExpress, you can contact Borland.: d3 P/ P+ K& |$ M2 ^0 M

  23. " B& E3 q% O' \
  24. ### Doing the work ###
    0 y" r# d3 u$ q2 y* I: g9 d- w7 }
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    0 T! T) e1 n9 e  U/ S" a+ A
  26. the perquisites right, just open your server.ini file, and add this section at
    9 t; d: m0 l; L" G/ T
  27. the end:
    + N# h& m# Z8 o, u" X1 r7 m
  28. ---cut here---
    % Y- W0 Z6 S4 ]! c' o
  29. [DBEXPRESS]
    * ~7 {, l$ P; V: x( D( m
  30. sqldir=mysql_sql$ }2 C- g: P+ |$ z5 n# C
  31. Drivername=mysql
    ) x. _+ ]. o' n6 B: s, z
  32. Database=Your_Database_Name_Here
    . E6 V6 |0 Q5 ]% t
  33. Hostname=The_PC_the_MySQL-Server_is_on/ [! t$ [" `- n4 ~( E
  34. User_name=User_name_on_the_MySQL-Server
    8 h3 ?3 }9 U& }- S5 D9 n! }3 f
  35. Password=Password_to_go_with_above_user_name6 X2 `% u  F% h: R/ f- G
  36. GetDriverFunc=getSQLDriverMYSQL  r3 y( x+ Q& I) i! E
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ G0 Q/ x4 V8 V9 y$ V( w# ^
  38. LibraryName=path_to_libsqlmy_libary
    + d& Q. |. S; h+ ]+ k
  39. Active=13 z* h* Z- A+ {& |7 x0 }! T
  40. ---cut here---6 q! B* {* d) B/ }3 \. Z( _
  41. In my environment (a linux box with a MySQL server running locally) I have:( p) c) j. l6 \% d. m# Y" o7 p  S
  42. ---example---/ m2 e& a9 f* W* ^% @% }( g* g
  43. [DBEXPRESS]+ D$ u, C) `9 B0 D0 Z+ G  v% ?
  44. sqldir=mysql_sql
    3 P: u6 D& A+ ]) f6 m
  45. Drivername=mysql
    + s- t7 \8 t2 }3 [' Y
  46. Database=test+ V% q2 j4 `. T: @) B9 o
  47. Hostname=localhost2 i. p2 o/ D0 U, |, |' g7 i& V; A" ?, T
  48. User_name=testuser
    . e7 k5 j. r! i
  49. Password=my_password
    ' |% f: n' L. S9 C( J* j; v! F
  50. GetDriverFunc=getSQLDriverMYSQL2 e* ]% ]0 o+ h1 E: |& \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 c: W4 C8 e, D' m
  52. LibraryName=./libsqlmy.so
    . [: r' M. k/ e& e
  53. Active=1
    / S( H0 j6 @! e* \
  54. ---example---
    0 Z. V  C( G. V7 P' i3 }" G9 h0 k; K

  55. / w* t4 \  s* b, O; e
  56. On a windows box, also running the MySQL server locally, it would be:
    ( Y- `, ?( v6 A8 M4 l& L
  57. ---example---# D" X; w) d9 r7 V9 T& E1 z
  58. [DBEXPRESS]3 L6 w2 i( t; \9 A% k# d- Q" Q( P) d& j
  59. sqldir=mysql_sql
    6 f' g% ?$ C/ ]7 o: h& ?* K& R3 {
  60. Drivername=mysql1 z0 j6 F- C, V! `
  61. Database=test
    - V* f9 o! W  L9 \6 l: W
  62. Hostname=127.0.0.1
    # Y+ Z9 z2 @# i0 J; F' U
  63. User_name=testuser" ]8 i5 V$ J8 |/ @: Z, |
  64. Password=my_password9 v  S5 `# p* ~  [4 l) q% {4 e
  65. GetDriverFunc=getSQLDriverMYSQL( {0 y8 R9 q  g/ B- j3 H. f% h
  66. VendorLib=libmysql.dll  L; R8 |! Z4 @7 x% C, O) B9 I
  67. LibraryName=dbexpmysql.dll4 P8 a4 v1 S  }* E+ ^
  68. Active=17 F& m8 k* B5 w" E% H) p
  69. ---example----
    . i* \6 r* R  S  L/ v
  70. - written 02.03.04 by pwk.linuxfan
    * }0 x2 d. U4 p2 i- ^

  71. ( z# w0 @8 V: e
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* W+ E8 \! G. k8 J" [+ V" [5 V

  1. % Q9 J* _/ u, k% O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### % f0 e: E/ M* n8 k2 G

  3. * }1 ]* v) N" d9 p. ?. q: Z
  4. # # #我们所需要# # #
    % X' X) }# V( ^% B$ P' V8 t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件, U' O0 d# H) o' ~9 ]
  6. 不会解释如何做到这一点-也有文件存在,为
    5 [0 d: ~% D- ]% E. g2 r9 R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & a+ T2 |5 A8 O% P8 u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : ~4 r7 L; D, m- N/ `( R
  9. 随着数据库。此外,你需要一个卖方图书馆安装于! W( b0 @/ I* W5 G% H+ s; Z; E
  10. 本地机器,这是我的MySQL安装。
    ! |7 ]% B" m" u+ c. G
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ ?- ~  J; S- Y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; c" ^$ `; }7 v' ?3 r. e
  13. 数据库。
    % k( s  f- L, h
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 ^/ ?5 x- E. ]& p
  15. 编写本报告的时候,仍然有太多的问题-检查现状: b. i3 W& `4 m% X+ {1 b
  16. 在teamspeak论坛,如果你有兴趣。
      H4 o* t* g$ N. j4 S4 L
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    " {7 C/ }' B9 l5 h# ^  i2 \" g
  18. Borland公司使用。这个司机只能界面与客户端库* V- g9 e3 [# x9 E2 i( r2 X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    6 K( z7 z: G8 M5 M' ~* `
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) I! f( {  l3 ?5 w" o6 Y
  21. " vendorlib " ,并解数据库连接。
    ) E6 a$ L/ k. Q. W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , x. U5 V% q+ s+ A/ A

  23. ' L/ I) A# B* @3 K) F
  24. # # #做好工作# # # 1 v. U2 V' I2 e2 g3 F
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 D' v# x4 O$ F* q. c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    8 C: j; s" K; w' Q
  27. 结束:
    7 O3 W. D& V* K2 R: b! P! i
  28. ---削减这里--- 2 e" w! z/ y, U. _' X
  29. [ dbexpress ] * F! _" G0 J& E. B; Q9 Q$ {, w
  30. sqldir = mysql_sql
    # d. r7 C3 `6 }
  31. drivername = MySQL中
    " [& ~) r; E" h4 t: H* |
  32. 数据库= your_database_name_here
    + x. @) P6 |) a) i) O
  33. 主机= the_pc_the_mysql - server_is_on
    , ?3 k0 M8 G/ [) b4 ]8 `
  34. user_name = user_name_on_the_mysql服务器
    , I5 m  j+ J2 l3 W
  35. 密码= password_to_go_with_above_user_name , }) p) j: S: L& a$ B9 t
  36. getdriverfunc = getsqldrivermysql : i: ^: s# D2 K: b6 n# i3 Q& q7 H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * ?& q7 G* f0 V% ^* y! z
  38. libraryname = path_to_libsqlmy_libary
    / b0 A# d/ k0 Y
  39. 积极= 1
    % g9 a: ?% E4 a! C
  40. ---削减这里--- 8 ]& n  ~1 y1 X- x& c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 j: f; F  P" \+ P! }, A9 b- T
  42. ---例如---
    $ i/ x9 c0 E! ^) o. J4 [4 \* ^! T
  43. [ dbexpress ]
    2 j: J4 I: K* m2 i" o2 B
  44. sqldir = mysql_sql / U% g; K& c* W1 V
  45. drivername = MySQL中' ~9 c3 r. m! V2 F4 I1 ?9 P6 F
  46. 数据库=测试, g' p) h5 T( E' p9 F+ s5 ^- ]
  47. 主机=本地主机
    8 r8 [; h( g" S
  48. user_name = testuser ) |; R6 e" _1 H* }
  49. 密码= my_password 6 u. @( `/ S& |" Z" v* Q# Q& f# T
  50. getdriverfunc = getsqldrivermysql
    - Y7 q0 i( W  M0 X7 {
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 " q9 B; n4 U: ?" d. [9 j: v
  52. libraryname =. / libsqlmy.so ( d3 q/ m# J- U) w$ V5 X
  53. 积极= 1
    2 }0 ]) x# G% D" D
  54. ---例如---
    5 d( }# A6 Y" p6 i; Q) F! u* Z0 g
  55. % _0 _' e# F( s5 D) b; r
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    4 f% l1 ]3 b3 p! S( N
  57. ---例如--- # j2 ^9 A* p9 q. k$ s+ L+ r
  58. [ dbexpress ]
    # {( n9 q# g$ u! N  ^
  59. sqldir = mysql_sql
    ! F4 v* H4 J- p4 ~8 h: W& s
  60. drivername = MySQL中, g! N; k- `7 s' b7 u# R: q6 @$ }
  61. 数据库=测试/ a/ ^/ `. E1 {3 Y/ Q0 ^! |- U7 X
  62. 主机= 127.0.0.1 5 y, T* I: e: G' r
  63. user_name = testuser 3 i6 F  n! k2 o  ?8 I
  64. 密码= my_password $ v, D8 @! x4 X; D
  65. getdriverfunc = getsqldrivermysql   a  }. |/ @* h! e1 S
  66. vendorlib = libmysql.dll在
    3 x8 Q8 Q/ y8 P! o9 `
  67. libraryname = dbexpmysql.dll , Y$ D+ F7 Y5 B
  68. 积极= 1 8 j/ H, k" x+ W% g
  69. ---例如---- ; C7 N5 J' b+ L% p" B$ s* u3 Z+ v/ ~8 }
  70. -写在0 2.03.04由p wk.linuxfan
    2 P: }1 [  z( z: J
复制代码
发表于 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* W$ |+ k4 w' ]$ T: |$ N
, b/ z7 L" U- e7 N
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-17 18:16 , Processed in 0.117927 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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