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

2508 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ' _: g7 T+ m( P! F& m
6 e* v+ F; s. o. \, `# h5 l

  1. 2 K% m2 M; m7 E. V0 X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; ~" w1 ^7 t! a0 R% X; w

  3. ; q5 X* H- k: k) N( T" i: u" P! E* X1 g
  4. ### What we need ###
    8 L! Q0 T; M2 g0 C- |
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 A7 {  }8 @) {& j5 K
  6. will not explain how this can be done - there are documents out there for the ; w8 Q6 v* I+ Q+ }
  7. interested. The requirements include a (empty) database for TeamSpeak to use  _, l) \7 s  Q1 {# b
  8. and a user account (username + password) that has the permissions to do stuff
    0 n$ a( a) ~; Z
  9. with the database. Additionally, you will need a vendor library installed on the7 _; o! d2 ~% \, v! Q$ m
  10. local machine, this came with my MySQL install.
    ) N. V% S0 m- }2 y/ n. f
  11. These instructions will not tell you how you might transfer your data from the8 M% G0 u9 K, ?5 n( j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL. o7 q  p" m% J
  13. database.
      X8 L# v# U" b1 r) Z; Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    9 h2 {! R) Q# n2 |: |1 M# X/ e
  15. the time of writing, there are still too many issues - check the current status
    ' L0 M( _. x9 ?! i2 x  W  S7 X
  16. in the TeamSpeak forums if you are interested.% S% N4 |- Y3 n6 Z4 B5 ], n' j
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 U+ k1 j: u/ `; P) d
  18. Borland was used. This driver can only interface with the client library that
    ' g% \# c# _/ q5 R& F1 V) V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : ~" v( k. y2 u  V
  20. client library - basically all you have to do is to use a 3.x client library as 6 w$ z! u/ O( @! o0 O0 A: m
  21. "VendorLib" and a 4.x database to connect to.3 \5 m& r* c: v: }- ~, l; m
  22. If you need more info about dbExpress, you can contact Borland.* o; [/ c2 Y6 k3 d8 L

  23. * B5 Y: _) O3 S# a, M6 V+ G
  24. ### Doing the work ###, i# y4 t5 {2 k* n2 S3 m. W* B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / z! a8 C9 U, E: l, e4 k8 a
  26. the perquisites right, just open your server.ini file, and add this section at  S: F% z1 J: _. h+ ~& M  }
  27. the end:4 _4 S  X3 f8 w5 y4 N
  28. ---cut here---
      F! |  m( L; f' G
  29. [DBEXPRESS]1 t) j$ c  ?7 P- U: f
  30. sqldir=mysql_sql
    , U! c' L4 e' c+ [. e4 h1 w
  31. Drivername=mysql. L- ]) A3 p- Y0 S" O  a
  32. Database=Your_Database_Name_Here% |* S3 @' H9 V# r% Z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : k8 E) [7 O1 N8 q1 r
  34. User_name=User_name_on_the_MySQL-Server% r# m; k2 q1 {* h+ X2 B
  35. Password=Password_to_go_with_above_user_name8 ~( R+ E* l9 t5 O" Z+ N9 l$ G
  36. GetDriverFunc=getSQLDriverMYSQL3 |8 r) y6 j! ]
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  U7 P  }# O  Z
  38. LibraryName=path_to_libsqlmy_libary! M3 G& P: s- s; P* \9 O) l
  39. Active=17 y0 C! x6 \0 r+ t* t  i
  40. ---cut here---# k0 w6 Z- D0 m4 r" e
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 b4 _6 ^" I: W# k8 w* `
  42. ---example---" a0 q( T% m/ m1 g" c1 U) A/ S
  43. [DBEXPRESS]+ P& ~" P( h/ `6 M" r7 j$ g
  44. sqldir=mysql_sql$ n" W+ K( D, m6 V1 f* T5 I
  45. Drivername=mysql
    * c: M/ f% t; l" m6 B) y8 i
  46. Database=test% q" g" y, A! |( {# d4 l8 G+ O
  47. Hostname=localhost: q$ S) B9 F" o. y  t
  48. User_name=testuser
    ! Y3 F+ _* S) c) o& M. _. F6 Z, q0 N  }
  49. Password=my_password& X7 E5 ]! \9 Q% o/ S/ x+ O* ^
  50. GetDriverFunc=getSQLDriverMYSQL
    + F9 G  C' q6 w( h- K
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    - X; v8 t2 W) H  P4 J
  52. LibraryName=./libsqlmy.so% U/ p8 C& ?: x1 V
  53. Active=1  k2 F  }% B5 G8 q  K
  54. ---example---. O, h- \% ~, T0 [& A
  55. 1 ~6 E1 ^4 b% n. X
  56. On a windows box, also running the MySQL server locally, it would be:1 E5 F# o- a7 [9 k
  57. ---example---
      S1 |: |7 \" B
  58. [DBEXPRESS]
    % V+ T& u/ q6 z6 n7 S
  59. sqldir=mysql_sql) F+ q8 X/ C" V( t
  60. Drivername=mysql1 d+ ]7 Y; f8 V+ N" ]* x$ F
  61. Database=test  u( r1 H( }/ R! J5 P
  62. Hostname=127.0.0.1
    7 Z$ @. ^$ T/ s1 p" ~8 [( J- E( E) b
  63. User_name=testuser$ m/ q5 A- ~4 a' ]% O" F& J/ ^
  64. Password=my_password
    8 p& f) E& l% f# Q. a" k0 i
  65. GetDriverFunc=getSQLDriverMYSQL
    # r, t% d+ p" y; J, s8 F
  66. VendorLib=libmysql.dll2 r) V+ s5 a6 O* n) u$ r, f
  67. LibraryName=dbexpmysql.dll
    : Z, Y& ^9 V& K/ k
  68. Active=1' G! S6 Q; O( Z* g7 a' Y/ P; j( r
  69. ---example----! Y$ _& {9 p) B. g0 t
  70. - written 02.03.04 by pwk.linuxfan
    1 h& P3 H  G1 e: g# W! W
  71. ; y+ h& I7 d, m. G2 O3 b3 E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 s4 n4 i# k6 P, w  z9 x! b% V

  1. 7 w- T+ z8 d* V" b& n$ i
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % E+ X: O! O1 V: Y; Y- W- t+ e

  3. + |  Q" N. [9 R3 r7 b
  4. # # #我们所需要# # #
    + W1 V' j9 D+ O. U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ A* a* ^2 B0 W' l
  6. 不会解释如何做到这一点-也有文件存在,为
    + k7 @9 n4 D% h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    $ i8 [2 C; \3 g( p" I
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 Z. a1 i6 j2 y" i! h
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ! n8 d* c' S+ R& ^' J
  10. 本地机器,这是我的MySQL安装。
    ) X6 d1 {: {* H+ r
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从+ r5 g7 U" ~. J' ?
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ; o9 G) j. {2 h2 F- f% g* d  P
  13. 数据库。 . f+ {3 k) h5 m% j* k+ S5 G
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 N( C3 q; |1 X/ O
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    - h" l: i; [) G/ ?& A5 T* U6 u
  16. 在teamspeak论坛,如果你有兴趣。
    # c/ u! |; R' b& p$ W. V1 E
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机1 X$ `2 y$ w; j% D* x0 P. i& U
  18. Borland公司使用。这个司机只能界面与客户端库$ j, t# }7 A- \8 P& V
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      h$ R* p" \# P% a; B* I
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为$ |% z- n! G/ O2 m8 P2 s3 k3 \
  21. " vendorlib " ,并解数据库连接。 & o% g% a7 w) X! U7 M1 F- b
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! F0 P4 K7 H5 u- W. j0 j; a
  23. & x0 _; m' y- K+ z5 H8 \( @. N( w8 F
  24. # # #做好工作# # #
    & H; X9 d9 ~" Z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) a+ `8 ~" f! X! X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ; s5 t. i$ C3 M9 ], \  {
  27. 结束:
    + w4 m! T- ]+ X6 |' |: T0 t
  28. ---削减这里--- 4 U3 S' b) u# z5 r9 U3 U
  29. [ dbexpress ]
    ! u. _6 O0 N$ A: X4 x
  30. sqldir = mysql_sql 8 A1 H5 H$ v  L4 `2 q/ }& {: G
  31. drivername = MySQL中
    ; F+ O& }$ b' \. e, @5 |
  32. 数据库= your_database_name_here 9 o& e! {) [. c  j! I& C
  33. 主机= the_pc_the_mysql - server_is_on
    $ N# M( l2 l/ t6 s, F$ g
  34. user_name = user_name_on_the_mysql服务器
    3 w' u! Q* K5 l4 m3 `* m% V
  35. 密码= password_to_go_with_above_user_name
    0 `5 z2 S6 |: @0 j5 u) u
  36. getdriverfunc = getsqldrivermysql
    ' g+ h7 i7 a* H% K, n: U+ W3 ?, Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    7 R7 p3 S5 s& J6 z/ B6 h
  38. libraryname = path_to_libsqlmy_libary 7 v) E' K) u; H& \3 P- W+ w( G, n
  39. 积极= 1 3 L5 c7 }: u6 }, T7 L# e
  40. ---削减这里---
    ; T' H0 \. Z, q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : w' M3 t& k& p' a. d4 V
  42. ---例如--- 5 Z% D/ b4 v3 _% \# t
  43. [ dbexpress ]
    ) f: y, Z2 N' o) ^, r4 P
  44. sqldir = mysql_sql * T7 C# x: o5 T0 ?2 [/ ?! q5 J
  45. drivername = MySQL中
    ; a! s7 P$ |9 e: U: }- Z0 L- p# ?
  46. 数据库=测试
    1 l3 o; F9 Y! ?
  47. 主机=本地主机
    % ]- G! k9 c+ i8 d! t
  48. user_name = testuser
    $ K7 `! e' x! }' Q7 P
  49. 密码= my_password ) q1 x  E) b9 @% J7 [
  50. getdriverfunc = getsqldrivermysql ; j9 P" ~: n9 b' P
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 x4 Z; f# s5 [6 }+ _, I! H
  52. libraryname =. / libsqlmy.so * b) f  k! D# T3 z
  53. 积极= 1
    ' u6 b2 P; O8 O
  54. ---例如---
    ! l7 N0 P/ l8 ?, w0 X% ?9 E! n
  55. 5 O# y. Q2 I$ P# ^1 D: {% k$ N
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    8 f" p. ^' C& F1 j+ l
  57. ---例如--- . F9 a, \- F+ n7 n) }. n2 a9 V9 [
  58. [ dbexpress ]
    . A/ r% W3 h$ |# h1 }; N$ _8 A3 j, P
  59. sqldir = mysql_sql
    # F7 I! Q5 g# F* M
  60. drivername = MySQL中
    9 r' t" L) I# s' o$ F* \+ a
  61. 数据库=测试
    - f2 f2 H& r  ~4 y" |% |1 L
  62. 主机= 127.0.0.1
    & |5 o$ C# s* N+ y0 d, k  g
  63. user_name = testuser
    9 C! `3 n& @, u
  64. 密码= my_password
    7 ?1 w# Q6 R; }
  65. getdriverfunc = getsqldrivermysql
    " _1 b& ^( m' O% \
  66. vendorlib = libmysql.dll在
    8 _' Q# C9 @% r9 t8 ^0 b
  67. libraryname = dbexpmysql.dll
      u& _1 R1 G" v% d% U
  68. 积极= 1
    7 `+ U& y' T" w. S; [
  69. ---例如---- 1 q0 U) i- n. C- b" u+ t1 ]
  70. -写在0 2.03.04由p wk.linuxfan9 X1 |7 {9 [( V4 ~
复制代码
发表于 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 words8 c& w% T. `1 M' z

" G& z" P' ~- v5 Q* Bbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-12 17:15 , Processed in 0.125445 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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