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

3493 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" J6 E2 {* v9 F) b  B
. A4 m5 r- v- w5 C' d. P5 ^! F0 Q% C
  1. 9 q; H% @% u* ^* _; |) ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' a+ [, C4 M4 }, y$ w
  3. ( J& }" ]: S3 x
  4. ### What we need ###
    ) k/ S9 s$ w( Z9 X( }
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ A, u; u% `" n7 }: q
  6. will not explain how this can be done - there are documents out there for the
    ( ]5 z+ @3 n0 S( e; b* u; F
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    1 @' U- o  i: n3 T% N* m
  8. and a user account (username + password) that has the permissions to do stuff" g1 i5 _- _/ v- i" A3 A3 Z
  9. with the database. Additionally, you will need a vendor library installed on the
    # `4 d; |- p: E+ L; b2 J
  10. local machine, this came with my MySQL install.
    * y+ }9 k4 P, m1 _1 u& a
  11. These instructions will not tell you how you might transfer your data from the, I$ T2 Q. t5 U7 w! m( F: T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% A% t0 Q" r: }* w
  13. database.
    " ~. E* T$ b  F* `
  14. Some users have reported ways to import a SQLite database into MySQL, but at# l/ J8 o+ i; g" s3 Z
  15. the time of writing, there are still too many issues - check the current status
    . ~7 H* ^) v) q( ~1 M3 ?8 O
  16. in the TeamSpeak forums if you are interested.( D9 _  {  _( ]- |- g3 K; L
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( A6 c0 p2 F% [7 k% x7 n
  18. Borland was used. This driver can only interface with the client library that ; ^: T0 U& _, ?4 ?3 X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 Q: V! ^$ P* k0 @
  20. client library - basically all you have to do is to use a 3.x client library as
    + ]& n9 z& _% X2 e
  21. "VendorLib" and a 4.x database to connect to.
    7 L6 J3 D- u6 t0 S# ]4 `
  22. If you need more info about dbExpress, you can contact Borland.
    " z/ b) a* W7 ^4 T! e
  23. 3 s% M# ?7 U4 p4 _$ ]1 Y: p7 g
  24. ### Doing the work ###
    3 N& p* j0 R# V# B. p8 e: e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( `' Y/ q# Q8 j. w) ^. c$ O4 h- I
  26. the perquisites right, just open your server.ini file, and add this section at
    % i. m2 N8 o) h+ |8 x% h
  27. the end:' W' J0 S8 }, I) U# U
  28. ---cut here---9 W! @* b) l0 d
  29. [DBEXPRESS]9 ]- |4 Y! j) J+ U2 u
  30. sqldir=mysql_sql
    + c+ i1 q' u' g; r& m; G! G8 p6 g
  31. Drivername=mysql) d1 B. F% Q7 @, ~/ D# \# A
  32. Database=Your_Database_Name_Here
    ; b/ _  ~, L4 _8 Q# k3 T
  33. Hostname=The_PC_the_MySQL-Server_is_on
    0 ~5 o# K# @. O& H0 H% M
  34. User_name=User_name_on_the_MySQL-Server# _) B9 g! ?. f% O- v; @$ L
  35. Password=Password_to_go_with_above_user_name
    1 g# ?4 i3 q5 ?1 E) I/ R3 T
  36. GetDriverFunc=getSQLDriverMYSQL
    3 U. F  v4 X! ^- ^
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
      j; W! v# R9 Y' l1 ]/ k
  38. LibraryName=path_to_libsqlmy_libary
    ; y0 g2 X$ y. }- O
  39. Active=1
    : }6 b4 y" U. U  r6 X2 p( ?
  40. ---cut here---2 N0 l+ @& J& |6 G. [
  41. In my environment (a linux box with a MySQL server running locally) I have:. j% s2 w% Y5 E  u/ t
  42. ---example---7 @  E, j5 K- b9 w3 T3 A6 s
  43. [DBEXPRESS]
    ( T' M8 h6 u4 \$ _0 ]- i
  44. sqldir=mysql_sql4 O3 z6 g1 g) D) |* @, Y) v
  45. Drivername=mysql" f% K& d* I& d9 q/ W3 m! k
  46. Database=test5 }, c% x2 e. u& C0 R: \
  47. Hostname=localhost' D3 i6 }0 _; {& k+ R4 @
  48. User_name=testuser
    2 h5 h, B8 c5 c; E3 R# b
  49. Password=my_password
    1 w5 X0 Q1 V6 u; ^* t% M, A% Y4 }6 s
  50. GetDriverFunc=getSQLDriverMYSQL
    - y( j2 Y" I$ L! B  Q: n8 [! O
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    8 |$ }- A1 Y! s4 p/ \3 c% \, ^
  52. LibraryName=./libsqlmy.so. O- C! g9 W# K6 n: y
  53. Active=1. o1 U. N  B; u: ^' e) J9 }3 u
  54. ---example---- o4 b% t: C8 n* G; N2 D: |
  55. % Y1 I$ C' d) i, O& t
  56. On a windows box, also running the MySQL server locally, it would be:
    - B, W& V1 n7 ~/ e4 e
  57. ---example---
    . i7 p  _( |. t# x( S
  58. [DBEXPRESS]6 ]4 ^9 _! s  d& \. e. F
  59. sqldir=mysql_sql
    9 @* ^& b6 Y& p" k+ `4 c+ A
  60. Drivername=mysql( k8 ^! ?8 \' m% e
  61. Database=test# L+ R/ B9 y7 ?
  62. Hostname=127.0.0.1
    % r9 K) U# p; {1 V6 z: c0 `# k
  63. User_name=testuser' ]4 {5 x6 ~% F9 C* E& J
  64. Password=my_password
    0 g8 i" n5 i7 p5 y2 [
  65. GetDriverFunc=getSQLDriverMYSQL
    * a9 l: V9 L/ o  s. I/ e# `
  66. VendorLib=libmysql.dll
    $ j& R2 B2 Y: U( D) m4 |2 F; n
  67. LibraryName=dbexpmysql.dll
    8 Q- {+ p, z* x0 a4 Q& f
  68. Active=15 l# R& r0 Z; @& ^9 ]! @
  69. ---example----) X2 E$ O: G7 n
  70. - written 02.03.04 by pwk.linuxfan, m% t" G" _  ^% k  y* ]/ I# d, H1 y
  71. ! Z+ }, M% O; l) A  Q9 G4 ?
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
0 [0 N0 k  F+ r' K- d
  1. + z* Y3 [" G/ m, r7 _6 b+ a
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    - E: E! h  W' [. X4 f4 r2 \* k, t8 l

  3. " w/ ?; d7 j: a# A2 I% W7 U
  4. # # #我们所需要# # #
    ; M% @, W, _, \0 C" \6 X9 W# {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 f. W: W8 t! i
  6. 不会解释如何做到这一点-也有文件存在,为
    3 `7 q/ L3 x4 x7 z; d  Y. O1 z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ; X4 O6 O! ~8 d' W# S  ]) F
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) p8 l: \! C  P+ e+ e
  9. 随着数据库。此外,你需要一个卖方图书馆安装于0 T) [6 D/ P8 S/ b5 F  }1 r
  10. 本地机器,这是我的MySQL安装。 + b, ]2 @  Q9 o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 }) s% x' i; u( w$ o
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 y' |6 z# J! V! T
  13. 数据库。
    ' ^3 K" z+ T: {% }8 ~2 T% B2 G) S4 ]) [
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  q; V: w9 q3 v2 r
  15. 编写本报告的时候,仍然有太多的问题-检查现状; i/ M% {+ l4 H- Q# w
  16. 在teamspeak论坛,如果你有兴趣。 8 z+ ], p2 h& ]8 T& z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 w# q) G! Z: Y) L, h
  18. Borland公司使用。这个司机只能界面与客户端库9 _9 `# s3 E- e/ b3 i
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这& `. n7 ]5 Z% T! R% h7 A3 I' [, t
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为- O: J% C' Q+ S$ _) k
  21. " vendorlib " ,并解数据库连接。 & b# h* p/ `8 j3 k) I' J; e: E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ( Y2 Y( k3 J0 p3 g" f
  23. + A2 `; K; N9 k0 F
  24. # # #做好工作# # # 8 q; y! ~$ ~( Z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 W) h% A, r& r' x% ^
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在  X' B1 p, \" {, ]
  27. 结束: 0 L5 m5 X6 X% z4 f) |4 N
  28. ---削减这里--- - S& `8 y- q2 Z# e& m9 q
  29. [ dbexpress ]
    , H* _. v+ M" T) x
  30. sqldir = mysql_sql
    2 a4 d, g$ K" g* L* B1 u
  31. drivername = MySQL中) W0 z8 Q. N! B* j) D
  32. 数据库= your_database_name_here 9 @* N* O7 [5 k7 ^* f
  33. 主机= the_pc_the_mysql - server_is_on
    6 Y2 }  [5 R) A! i4 M5 ^% G2 C
  34. user_name = user_name_on_the_mysql服务器
    7 U, k. i0 P* j2 h
  35. 密码= password_to_go_with_above_user_name - {6 \" K0 p( F: F, E3 @
  36. getdriverfunc = getsqldrivermysql . y3 t6 V, u1 x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 u1 p) |: }% E/ V  Z% w" h
  38. libraryname = path_to_libsqlmy_libary 8 ]$ e9 J- x3 s
  39. 积极= 1 # }! F4 b, c9 A! h# D/ @% c! Y0 i6 k
  40. ---削减这里--- : d" O3 F! ~, C2 \' P
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : F7 [/ ~3 g. E( t1 j
  42. ---例如--- 6 h, }3 h9 z* t: S+ }
  43. [ dbexpress ] ) @9 U/ X# k) F  S! E+ M' e- F
  44. sqldir = mysql_sql
    + X3 N: n; }+ ^9 x, H
  45. drivername = MySQL中
    - D( C& _. V. U$ E  s4 s0 k
  46. 数据库=测试+ N' c: I' x3 ]- |9 R3 e  \
  47. 主机=本地主机
    6 q' ?# C9 ~. C% o5 O+ {# u
  48. user_name = testuser
    1 F8 f2 I) _0 {4 v3 D; v
  49. 密码= my_password
    7 x/ A2 @5 k# h, n, e( z" y
  50. getdriverfunc = getsqldrivermysql
    ( }! X: i5 A# F' r% ?2 w9 }
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ ]' }! A4 b7 a5 V8 Q! z- n. x& R
  52. libraryname =. / libsqlmy.so 3 N3 o& D) I7 f1 I
  53. 积极= 1
      C' P5 K- P3 o( R4 `
  54. ---例如---
    6 u/ z$ ?$ O: ~4 v3 k$ v; ?) L3 v
  55. . R) r$ _9 n& k
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ T: D" H4 ]0 h- k7 Q3 g
  57. ---例如---
    8 X6 l( o2 v9 M9 S) \
  58. [ dbexpress ]
    4 y" k6 C4 m4 c
  59. sqldir = mysql_sql
    ( ^8 N: g9 E" f, ]  H( S+ ^
  60. drivername = MySQL中$ P- |9 `; s1 Y, Y& B" p7 V
  61. 数据库=测试2 u4 b: }7 e( c
  62. 主机= 127.0.0.1
    - F0 O% D! ~/ y( s5 U
  63. user_name = testuser . p1 |1 h) s$ J: f, r& O
  64. 密码= my_password ) o# L+ V- R$ s. y6 F
  65. getdriverfunc = getsqldrivermysql
    9 _+ R  N- S1 K; F4 s
  66. vendorlib = libmysql.dll在
    $ N. w% i  [; C0 p
  67. libraryname = dbexpmysql.dll
    1 c& G; @% ?/ h
  68. 积极= 1
    $ E' d* I' j$ o2 z0 ?" B
  69. ---例如---- - ^' c4 g0 d2 \+ K0 h
  70. -写在0 2.03.04由p wk.linuxfan
    ) u3 G8 S. I+ {
复制代码
发表于 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
$ W4 x) I6 T' }0 x2 Y3 B# e5 U( e8 }, j4 ~# v& d
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-9 11:53 , Processed in 0.068763 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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