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

3496 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 A- {) W  u, g+ }) v. h4 t) Z
# x  l5 `& B" z4 ^  i
  1. # h' W* s/ v& q& K9 d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . m8 P/ m8 f6 Q+ H+ c3 t7 L0 `( v6 z
  3. 7 A5 ^+ @3 X  \$ ~2 d( ~/ H; y
  4. ### What we need ###
    ) X6 R; n/ K" `! I3 M
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 T5 \& @( M7 D* Y# k( `) u
  6. will not explain how this can be done - there are documents out there for the ; H: a; l5 N/ x
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( i- \2 P+ F4 t2 C7 C
  8. and a user account (username + password) that has the permissions to do stuff
      i6 [5 P" z" _" q
  9. with the database. Additionally, you will need a vendor library installed on the  U1 W+ ]* K, h8 ?
  10. local machine, this came with my MySQL install.2 P0 ?( G+ j: Q# `4 r* l
  11. These instructions will not tell you how you might transfer your data from the
    ' B; B+ S/ Z2 t8 }( ]
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & W7 @$ o* v$ ~. R5 I# D* `# _
  13. database.7 h. n8 g# B2 q8 [. A
  14. Some users have reported ways to import a SQLite database into MySQL, but at- T" i9 ?1 r% p" R% b
  15. the time of writing, there are still too many issues - check the current status
    0 k, D) X' p2 f* o0 a/ ]4 F& h
  16. in the TeamSpeak forums if you are interested.* R. h$ ]: O" ~+ q# h1 x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    / C; ^! S) J0 k5 p2 v. A& I4 a& V, ]
  18. Borland was used. This driver can only interface with the client library that
    , P- Q' K' R- Y5 a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 A5 A" ?5 M6 D/ f7 x; W7 `
  20. client library - basically all you have to do is to use a 3.x client library as
    $ J* ?* U( @5 B! g, d
  21. "VendorLib" and a 4.x database to connect to.
    8 w4 F9 F1 S' r, E
  22. If you need more info about dbExpress, you can contact Borland.
    / C2 s3 A9 W0 P

  23. ( M5 i" b. P  o3 J1 ]" ]; q
  24. ### Doing the work ###* l; r" O' M- W* z4 k7 A( E
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all' ?7 y. e" m' }  T) C
  26. the perquisites right, just open your server.ini file, and add this section at
    1 p$ e3 e. I2 h% b$ r
  27. the end:
    8 M$ I6 q+ z; _' N' Y, c
  28. ---cut here---
    - d& r  T: h% q) r# b. ~2 O- u; K: Y
  29. [DBEXPRESS]  A! C6 c' A& f3 T  o4 [- Z2 C
  30. sqldir=mysql_sql: z& q: n1 w8 v. }( |6 x
  31. Drivername=mysql; J" \; U" \  \: D8 K) f) _
  32. Database=Your_Database_Name_Here4 c, c5 |9 k/ X
  33. Hostname=The_PC_the_MySQL-Server_is_on1 ?# s# P/ u2 A' a
  34. User_name=User_name_on_the_MySQL-Server. f! F$ Z- t, B! c8 F3 }% k
  35. Password=Password_to_go_with_above_user_name
    ! P3 G2 N7 o; p  y& f( `3 k  V" u
  36. GetDriverFunc=getSQLDriverMYSQL
    . ^6 L( T5 P% R' _5 u1 n
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ C4 j% z/ L8 L* n7 r1 s% |
  38. LibraryName=path_to_libsqlmy_libary
    ; L+ R, \* ]8 U
  39. Active=1
    ( E, V+ Y0 [+ u0 v  q8 ?
  40. ---cut here---$ k, t3 @$ S( Q, J+ ^( @
  41. In my environment (a linux box with a MySQL server running locally) I have:6 N/ M4 r. T; Y% w# w
  42. ---example---/ D; B6 S' b$ r! R" H
  43. [DBEXPRESS]$ s. |4 @9 |& Q+ N1 G
  44. sqldir=mysql_sql
    / Q  N# z# U# l4 q* j/ {; U
  45. Drivername=mysql$ |8 l% I  Z$ H: k* Z
  46. Database=test# S/ k8 H' k2 {2 V1 _( ~7 A
  47. Hostname=localhost
    6 u7 H- i4 D& p$ X- s9 J
  48. User_name=testuser
    + u  s8 v6 a2 G8 |
  49. Password=my_password1 K9 h; s. N8 ?; V  f
  50. GetDriverFunc=getSQLDriverMYSQL
    9 k$ ^! ~8 \! F1 J6 M5 z. ?% I
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( k" Z7 n% }' E3 I
  52. LibraryName=./libsqlmy.so
    4 E8 [1 b2 R/ n$ V
  53. Active=1
    8 c4 r7 S4 o! y  n
  54. ---example---2 r# h: c1 a! ]' p

  55. + |4 |5 }- A. y! _" h) _* X$ W$ Q
  56. On a windows box, also running the MySQL server locally, it would be:& d; s) @, o: A% }$ i5 v
  57. ---example---( B' S4 w4 z" \! h1 p$ d
  58. [DBEXPRESS]
    9 B) d; ^9 b+ a6 Y4 H# V
  59. sqldir=mysql_sql/ Y. y' d) i" A8 s
  60. Drivername=mysql
    . E) j& X6 n) `: m& |. w
  61. Database=test
    . r* S' ]1 H; E
  62. Hostname=127.0.0.1
    6 x( m0 H/ j. F/ j) k
  63. User_name=testuser7 {, M$ J/ c9 F/ V8 ~" X) j
  64. Password=my_password
    $ F! @, `/ h# u/ E% a" H' n
  65. GetDriverFunc=getSQLDriverMYSQL; J% O; d' Z/ X4 n) {
  66. VendorLib=libmysql.dll
    ) s2 N9 J7 Q% z0 s. W/ F$ ?
  67. LibraryName=dbexpmysql.dll
    : O0 k! I6 e5 C$ w
  68. Active=1- B8 i( D6 A/ @  k8 u# d. I- {2 O  L/ Q
  69. ---example----
    1 u3 A/ I: m; q* c& M- E" m
  70. - written 02.03.04 by pwk.linuxfan) i% @# B. E; V1 @4 ^1 @; W
  71. 4 [; ^. Q# I5 f- W1 @+ I) f1 N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看6 ]( F; D" L8 v2 G) x

  1. 1 X1 i1 y$ N/ r5 [* \
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ l6 s; h: x3 P# O5 U6 K6 x

  3. 3 y) m* O( Q- w2 b( t
  4. # # #我们所需要# # #
    ( a& b$ P+ f/ N& q' m8 x( |1 m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # F/ \, U0 Q# @$ p9 r1 ^) R
  6. 不会解释如何做到这一点-也有文件存在,为# K& `0 C1 r. F9 L0 q# Z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& p8 p# b& n: F! H# f
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 y) W; p1 c. f  k' W8 b
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . V" ^2 b* M& I) K
  10. 本地机器,这是我的MySQL安装。
    + ^/ |& k: X4 g# V# V6 k- U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从5 M# R3 t( x8 f4 g+ i' Q! ^9 I6 n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 m1 q: {' E* _0 t+ ^- {7 n" I
  13. 数据库。 1 c' @6 A/ R8 M/ C$ K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % z0 Z% k/ m! t* Z, V& ^. _- P
  15. 编写本报告的时候,仍然有太多的问题-检查现状/ Q4 b) `6 Q. b, q
  16. 在teamspeak论坛,如果你有兴趣。 5 X: T) I' B( Z' {  X0 V$ R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ( Q' u) A9 ^. U5 G1 t/ H5 ?) k
  18. Borland公司使用。这个司机只能界面与客户端库, F3 ^* [- q  `2 y1 n
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 w4 }4 ~0 b( e9 {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ( F7 n* j# t+ P% A% K7 s1 t$ A5 N% k; G3 \
  21. " vendorlib " ,并解数据库连接。
    2 v' t7 a( q! j+ r( s' a
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    7 c6 @& y  y3 r3 a! v" p+ @2 o

  23. * h% |, r' A" w, H
  24. # # #做好工作# # # 9 e- `4 i8 q+ P" T" s7 h, n' V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : D; X  |- [. ~8 k9 h2 ^9 T8 c
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    1 {0 s2 i. A% P/ I! J2 ~4 u( H* ]7 m
  27. 结束: : j5 N4 Q  D) e5 o
  28. ---削减这里---
    - X. l) d( U5 q6 m
  29. [ dbexpress ] 3 @% f8 L% d! p- p: S: M
  30. sqldir = mysql_sql
    6 ^$ n5 R9 r6 F& s+ `
  31. drivername = MySQL中
    . z) m$ t3 b6 g. a; k- h
  32. 数据库= your_database_name_here , p; Q; K: Y& ?6 L6 [
  33. 主机= the_pc_the_mysql - server_is_on 4 `; T$ Y2 T* U1 g9 m
  34. user_name = user_name_on_the_mysql服务器' \1 G& U8 t# E& |7 _
  35. 密码= password_to_go_with_above_user_name 1 `; A" O/ v& ~3 y7 D* e
  36. getdriverfunc = getsqldrivermysql 6 K/ r& j; h  F& Q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib " B; h) p' p$ Y; l! F, Q8 d- _
  38. libraryname = path_to_libsqlmy_libary
    4 l3 `& A0 Q; t0 Z: U0 }
  39. 积极= 1
    5 S; F9 W" I0 \& z8 S
  40. ---削减这里--- + G$ I6 h- [& U/ ?7 ^. H. g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ @- w) g" K1 S1 o
  42. ---例如---
    1 ^7 j, t6 w+ k$ a! u' b* _
  43. [ dbexpress ]
    - o4 w1 o2 ~& d' ]2 Y$ z
  44. sqldir = mysql_sql
    : s6 ^1 }# J/ _* m5 N
  45. drivername = MySQL中0 n- a' }! ^3 @* r) ?& p6 D
  46. 数据库=测试
    1 O% }2 m3 B3 W, g' Q4 ]6 \5 F
  47. 主机=本地主机+ F: \( {9 v1 v# s9 p% {
  48. user_name = testuser
    ) p8 _* i, _! W7 Y" H. R5 h
  49. 密码= my_password
    : u# m& n8 q% n9 l! K
  50. getdriverfunc = getsqldrivermysql 0 Z% g: f2 T% M! ]4 ^9 R
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; ^$ L* g/ r) o' H, D, C3 j
  52. libraryname =. / libsqlmy.so 9 e, s3 ?- d3 x' X; G
  53. 积极= 1 " v* D" i$ A7 M# {" Z, f3 a$ ^
  54. ---例如--- 5 E1 s" e) t& H) a; z
  55. 6 e, j9 T& _% o7 V3 E0 [
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 p) _0 g! l# W0 v& l% ~4 |
  57. ---例如---
    : F8 b& j0 C7 ^) N  z7 D
  58. [ dbexpress ]   K: |5 Z& X5 M
  59. sqldir = mysql_sql 6 l8 K7 B1 I3 j) Z9 E
  60. drivername = MySQL中" }& ]0 ?9 u. o. [" {
  61. 数据库=测试" }8 T* Q/ `2 P& I8 U7 m
  62. 主机= 127.0.0.1 # @# G/ N0 B  W) M/ |, F
  63. user_name = testuser ; @& V7 h1 f. V' D4 J- \+ k" a
  64. 密码= my_password
    - x7 F8 A4 X; Z) Y2 _% H
  65. getdriverfunc = getsqldrivermysql $ |% v8 g3 Q1 [; G8 S" i
  66. vendorlib = libmysql.dll在
    " b$ ?/ C$ ?* S" r
  67. libraryname = dbexpmysql.dll 5 Z" e# w9 s. D3 @3 F
  68. 积极= 1
    ( V$ ~7 R& X1 n
  69. ---例如----
    4 M  n) d, o* T0 V; ^# I! [. B6 B
  70. -写在0 2.03.04由p wk.linuxfan
    * p6 e1 t) Z+ P2 [
复制代码
发表于 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: S% A7 e6 U& G0 `5 d$ f9 R2 J

, e1 b2 v- }5 J0 b+ T3 D; r+ s* D; jbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-10 03:10 , Processed in 0.057988 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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