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

2968 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 5 Z  W+ ^4 F, L. l3 I
' m6 p+ U4 e, M
  1. : p) u* D# r6 V( ]' D5 a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: ^, C- m- @' c( v
  3. ( `0 ~  @& X& E% L( _/ \
  4. ### What we need ###1 m4 F3 I$ R/ D' ?5 l
  5. Naturally, we will need a MySQL server to store the data for us, this document * J' o7 d) Y  N/ F% w. Y" e% @
  6. will not explain how this can be done - there are documents out there for the 7 p9 i: C4 V* n  V7 s* _1 h$ B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; ?# G: r. F* H8 S" c! ~
  8. and a user account (username + password) that has the permissions to do stuff
    ' m9 U& ^  m- t8 t- l, e
  9. with the database. Additionally, you will need a vendor library installed on the+ a7 k' Y4 l. R
  10. local machine, this came with my MySQL install.
      P! b6 j" t4 _" t: _2 v
  11. These instructions will not tell you how you might transfer your data from the7 u) k* ^9 A" s0 c: `1 |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ |3 c9 Y- G: m1 a
  13. database.' y, i% s& |% \" \$ @; H  g  p: z4 r
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 E5 N5 A5 I( k4 D& E# U! x
  15. the time of writing, there are still too many issues - check the current status
    # m3 j+ t1 b5 Q" K8 f
  16. in the TeamSpeak forums if you are interested.
    5 B* j7 ~1 h: `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 N1 R$ m. f* r- T& Q" g0 B
  18. Borland was used. This driver can only interface with the client library that , o  y% t0 X6 n5 k& A+ ]$ o- A, E7 A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 r" J/ ^9 }' n" o
  20. client library - basically all you have to do is to use a 3.x client library as 3 T2 F4 v( H3 V6 F8 f
  21. "VendorLib" and a 4.x database to connect to.
      t# u( u& D0 C: [- _  q) t3 V+ }
  22. If you need more info about dbExpress, you can contact Borland.
    9 h0 m9 F) N* X  |. t2 K. Y
  23. $ D+ S; K+ Q5 L3 n, R" R
  24. ### Doing the work ###- k& E/ t2 [7 }- }; F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ' o; B0 }/ n# Y; w' W4 A! s
  26. the perquisites right, just open your server.ini file, and add this section at! R, @0 ]1 `5 B& b" _
  27. the end:- m0 J6 ?) W9 k  D8 n( s2 }: @
  28. ---cut here---
    ! q- U1 y3 G/ D6 G' k
  29. [DBEXPRESS]6 [, w. }# H5 e- }
  30. sqldir=mysql_sql, v3 y0 h# b2 W3 P" l; r
  31. Drivername=mysql9 W" R$ l0 ?6 r0 Y9 r. Z1 ?
  32. Database=Your_Database_Name_Here
    5 G, E8 K' ^5 E8 d9 \
  33. Hostname=The_PC_the_MySQL-Server_is_on8 `- m+ p- i! K- W
  34. User_name=User_name_on_the_MySQL-Server
    8 k9 o4 R& l$ ?! a
  35. Password=Password_to_go_with_above_user_name9 @5 a2 y& T5 {8 t1 X
  36. GetDriverFunc=getSQLDriverMYSQL
    5 J4 E8 Y' n0 p3 D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 _7 y" D& W' g9 s
  38. LibraryName=path_to_libsqlmy_libary
    % `# ~5 Z) G. m) J4 m# H; C
  39. Active=1( c: ?. b* ~* {0 Z/ m
  40. ---cut here---" q2 x0 X$ F" C, @$ W9 F
  41. In my environment (a linux box with a MySQL server running locally) I have:1 Y3 z1 K# J7 d1 L1 l9 \
  42. ---example---
    . Y% H0 K. K; z) T. E
  43. [DBEXPRESS]
    6 f& C! t1 u* ~9 z: `0 ^
  44. sqldir=mysql_sql
    4 D9 r6 Z0 H1 a% _1 L
  45. Drivername=mysql. d0 }" {4 v; j* B4 X$ c
  46. Database=test, M% ?$ q- \) \+ K5 A" M
  47. Hostname=localhost0 x5 w. r2 q) w: W; |9 ?
  48. User_name=testuser5 R" K6 I) K# j4 O+ t
  49. Password=my_password4 r) ^. a6 P; Y9 S3 s& L! e9 Y4 U' b
  50. GetDriverFunc=getSQLDriverMYSQL# J2 ?4 w5 V( a; G7 X2 x# w( _2 e5 I5 F( l
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.00 J/ i( X$ i. A6 p+ k0 ^
  52. LibraryName=./libsqlmy.so  x/ d; l2 E. l# _7 _
  53. Active=1
    ! P' ]( d- s6 f& j/ m
  54. ---example---
    / R1 p- k3 ^0 x. `1 B
  55. ' d1 y# }  h# v4 H( R
  56. On a windows box, also running the MySQL server locally, it would be:& T' }6 s0 @+ c- F  c! R% n# F. i- s$ m
  57. ---example---
    1 ?) T' A9 K9 [9 a7 }, A
  58. [DBEXPRESS]
    - k- Y5 j3 `( l
  59. sqldir=mysql_sql# L, y9 ~. H: [9 w
  60. Drivername=mysql7 N" m, [6 ~) q. H( i- w7 X
  61. Database=test6 q! j& a& G4 M! T: U/ C
  62. Hostname=127.0.0.1
    ( v7 L- l8 L, V, v0 F! I
  63. User_name=testuser% h3 u/ J' O" W1 C
  64. Password=my_password  i7 L$ \% i; ]) W3 C
  65. GetDriverFunc=getSQLDriverMYSQL+ E1 p: o" }, i9 q* @
  66. VendorLib=libmysql.dll- A' m' f# S6 P1 q; Y! i$ f
  67. LibraryName=dbexpmysql.dll
    ' t! X4 T+ C# [* ~3 ]! N
  68. Active=1
    ! v- M& R' A) o' Q& R! ^4 m: X
  69. ---example----" T/ U/ l$ S6 f5 x: v2 \
  70. - written 02.03.04 by pwk.linuxfan
    1 y  T+ i: W$ d: K- u% c/ |
  71. ! j1 T: E' Y4 }/ W$ h4 X; I+ e3 ]
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) q# U+ F# P# X

  1. $ @& z# E, X0 L4 L* f3 E! x5 p
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; o* H1 \* k) I

  3. 2 O. B4 _2 d2 R5 _
  4. # # #我们所需要# # #
      V# M: D) {1 O- ^9 A6 G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: _+ B4 {- i5 A0 [5 q) T8 v+ j
  6. 不会解释如何做到这一点-也有文件存在,为
    : z) _1 J& m2 W1 R1 W" G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : F1 k! G+ ]; i  u1 }3 F1 {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西5 a; `& a4 y9 y1 {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    7 t5 m/ j  y) M5 R
  10. 本地机器,这是我的MySQL安装。
    6 `$ w: C" N6 c) p7 C  i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : L- h$ m# E, O" T: B) t7 K# M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) g' A5 `1 l; C; m4 X
  13. 数据库。
      p; l+ a3 j, `4 @( Z0 k4 S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    8 U# T4 T$ g, b9 q, `" G
  15. 编写本报告的时候,仍然有太多的问题-检查现状( |" r3 P+ ^) f8 j6 @
  16. 在teamspeak论坛,如果你有兴趣。
      ^2 P4 `2 I$ g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机2 @! c0 V3 E5 C8 b
  18. Borland公司使用。这个司机只能界面与客户端库& d" `1 o1 w6 R
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - N, Y& Y5 q8 v7 w+ O/ O: V$ L2 s
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* H1 v: H9 H& T' I( X0 u- I
  21. " vendorlib " ,并解数据库连接。
    8 h2 T; x* L3 F+ a  z" h( @/ H+ C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 z& F; ]; X9 r& m/ }

  23. ' y, X- {% ?5 E9 P: ?8 e
  24. # # #做好工作# # # 6 P% }; G/ o( e* A4 n3 }
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, d1 I- ~, R: M. d. `2 C
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / v$ b' A* r" X9 u1 X
  27. 结束: , }" s' N( a" ]- V1 M8 ]  b
  28. ---削减这里---
    3 o1 s8 A6 P/ n
  29. [ dbexpress ]
    2 I( {* b, ~! q+ J
  30. sqldir = mysql_sql
    7 s! F. m1 B! I2 R; ^
  31. drivername = MySQL中
    " |( t3 ?) \: M$ B, x! p
  32. 数据库= your_database_name_here % U4 B/ F0 o* |) N* n6 F9 T
  33. 主机= the_pc_the_mysql - server_is_on
    # L+ }; K7 t& _; A
  34. user_name = user_name_on_the_mysql服务器4 Z* ^7 F3 X9 V4 ]8 R) c
  35. 密码= password_to_go_with_above_user_name
    7 f0 _: }3 f4 ~
  36. getdriverfunc = getsqldrivermysql : ?0 L: @! o' U+ `  O
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    , f. @- A. b1 a$ o
  38. libraryname = path_to_libsqlmy_libary , v- {' {% C4 U. G2 ]# ]$ \
  39. 积极= 1
    # U/ S" |4 B4 S8 F- x
  40. ---削减这里---
    1 r& [* e! W% l8 a/ C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + G% n  y/ `; `! U% r0 a8 q6 J
  42. ---例如--- ' ?4 {) I- u& T) a/ B
  43. [ dbexpress ]
    ' V: |- H  j# W: l# Y- d+ E
  44. sqldir = mysql_sql , R* t( o, C! A/ \4 b
  45. drivername = MySQL中! L- \- `) g1 `# r; _
  46. 数据库=测试8 L8 e; u* C6 K, S/ @; }' ]
  47. 主机=本地主机8 {0 t1 }: y% j" O, u0 C3 O! i
  48. user_name = testuser
    # _( n1 M5 k! T) z
  49. 密码= my_password ; ^9 V( ^, m) ~, m  H% K- H8 q2 `
  50. getdriverfunc = getsqldrivermysql
    6 v8 K! j8 n5 g4 S  O! X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 : ?/ }0 N/ C" s& I
  52. libraryname =. / libsqlmy.so
    , E' h* R, `; C$ I
  53. 积极= 1
    , G% X# y, m7 m& I6 u" x
  54. ---例如---   o) ]+ c) Q9 K6 S* X

  55. ' s' s% ^3 q; J" ^; H3 x0 E
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ( C/ [0 P+ R! g/ [! N0 `+ |5 s
  57. ---例如---
    " ^8 [* d/ c# F* }& X% V" |
  58. [ dbexpress ]
    8 ?. \9 s* N- ]. ?, p
  59. sqldir = mysql_sql 1 y6 A1 b  \& C; a) @
  60. drivername = MySQL中
    * t+ Y7 G8 g7 L& {# Q! Q9 t: l2 v
  61. 数据库=测试/ c7 X: s) ~; h. z3 x, l
  62. 主机= 127.0.0.1 5 \2 g  N6 F# d% ]' r' W
  63. user_name = testuser
    " |8 u7 @  [, E, V8 L
  64. 密码= my_password
    2 r' w  x9 _- k7 m
  65. getdriverfunc = getsqldrivermysql 2 W& c9 F4 p: d+ W
  66. vendorlib = libmysql.dll在
    / m2 T- ^7 z! c2 V/ s
  67. libraryname = dbexpmysql.dll 6 U& m: y% l2 y" h( r: \* [- q
  68. 积极= 1 : i- U( ^6 a/ z; Q+ Z8 h# f+ N' W
  69. ---例如---- 8 K  u7 E+ W/ k$ k
  70. -写在0 2.03.04由p wk.linuxfan
    1 S, E/ B0 N' p% O
复制代码
发表于 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
3 ^! T: _. e5 Q; I4 V) `$ b- }4 {* h0 a( r, o2 z# ^  z" B
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-1 23:31 , Processed in 0.096022 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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