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

3203 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
+ x, O2 [( q3 b. p1 p- p# {
0 `" o! n0 @! M* y
  1. $ |3 J3 @) r- z0 L% P- w6 [6 z, w
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######2 E, o5 W; d+ n
  3.   x0 j) ~) I& f; X
  4. ### What we need ###! |- g2 T" p4 t  F3 x* E4 r' x
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 w, |4 p& H* z! e: Y* S
  6. will not explain how this can be done - there are documents out there for the
    7 M8 \( j* n% }% z) b2 ~" p
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ ?; n2 z7 x* a: V
  8. and a user account (username + password) that has the permissions to do stuff+ ^; f& u9 ]6 [1 J9 O
  9. with the database. Additionally, you will need a vendor library installed on the1 {) B( T/ x5 `1 D/ D
  10. local machine, this came with my MySQL install.
    / r; C* D) [  a: ~' q) a- D5 y
  11. These instructions will not tell you how you might transfer your data from the; Y. c( I1 I! {: p; |/ c! w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; Y. H" O# y% o1 }3 u9 i: ~6 B
  13. database.5 h/ X6 g9 Z4 [" R$ W
  14. Some users have reported ways to import a SQLite database into MySQL, but at% C% m- U) i! U( ]0 i1 v! J- l- G
  15. the time of writing, there are still too many issues - check the current status
    4 {  l% ?4 q$ n; m8 E: P* x% A
  16. in the TeamSpeak forums if you are interested.
    $ \0 h) O6 Y: m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    * w, g0 J+ Q! Q4 t  G
  18. Borland was used. This driver can only interface with the client library that 6 ~2 V3 ]" ~" u# X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    7 ~7 T0 Q( e+ z# \, e# E# k
  20. client library - basically all you have to do is to use a 3.x client library as
    0 {/ h/ O6 s9 H% }( J6 [' j
  21. "VendorLib" and a 4.x database to connect to.
    2 M* F4 v, ^- j. Y$ F
  22. If you need more info about dbExpress, you can contact Borland.
    3 y# S0 y8 U5 @8 t& d6 H
  23. , |% M* `: C6 ^9 X  L
  24. ### Doing the work ###' e/ o* j# x3 S
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    - W2 L1 R, I7 ~
  26. the perquisites right, just open your server.ini file, and add this section at
    ; ^7 |/ I: B% m! n- n
  27. the end:
    % W6 V" [# t  o) o4 y) N
  28. ---cut here---) c* ?! @0 g) |0 S9 z
  29. [DBEXPRESS]4 z7 j7 R7 @/ _% E
  30. sqldir=mysql_sql( R3 S% c9 r: L1 B; w
  31. Drivername=mysql7 W! j& ~2 x3 @' c: E
  32. Database=Your_Database_Name_Here1 s* X0 }# a4 c' m  Z  r
  33. Hostname=The_PC_the_MySQL-Server_is_on8 @+ {5 w) B5 X, l0 r% b  Q
  34. User_name=User_name_on_the_MySQL-Server: d+ u: p6 Z9 B
  35. Password=Password_to_go_with_above_user_name" s# y# e, S3 ]
  36. GetDriverFunc=getSQLDriverMYSQL4 |6 h$ I3 `5 ?# A* K8 e! d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; c: x0 e. W+ ~  G$ Y% C. l/ B
  38. LibraryName=path_to_libsqlmy_libary/ Y, b; }* Z6 i+ q
  39. Active=1: Z( O6 D2 ]7 X6 j$ A5 A- ~
  40. ---cut here---
    ( [; J8 H8 `- z4 m& i3 [; v
  41. In my environment (a linux box with a MySQL server running locally) I have:1 r. X9 i  F+ A' f7 r" c0 J
  42. ---example---8 b4 T( g5 W7 L% K; b/ d
  43. [DBEXPRESS]% v; v% Y  @6 r( \* a: r
  44. sqldir=mysql_sql
    # [0 k, i5 r2 m6 [. y5 e- G' M
  45. Drivername=mysql
    # E' |. W9 G; r  Y: u, c( m' q
  46. Database=test' \: E0 b4 f3 g% p& M' A
  47. Hostname=localhost" A* G- U$ K0 T* }, G  d
  48. User_name=testuser( v' I( S+ ?+ b$ |/ y; f9 p
  49. Password=my_password: U# Q7 m5 K' O' H9 E* i" A
  50. GetDriverFunc=getSQLDriverMYSQL# D3 y. c6 R1 x+ k
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 j+ _3 J& c! ^. _5 o
  52. LibraryName=./libsqlmy.so2 b* t) x% Y5 q  Z( v: w
  53. Active=18 H) B) \+ u3 h$ F. W
  54. ---example---
    6 b) {0 V$ N; {: s
  55. " R5 u# h  o9 B4 j3 I0 V
  56. On a windows box, also running the MySQL server locally, it would be:
    $ j" g3 D( O: k6 Q2 F0 W' q
  57. ---example---
    7 O) k9 ~& V; e; z% `
  58. [DBEXPRESS]% s" e# X9 @, ]1 H
  59. sqldir=mysql_sql
    : b1 K4 N2 b' x9 y' |1 X2 v
  60. Drivername=mysql
    # ]# b4 `; n5 j% w% u* p
  61. Database=test
    1 E; J+ z9 ~* L! F' j" @" C
  62. Hostname=127.0.0.1' C# W$ i9 f8 ?8 w# F- e
  63. User_name=testuser
    1 A& b$ H) J9 u7 W- o/ n  J& `
  64. Password=my_password
    " @5 ?5 f& l$ j& {" J
  65. GetDriverFunc=getSQLDriverMYSQL
    % K7 t4 L% ~- y) b8 ]1 v9 ]+ c
  66. VendorLib=libmysql.dll  l/ B) q2 C6 |
  67. LibraryName=dbexpmysql.dll
    & q# m3 o9 \3 G# i( o6 ^; Z! K
  68. Active=1. H8 \/ X) C2 }" E
  69. ---example----
    3 I# r9 \1 i' ^8 d* u7 X
  70. - written 02.03.04 by pwk.linuxfan* M/ ~( f' d$ `& j, Y! @
  71. 5 L3 p" m9 A7 ~% _( o- x  ?% `. s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看, `0 m+ M9 ?1 H5 k& k6 P
  1. , g  M. M% Z# j4 @/ ^  t9 P
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * X; y4 U1 v" s6 D1 N' N/ l5 n

  3. . P, N* s7 I  Z) }
  4. # # #我们所需要# # # 4 r. o0 ~) Y2 V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件8 J) @# O& @& N- L& q
  6. 不会解释如何做到这一点-也有文件存在,为
    : z" \, x, L  E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; l3 D1 r* k# g) r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ i6 o7 x8 `8 P8 [0 E. C
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , ]% \. s- N1 u6 G
  10. 本地机器,这是我的MySQL安装。 % Q0 ~3 I3 f; J5 s" K3 [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从; Z  q! |+ t& z  G* Y/ B) s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + \9 N9 W+ j; M8 W! N1 \! @! u
  13. 数据库。
    ' _/ l; R2 \9 d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 J) j$ P  W' ], X# _
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 G/ j0 _# U3 O+ F5 j% E' b
  16. 在teamspeak论坛,如果你有兴趣。
    $ _( z( V* L2 C0 b! r' [4 i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( z* u0 u: f/ i( C2 J$ i, q
  18. Borland公司使用。这个司机只能界面与客户端库
    7 {4 P) D, u/ {8 I+ O
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ L- {- m4 z5 W% e8 D* d. p( d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 Q5 M* o7 A- R. t3 r5 o
  21. " vendorlib " ,并解数据库连接。
    - y/ d& h' a* f; L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ' f7 n' m: r+ i5 |0 M/ y8 \% w4 i
  23. - c0 E3 B! H9 o3 h" H
  24. # # #做好工作# # # 3 R5 M4 c/ N/ }& J: o2 ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 k7 B  O" ^. x! G! S- Q2 p( n! X. _. y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : _  U: x1 H2 D: [  l
  27. 结束:
    ! \, R8 D+ t: b! i8 C" O7 I
  28. ---削减这里--- & J' G# j% w7 N$ s
  29. [ dbexpress ] 0 `2 T4 }" l8 T* }
  30. sqldir = mysql_sql
    3 }+ \& U: L( d$ V" u1 \, e
  31. drivername = MySQL中
    0 D4 A& f0 M7 U# L/ f
  32. 数据库= your_database_name_here
    ( r+ D1 o1 o( r3 C: h6 X: `; f8 M
  33. 主机= the_pc_the_mysql - server_is_on
    ( E4 F( E5 g8 P- f. W' w
  34. user_name = user_name_on_the_mysql服务器* l& b) K6 v* \
  35. 密码= password_to_go_with_above_user_name
    9 \' N/ Z" b7 J0 S  M' M
  36. getdriverfunc = getsqldrivermysql
    ( ^* r" J$ y# n+ D0 H6 M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , @' j$ \. E; ~( h( O
  38. libraryname = path_to_libsqlmy_libary
    - x! @/ h+ b4 ?6 I" }( B" m
  39. 积极= 1
    : f+ N, I2 a  \6 J7 [! V& q
  40. ---削减这里---
    ' ]; a, b' p& A: E, B4 s7 e
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ H* l$ _- @( p
  42. ---例如---
    / Q$ z/ Z! M( _7 I) y; A
  43. [ dbexpress ]
    8 W; J( h5 h6 I# E- q' n
  44. sqldir = mysql_sql 1 l% U9 }4 ^( s& E5 w& J
  45. drivername = MySQL中
    4 U. Q- N( N! l, L2 K
  46. 数据库=测试
    + v; ~9 V+ S6 g  U- N- z
  47. 主机=本地主机7 \0 `" r/ v2 J* a/ q
  48. user_name = testuser * S8 f2 ~$ K; I: V7 Q4 _8 g/ x
  49. 密码= my_password
    % I. D; ?) F' p" k
  50. getdriverfunc = getsqldrivermysql $ j3 y5 M. E) I( z3 z. f
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & z( X$ x. Z2 e
  52. libraryname =. / libsqlmy.so   b4 e- v4 g5 X4 P
  53. 积极= 1
    , p: @1 {5 h# c
  54. ---例如---
    . E2 Y3 u2 e6 j3 T
  55. * Z$ O' k! E  E; H3 \
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 o  o  K, _& E* U; k
  57. ---例如--- ; r- b& [& ?" Y1 H- [2 J# E
  58. [ dbexpress ] - X# }9 q" X7 I* f
  59. sqldir = mysql_sql 3 _2 I* s) X# L
  60. drivername = MySQL中
    . W" F) \! L: ]1 `7 K& ]4 x
  61. 数据库=测试
    " q' \% g- V0 W2 ?9 I
  62. 主机= 127.0.0.1
    * @# Y2 t) V# D( k/ p, \' d  l. |
  63. user_name = testuser ) [1 k4 y; w0 R
  64. 密码= my_password 8 U& P" f. ]1 x3 P& V" Z
  65. getdriverfunc = getsqldrivermysql % _7 {3 h( U6 Y8 L% V9 _2 c1 t
  66. vendorlib = libmysql.dll在
    5 y$ E6 E! R, c
  67. libraryname = dbexpmysql.dll # ?$ Z+ U# d) C' o
  68. 积极= 1 2 S- ^0 v0 L1 I2 p. |
  69. ---例如---- " c' f: A6 F; c/ _3 Y' q
  70. -写在0 2.03.04由p wk.linuxfan
    0 ^7 I7 i! ~. \0 a+ p- z) B4 |7 a/ O/ K2 [
复制代码
发表于 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
) `& a( ]! L7 E4 ^4 {6 L  i8 m. V" ^& \+ j+ F& e
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-21 18:50 , Processed in 0.107967 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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