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

2579 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
! ~" I2 y, J9 p8 f  f* L. _- j5 v; b9 ?, ~

  1. 9 L2 k$ g# T4 j  g" h
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######  M4 Q. S/ f' K
  3. % W- P4 m9 I/ n7 T* q. j) l4 O
  4. ### What we need ###
    ' `' ]2 l/ i# e; L7 j
  5. Naturally, we will need a MySQL server to store the data for us, this document 7 o4 Z% j& W" @4 G- `% D2 ^; w
  6. will not explain how this can be done - there are documents out there for the
    9 D" m3 K9 _/ m2 q( [6 r
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      r( l, @2 b$ q) t! n
  8. and a user account (username + password) that has the permissions to do stuff6 j5 k+ L2 e" n! K) a
  9. with the database. Additionally, you will need a vendor library installed on the& c% B) [( d1 M$ a
  10. local machine, this came with my MySQL install.
    4 x. T, r. _) A# C* k+ v
  11. These instructions will not tell you how you might transfer your data from the
    1 G  F- R! s: Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! o; V' B: e+ x$ W* B' ]
  13. database.
    6 c9 z* Q1 [: B3 a; X5 Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 f& s5 b( V# o7 k* b, J
  15. the time of writing, there are still too many issues - check the current status
    ) f" Z9 @6 f$ k
  16. in the TeamSpeak forums if you are interested.( ^1 d4 \5 V# K4 i/ J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    # c% e' t; @& G. F9 d
  18. Borland was used. This driver can only interface with the client library that
    ' d0 b1 r  G7 O. z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    , ]% X( n9 I  D, [" y0 ~
  20. client library - basically all you have to do is to use a 3.x client library as # M- G0 w8 A/ `* e5 ?" G7 A" J
  21. "VendorLib" and a 4.x database to connect to.2 u5 [5 l- ~6 Z5 E2 L& ^( F9 ?
  22. If you need more info about dbExpress, you can contact Borland.5 d! K1 k' f, j* P
  23. 8 I1 J, ~9 o# ]6 Z; M
  24. ### Doing the work ###
    $ y4 Q! H9 u3 p; A, [
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) r% z# R. F7 @/ G5 N1 T/ d
  26. the perquisites right, just open your server.ini file, and add this section at
    - i7 L- O" W. ]2 C& T0 ~2 p
  27. the end:, x3 v# }# l, x
  28. ---cut here---( h+ _0 [: J* [6 N
  29. [DBEXPRESS]6 Y3 X! x5 ^1 e) r+ h$ l
  30. sqldir=mysql_sql
    : [; H1 T- \$ O9 Z0 ~# Z! m- N( P
  31. Drivername=mysql0 l# U; t" a% L2 F& Z! F* }: N
  32. Database=Your_Database_Name_Here  ]2 E- R! }8 M2 j# y8 x0 k5 q
  33. Hostname=The_PC_the_MySQL-Server_is_on( B# _7 t3 {, G
  34. User_name=User_name_on_the_MySQL-Server% J' N6 ]) f" S! ?  k9 g5 _2 \
  35. Password=Password_to_go_with_above_user_name
    6 h1 w6 V/ J6 {6 j% C* ?* U# a
  36. GetDriverFunc=getSQLDriverMYSQL
    # }' p8 u3 G7 x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # l9 o2 I/ B3 ]' E1 R! i- N  `- J; H* Z
  38. LibraryName=path_to_libsqlmy_libary
    8 t4 y5 Y3 @7 [8 w
  39. Active=1
    $ V) \! o3 c" U/ w% ^: l5 ^' C% ^2 A
  40. ---cut here---
    ) Y% M/ r' ?! \% l
  41. In my environment (a linux box with a MySQL server running locally) I have:+ q5 b2 P( }* K- p
  42. ---example---
    ) N% E) |0 [" H7 H8 T' [7 W9 I
  43. [DBEXPRESS]
    2 Z2 C" ~0 M- |( X0 N$ G
  44. sqldir=mysql_sql
    . P+ {1 c" g# P2 i4 x8 k  K6 m2 @( h5 X
  45. Drivername=mysql" k7 s) ~* G: W/ [  g
  46. Database=test
    7 p# z! X; {4 u& R, c. ~' Y
  47. Hostname=localhost( U* Q) r% h, f5 S+ z9 u0 j
  48. User_name=testuser
    2 g" U+ G7 t  o" T6 S
  49. Password=my_password+ j# F" K" e5 I0 Q
  50. GetDriverFunc=getSQLDriverMYSQL
    / A" @( k: X+ P8 R% L) q; `4 G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - l6 V  p0 U" k& _) n( J
  52. LibraryName=./libsqlmy.so* L2 S! P; X' e1 o" P; L
  53. Active=1% ~' m. [0 B8 t8 y
  54. ---example---
    + U$ c1 U+ n- a! c

  55. 4 v; |0 Z) e: q* }. l& x) q* s
  56. On a windows box, also running the MySQL server locally, it would be:
    % i! @/ d8 P! f" ]! f0 E$ R9 a
  57. ---example---2 _2 B; ~# w4 G9 s  l! E9 ?" c
  58. [DBEXPRESS]/ h/ V  `7 y4 v% ~$ _& K
  59. sqldir=mysql_sql) s* [7 k% k' H) ?8 k9 x& d
  60. Drivername=mysql6 G1 W# ?" w3 O, ~. n& p  ^! g/ x
  61. Database=test9 a7 M2 b# |4 g0 O% @! c
  62. Hostname=127.0.0.1
    ! R" a% g$ E# p3 I; k' H) k0 M
  63. User_name=testuser4 Y7 ?1 U3 j' p
  64. Password=my_password
    8 R$ T& L* I4 N- |- _
  65. GetDriverFunc=getSQLDriverMYSQL
    1 `$ x+ h0 f  H8 c4 {8 @
  66. VendorLib=libmysql.dll; @' t0 p& u/ b0 o8 M! F. x
  67. LibraryName=dbexpmysql.dll
    5 f, J8 @& ^6 Y% g
  68. Active=1
    2 k" \  u1 \, ~( I9 I4 I0 k7 H* c
  69. ---example----6 [' _9 M+ X% }( T
  70. - written 02.03.04 by pwk.linuxfan
    ( x# x3 H0 M# f6 F) P
  71. 0 ?" o. z* k: P5 C3 l6 W9 ~7 U3 m3 ~4 k
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 p( O2 O( x0 S1 M4 t3 s8 a' ]2 d

  1. 3 p2 F$ i. i1 x! A/ l2 O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 q6 ~& A3 e/ x' K& O' o  C

  3. 0 T8 |2 w4 b8 Z7 [
  4. # # #我们所需要# # # 2 Q4 N5 K) V& O, U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + v$ }. v' e& a$ N: t3 {$ f& w
  6. 不会解释如何做到这一点-也有文件存在,为
    7 g9 b* C* {' g* L6 }  `- U% m( c4 }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, u# {2 F% v2 k
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : X1 ?6 r& a( T& _  P3 ~6 `6 t
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 h4 C0 I; u  ?% ^
  10. 本地机器,这是我的MySQL安装。
    % U, N4 D: k, W: x
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 p& _' p. B: r' u5 Z& K" E$ k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! L6 v: d& T: u' W
  13. 数据库。
    ' z9 h# b( j% P( ]& }: P2 n( P% [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : R8 V$ \3 ]+ G8 t
  15. 编写本报告的时候,仍然有太多的问题-检查现状4 P- M- S8 s* g7 u  o( M
  16. 在teamspeak论坛,如果你有兴趣。 # f/ n3 Q1 H6 R$ h4 w: O5 V, M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( a$ O: ?/ M! l. u4 \9 h$ ]  R
  18. Borland公司使用。这个司机只能界面与客户端库. c% T# b6 F) w! |3 g& E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    9 K- ]$ v2 t$ Y* h, a' W
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' |7 ^& H3 x6 S% j0 H% ~
  21. " vendorlib " ,并解数据库连接。 ' j  L% _, u& Y7 u
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    + h/ Z9 g7 o1 L
  23. 7 p! L9 Q& V- D4 j$ Q, _  S
  24. # # #做好工作# # #
    3 L3 C5 {" `& v$ |
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都' [9 _" g# ~" d2 b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ) u1 P+ H4 l* _) O% P
  27. 结束:
    " B$ T5 ^6 h7 x1 h0 o. A* i; C
  28. ---削减这里--- 2 I9 l& ~, ~: H, |) d9 G5 S
  29. [ dbexpress ]
    8 i/ {0 U  @1 Z/ r- q4 G8 ?
  30. sqldir = mysql_sql
    ! _6 e9 R( R: F9 T7 |8 J* n
  31. drivername = MySQL中, U: l7 u  h' U( ?' z& w2 s
  32. 数据库= your_database_name_here
    9 b; v/ I& h; N. X7 u
  33. 主机= the_pc_the_mysql - server_is_on $ V$ h3 Q8 F( l1 h
  34. user_name = user_name_on_the_mysql服务器) c) T1 c, m' a
  35. 密码= password_to_go_with_above_user_name
    " g" O+ h1 y# R6 h9 `3 J4 y
  36. getdriverfunc = getsqldrivermysql . ?& n) S: y& L0 T, A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    1 }. E  S; ^! [' R5 g' \1 ^8 l- d1 w% K$ C
  38. libraryname = path_to_libsqlmy_libary 6 q( c- l6 B. u* T
  39. 积极= 1
    $ D+ \# R( E" w! p
  40. ---削减这里---
    % G+ m  I( M+ D
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ! ?+ \( n3 @& c. S* |& G
  42. ---例如---
    7 s5 H9 o! V' p4 N2 }, j; q
  43. [ dbexpress ]
    ( D( k  E2 _9 P/ u
  44. sqldir = mysql_sql
    ' L8 D' ?( b7 ~. c7 g" v/ t+ w+ B& Y: _" A
  45. drivername = MySQL中
    . T0 q9 ]  D+ a% \1 _* ?
  46. 数据库=测试# A% N6 J, A7 [9 M- q- P. H
  47. 主机=本地主机7 M+ r& K7 H  ~( S! r% T6 m5 B. Q& i( w
  48. user_name = testuser
    9 p9 y( W3 \% U% w
  49. 密码= my_password
    & f* v+ D- O3 p
  50. getdriverfunc = getsqldrivermysql
    0 C# ^: l6 ^1 u# V6 z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . x1 Z" C1 L) ^  L
  52. libraryname =. / libsqlmy.so ; E; l- b; _2 s! n: E; I
  53. 积极= 1
    9 R7 C5 t$ z3 f; K* O+ g: @" ?
  54. ---例如---
    " c3 ?4 I# {# u$ B

  55. " _6 @1 z: ?8 e: b
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ! z, \9 K0 f1 e% d* E1 N
  57. ---例如---
    4 k& S( N* b1 z4 X: h( `
  58. [ dbexpress ] - S+ x9 x3 f( p% j8 ?$ J+ U1 }
  59. sqldir = mysql_sql
    3 d+ V) l! P6 V7 F/ E) p/ {8 G2 c% g5 A& o
  60. drivername = MySQL中
    + |9 v( A( z7 Q: J$ L/ E
  61. 数据库=测试' c  T2 R: q% p7 r) w( ]8 i- P7 k  h
  62. 主机= 127.0.0.1
      j' s0 r/ C2 f# O" ]7 m
  63. user_name = testuser ) K6 `# b8 O9 Y/ T6 G
  64. 密码= my_password ( E2 u  |/ N! _, k: k9 j
  65. getdriverfunc = getsqldrivermysql
    & A- f! X3 |( C
  66. vendorlib = libmysql.dll在
    : @( w: b" a. B* K  G1 V
  67. libraryname = dbexpmysql.dll
    - d, ]$ L5 D6 m9 O! o6 \4 z4 Q1 w
  68. 积极= 1
    8 [, l2 }, i" s
  69. ---例如---- 2 J- `/ e0 q3 }- r: i. t
  70. -写在0 2.03.04由p wk.linuxfan
    5 x/ \4 J+ w% c  _0 m5 w9 g
复制代码
发表于 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* P+ k6 r$ g, j( ^: ~
& ]) n" e5 ~2 m
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-4 10:05 , Processed in 0.095660 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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