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

2536 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* U$ @( S& p  t) C, [
9 r3 y6 X( E1 Z5 R& z* X, J# a

  1. 8 U$ {6 w* P/ o  l1 n. u; S4 J
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; t# Q, ]+ N5 z9 F& c( o

  3. : B  g( a# K8 W* l& R4 j2 j
  4. ### What we need ###
      A) y, d7 c  _; P  e; E$ h) l9 y
  5. Naturally, we will need a MySQL server to store the data for us, this document & s+ f, E# s2 w! x& Q
  6. will not explain how this can be done - there are documents out there for the 7 \) M! Q# z( ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( V' f) _! o3 p, O
  8. and a user account (username + password) that has the permissions to do stuff( V* W& W8 V; N" n- h. O
  9. with the database. Additionally, you will need a vendor library installed on the7 u& y# q- I8 i- t. G, U
  10. local machine, this came with my MySQL install.% ]; K5 _( f4 R0 M' @5 u
  11. These instructions will not tell you how you might transfer your data from the
    ! p" K9 ]# R) o( J2 ?6 t0 s5 R
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL1 b7 q1 w' t, X7 W2 C+ z
  13. database.
    . K0 o" L. ~: i2 d8 c  A
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " B+ a+ a8 S8 z5 g; e9 d
  15. the time of writing, there are still too many issues - check the current status8 o# E6 e( N- n# Y* {
  16. in the TeamSpeak forums if you are interested.6 B1 E) d5 f5 |
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    : t# L7 L7 u4 E  v  U+ E8 E
  18. Borland was used. This driver can only interface with the client library that
    ) ?7 x/ O$ M" S1 N2 a) X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- f+ Q- }) J$ ^/ W4 j/ n; g, {0 O6 Q
  20. client library - basically all you have to do is to use a 3.x client library as 7 C# w+ a7 S' L4 r" T  {1 c
  21. "VendorLib" and a 4.x database to connect to.4 q- G8 D4 _- j9 T5 @
  22. If you need more info about dbExpress, you can contact Borland.
    0 @' l2 b/ `; L( K; v
  23. 3 u& e+ _: W, u! d6 O
  24. ### Doing the work ###
    / i7 m, F/ b3 u/ ^" T$ V2 L2 I  D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% h0 h! v; [+ c% k/ h' B; ^& X8 r
  26. the perquisites right, just open your server.ini file, and add this section at
    # P- s$ [- @8 T: v8 r
  27. the end:0 ~0 O* x( }, v/ s" `
  28. ---cut here---/ V+ T4 [; i# N7 O9 C3 F$ s$ D8 r
  29. [DBEXPRESS]
      |  I0 a6 U  I1 e
  30. sqldir=mysql_sql
    # c8 @+ F  ^% K$ V$ l
  31. Drivername=mysql
    8 _5 l) g0 u9 G$ b3 h. y0 F
  32. Database=Your_Database_Name_Here
    ' Y6 P' u; H. v$ a$ |; L
  33. Hostname=The_PC_the_MySQL-Server_is_on6 m) D- B9 @4 Z9 U* S, p
  34. User_name=User_name_on_the_MySQL-Server0 F) c% q2 {" B/ m4 G6 q
  35. Password=Password_to_go_with_above_user_name5 Y) b: p2 T* T' k7 G7 A7 `
  36. GetDriverFunc=getSQLDriverMYSQL
    4 e8 d' g' c; O  i, x' C
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. v& I2 [7 z% u
  38. LibraryName=path_to_libsqlmy_libary9 ^+ u% W6 a  }) Z6 b8 g
  39. Active=1
    4 G; X; o& j8 V& G: V
  40. ---cut here---3 e8 s: O4 d' O' L* l$ _
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! f3 Z( I4 Q4 _4 l2 a
  42. ---example---
    9 T7 T" v# g" I, s8 |; `8 H! v( c
  43. [DBEXPRESS]- J4 N! J) |+ {& w1 |/ d+ Q
  44. sqldir=mysql_sql
    2 e1 t0 d. S: y2 z  ^
  45. Drivername=mysql
    , ^, X( F6 {% ^; J
  46. Database=test, W8 Q  k( w1 r
  47. Hostname=localhost
    ; N( A: p9 ]7 T- o+ C" Z
  48. User_name=testuser0 ~  ~# e* n. z0 g  U" E
  49. Password=my_password
    4 {% `) b* A/ U5 |
  50. GetDriverFunc=getSQLDriverMYSQL( H, b" M( R9 c5 W; p1 w' v# i
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: m, g6 d# m& V2 [
  52. LibraryName=./libsqlmy.so" K6 B/ }: g$ V4 C
  53. Active=1
    . K) t/ c8 W3 w9 ?7 Q4 ]/ b
  54. ---example---8 R* s0 [' }/ V6 m

  55. 3 ~- C4 O8 y# o) A" `
  56. On a windows box, also running the MySQL server locally, it would be:
    . F) o& P- }9 G1 K+ C% l# O) I% u
  57. ---example---
    - T( D- p1 H) }, f( @$ f2 }
  58. [DBEXPRESS]# m) {0 z$ J* }3 Y) v; I' u
  59. sqldir=mysql_sql
    ! b8 C5 d0 `: d" w, I* q! ]4 F0 T
  60. Drivername=mysql
    1 _5 O0 p) n+ A2 V- D2 ]
  61. Database=test
    * b) @( [1 Q5 }
  62. Hostname=127.0.0.1
    % F8 e8 f) t! U0 X$ ?& Q2 c: C. n3 A
  63. User_name=testuser
    / i! O, V* _5 a6 K! K- P  Q: J6 O
  64. Password=my_password( a/ Y( ]1 _; D2 t
  65. GetDriverFunc=getSQLDriverMYSQL
    " A4 m) S8 O3 K
  66. VendorLib=libmysql.dll- |* t0 S. y  a8 V
  67. LibraryName=dbexpmysql.dll
    4 o8 K: E# Q; ]8 }1 U& M
  68. Active=1
    9 z4 c6 s) A  I5 j  _0 O2 ~
  69. ---example----
    9 x6 b5 P9 K; y9 Y7 W: [* a
  70. - written 02.03.04 by pwk.linuxfan, V3 Z+ k' \& e9 Q) I

  71. ; p) Q( i, X; g& z' _! F: T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
7 r9 g2 H" X. `4 T( c* z

  1. # b, Q9 U! `% l! J7 `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ) w! r8 P) d& z4 ?* j
  3. * {4 s. k! n. l: \
  4. # # #我们所需要# # #
    1 b# h3 t- W" }+ f& ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 ?! E% `: Q6 i+ N2 V; d
  6. 不会解释如何做到这一点-也有文件存在,为
    $ |2 r% M  q: }& C$ ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 |' y3 ^! j% {$ U/ j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 |, |5 {0 Y$ I; O/ {0 @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 p! q* X" J" O  s7 o) W. P/ ?
  10. 本地机器,这是我的MySQL安装。 : b. y8 n1 v: |- C$ W8 x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' J0 `) \8 t/ ^  r: I- b
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " j' E( m# O$ b1 S% T
  13. 数据库。
    + |( G9 i' e- o! a# N. M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 \1 w9 l" H* w0 ^
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ' {# Y+ o( `6 i4 t8 ]; S- Q! P
  16. 在teamspeak论坛,如果你有兴趣。
    + S$ ]+ ]8 n+ ]! a9 J
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - _0 H/ B& @# P3 x; L
  18. Borland公司使用。这个司机只能界面与客户端库
    0 t3 N' B9 ]$ D, r& j. D( m4 c) c( E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这9 E9 k7 f, J* t9 A: U0 @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . ~2 H, _& j; q; |+ K+ w' a3 [; J
  21. " vendorlib " ,并解数据库连接。 7 I+ ~: T; g% s7 p5 j* l/ e
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    + j3 m9 X. E% i& \+ N

  23. / M% e8 p- V/ f! `
  24. # # #做好工作# # #
    $ H: T3 |- }. G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都1 m/ I9 m5 f+ \4 [  y# r6 k
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * _) A* P) f+ |7 E& t5 f, d
  27. 结束: 7 E4 D5 a! g! K- X  S
  28. ---削减这里--- ; p- Q+ J+ ]) H7 y, [2 V1 }
  29. [ dbexpress ]
    ( A; S0 N5 `  w* T
  30. sqldir = mysql_sql ) u; ]5 K6 B+ Y/ u5 b% H  c" g
  31. drivername = MySQL中
    # x1 A8 [8 Z' j
  32. 数据库= your_database_name_here
    / O/ e- m7 C( _! v# S2 z1 `
  33. 主机= the_pc_the_mysql - server_is_on : U: r  u7 a  R! o1 P, b1 w
  34. user_name = user_name_on_the_mysql服务器' m3 Q+ ]: H% h) f; B
  35. 密码= password_to_go_with_above_user_name 5 [# f9 n. C! t8 q4 B$ Z
  36. getdriverfunc = getsqldrivermysql 1 A# h# G/ }/ q8 Z5 u$ H5 q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + O3 k. }; L5 |% g: B
  38. libraryname = path_to_libsqlmy_libary ( v: k. E8 q8 R
  39. 积极= 1 $ n% x# l. D" }6 J3 O6 Z2 Q
  40. ---削减这里---
    : N' W. }4 r. ]1 Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " t, I! ]1 n7 p# G) f0 b
  42. ---例如---
    $ J, D1 x/ F3 L8 k4 w
  43. [ dbexpress ] $ f& G( {/ {3 x$ i- S( M& i& g
  44. sqldir = mysql_sql
    7 F$ l8 _" T. f$ w3 C! G! v
  45. drivername = MySQL中5 X  s9 r  t- b+ p/ K% `
  46. 数据库=测试
    5 z5 V# T$ n) A8 {3 ^
  47. 主机=本地主机
    3 U% R9 P% C2 C! l1 g( R7 S+ Q+ @
  48. user_name = testuser 2 E$ G: h* v3 G7 T+ x! E4 h
  49. 密码= my_password
    $ A. }9 E9 s" b6 i4 _
  50. getdriverfunc = getsqldrivermysql
    * c' \6 i3 q$ r4 K. j! u: T8 n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # q+ c$ p' J  T3 h9 `2 K
  52. libraryname =. / libsqlmy.so
    ! I( c" R* {* x/ e; O5 ]
  53. 积极= 1
    ' e$ h0 H( O0 [$ B- o" e) n
  54. ---例如---
    6 h: X' f6 ?3 x9 L
  55. $ V7 `$ F- d; v1 I5 n
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : ]7 b% e! X  w5 D
  57. ---例如--- $ C8 d" h' I6 }1 `
  58. [ dbexpress ] ) E& y* z: ]$ Q, f, g& z) [
  59. sqldir = mysql_sql
    ; W+ w) }. p  X. G
  60. drivername = MySQL中
    * b# y! f. I6 \8 S& W
  61. 数据库=测试
    * v; _9 z# g9 B4 I+ V7 k
  62. 主机= 127.0.0.1 # l) n9 l: H+ E  K# J
  63. user_name = testuser
    ) ~) z# @- {" `* ?% n
  64. 密码= my_password 0 Z6 o7 h* T3 c9 t2 V( a
  65. getdriverfunc = getsqldrivermysql
    9 |* x! h, I+ S2 r! B! I7 ^) x3 K7 J
  66. vendorlib = libmysql.dll在
    9 f& K9 d* a( u% E! [+ X4 {
  67. libraryname = dbexpmysql.dll ( H: `0 }8 I) b* M. C/ ]1 |( g5 {
  68. 积极= 1 $ O) H6 n3 U* |: O3 \* P
  69. ---例如---- 5 N  L4 p" }4 L+ K
  70. -写在0 2.03.04由p wk.linuxfan
    / j; U' |$ f7 q2 X: F  [! W5 `& w5 m! `
复制代码
发表于 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
1 ~* Y4 G5 `3 q" ~  i- q  {( N/ V
2 y# D3 H7 c+ s' O' Pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-20 06:15 , Processed in 0.110056 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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