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

2849 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 7 U& E2 ]+ V1 W8 m
  N4 {/ \% ^" U) B

  1. , \+ z& ]3 J- L* `! L# |
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ P. ]. [5 o& V8 ?! _0 c

  3. ) H# O9 ~. c: p
  4. ### What we need ###
    : l" e4 A8 {) ^  ]1 a0 x) V! L
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ! o+ e, o# c8 G% u( |% Z
  6. will not explain how this can be done - there are documents out there for the
    ) t% D0 f2 X% u& V, B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; k% X/ x2 j3 e/ n" Y- o' }  J" j+ x0 B1 X
  8. and a user account (username + password) that has the permissions to do stuff
    0 v% t# f5 v; o- ]1 P* @! g
  9. with the database. Additionally, you will need a vendor library installed on the
      A' t5 e/ L8 y& T8 W* B  q2 `, a
  10. local machine, this came with my MySQL install.
    3 Y9 h. S. h, V% j0 L
  11. These instructions will not tell you how you might transfer your data from the
    5 Z" ]- W9 j& e' r' ^, k( s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 f! D( h3 {) W6 Z3 |- h+ |) {' x7 f
  13. database.
    # u+ g6 U7 J0 i! w$ _! b% ]- k
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    : I& R7 E8 M+ R; \, {
  15. the time of writing, there are still too many issues - check the current status
    , G& X6 \5 P% \% D5 R4 h
  16. in the TeamSpeak forums if you are interested.9 W5 b% B* u: ^! d) w
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* Q& e! q5 D5 X& C$ o! T
  18. Borland was used. This driver can only interface with the client library that
    4 m* N2 ]. ~9 J& N' i* d! D7 z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this: R" S, t0 R  _/ `/ C
  20. client library - basically all you have to do is to use a 3.x client library as 8 S. l# B3 u" m( K6 A
  21. "VendorLib" and a 4.x database to connect to.
    & c* K! u4 j2 E" _  d) o. Y( l
  22. If you need more info about dbExpress, you can contact Borland.
    , X. ]0 w8 ]0 ?$ O% i
  23. & o2 I, ?1 V7 e2 q" F
  24. ### Doing the work ###
    : `4 W. Q6 C7 J, G. J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all  j: ?  w) `1 }7 _7 P7 u+ O1 V1 l
  26. the perquisites right, just open your server.ini file, and add this section at/ x1 @7 L- [8 L4 Z; T
  27. the end:
    - k& l* V" {1 w4 a* o  ]
  28. ---cut here---- a6 |- R9 L, x' x; H3 ~
  29. [DBEXPRESS]0 J% ~0 X4 m9 p" D* S
  30. sqldir=mysql_sql
    ) O" p, G3 ?. e- f
  31. Drivername=mysql
    ( y" U8 T5 E8 T/ A8 i
  32. Database=Your_Database_Name_Here  j  L, b' [5 o/ _! U. {
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , m0 U7 a# g3 @
  34. User_name=User_name_on_the_MySQL-Server# `; {- W% v3 j9 r: `+ E6 e
  35. Password=Password_to_go_with_above_user_name
    6 Z5 u" @) p' g
  36. GetDriverFunc=getSQLDriverMYSQL1 |, G; Z( N% Z  B- o! O, t8 U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    1 f" c+ ]/ X# c
  38. LibraryName=path_to_libsqlmy_libary7 N% R# Z- N6 {
  39. Active=1
    ; M  i- K0 Y6 r/ x. p6 U- H
  40. ---cut here---9 ^' l4 Z$ u2 X
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / K, x, b3 Z* e5 d% B( H3 ?) D
  42. ---example---; J/ \( E5 ~) ~) S- o' }$ H  m
  43. [DBEXPRESS]
    1 r6 B$ H3 x: E# L
  44. sqldir=mysql_sql, j( |6 P$ ]; u% a3 V0 v
  45. Drivername=mysql
    4 s) T) i1 B9 R6 W6 ]# ^4 y
  46. Database=test
    & u  q! D% s8 s* C5 T
  47. Hostname=localhost5 a" B* e: o; t) M
  48. User_name=testuser
    ! P( U. U/ }  K0 w* ~
  49. Password=my_password
    2 l$ d& S/ X* s5 S" m+ {( J
  50. GetDriverFunc=getSQLDriverMYSQL4 ^: `; Q% G1 n
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 ~* q% [9 M/ n; A" E5 `, Z
  52. LibraryName=./libsqlmy.so3 V9 _1 ~3 ?  {9 [
  53. Active=1
    6 R9 V; z2 `) K/ C% L7 u8 [
  54. ---example---
    ; Y  Y* T# c$ t& T4 z0 h* f
  55. " L( k3 R. C/ ]3 z; ~( X! U' `- G
  56. On a windows box, also running the MySQL server locally, it would be:7 j' Z/ A# u0 }/ A/ z
  57. ---example---
    - _9 r( b& F/ \; K( f) E
  58. [DBEXPRESS]
    1 T: U3 A0 ?$ ]- q; e- z, A
  59. sqldir=mysql_sql- Z6 d# p* q. }) K7 S! D
  60. Drivername=mysql
    - _. [) A+ E! T; y
  61. Database=test$ S8 J$ M; Q( H0 n" j
  62. Hostname=127.0.0.15 ^4 y6 b, y+ \8 j
  63. User_name=testuser
    2 S8 j# Z) o+ `: S4 u8 _- u/ p2 T
  64. Password=my_password; \3 B6 l7 ^! W7 v0 m; `' i; N
  65. GetDriverFunc=getSQLDriverMYSQL
    ( y- ]0 k8 \, l/ d- e; d7 \7 g2 W; D& |
  66. VendorLib=libmysql.dll: i5 |' n" d1 A$ t" O
  67. LibraryName=dbexpmysql.dll  w+ o$ n! A7 q
  68. Active=1. }+ a5 M1 _+ c1 k9 x" M
  69. ---example----
    ( e, M4 D5 t/ I7 S) Z+ l' G
  70. - written 02.03.04 by pwk.linuxfan( J7 h0 u- V! o% M( B
  71. ' r7 R% a: F; h/ i
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
9 d- U9 |5 g: {+ n/ M7 n" D6 F  G

  1. 6 Z) ]6 _) q/ K; [. t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### % F+ s$ y) _$ C: ]/ F. u8 p

  3. / @6 x! T& z) W0 N
  4. # # #我们所需要# # # / X7 p1 E* S# L  g5 i9 a8 F2 ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
      p# p/ g2 W, a% D7 U
  6. 不会解释如何做到这一点-也有文件存在,为2 D: [$ P3 [2 ]' C( h, O
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 N4 ^4 y" t- k. ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' Q5 `4 @0 E3 @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 Q+ R. e0 s" @- W. g
  10. 本地机器,这是我的MySQL安装。 ' g, X* B7 P9 ?5 E
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # D$ z; t# m! }
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 q- g7 S9 G: V( f
  13. 数据库。 $ y9 u$ l. L7 V5 X1 a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % H  f6 w+ Q& b( s( Q( G; |8 L
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    % V& e) T% a1 i2 x) h: |" P4 a
  16. 在teamspeak论坛,如果你有兴趣。 3 T- s  |1 I! g, j$ X0 g8 N0 ]
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 v$ H4 r* E2 b9 K2 g3 A
  18. Borland公司使用。这个司机只能界面与客户端库
    ; o, f" m& M  Q; q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这# x" e! G4 S/ b: a( D* V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 F$ a8 k- J% r$ f) _: H. w
  21. " vendorlib " ,并解数据库连接。 * g& A, J' X( G# N+ R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' {% ?, f/ {' ?1 P1 f
  23. ! M, o* m( o+ \. q3 A: M6 ]
  24. # # #做好工作# # #
    - X4 m; q+ N& F7 j/ w& N! L' O+ w/ ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  d8 G3 y( P- p* X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ w& r  w. t$ f7 E& |
  27. 结束: 6 h% j( k6 R- H" e
  28. ---削减这里---
    8 i3 I: a+ M& x  ^) X
  29. [ dbexpress ]
    , n8 z" P# C# i% V1 O& ^1 u. @4 i
  30. sqldir = mysql_sql ) y  i. ^0 S7 x+ G: W! V* C
  31. drivername = MySQL中( R  y; v9 w2 F. d8 }# S- @" H
  32. 数据库= your_database_name_here - k- h0 F3 E" y$ k& h
  33. 主机= the_pc_the_mysql - server_is_on
    " e2 A; k- p5 l  M. U
  34. user_name = user_name_on_the_mysql服务器+ h9 ~& \' r1 n5 G, K+ V2 {1 F
  35. 密码= password_to_go_with_above_user_name
    * N. ?  P, z7 q  P6 e! s' |
  36. getdriverfunc = getsqldrivermysql 9 j+ \8 `2 [! o6 V1 ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 J* b" C/ t& h6 x
  38. libraryname = path_to_libsqlmy_libary
    1 m2 g. y9 U( ^0 R3 \; {
  39. 积极= 1 1 V. [6 A/ e7 S; I
  40. ---削减这里--- , Y' L& `( Z& {- ~" k
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 S7 b0 T, o$ t" c+ k- {
  42. ---例如---
    $ D5 e  a' R/ d) Y4 U& F' U
  43. [ dbexpress ]
    ; K' J( F* o. Q
  44. sqldir = mysql_sql ' `+ k8 k+ `$ w2 P" e3 }
  45. drivername = MySQL中' E6 u+ G' |$ ?7 _6 {
  46. 数据库=测试
    - U0 p9 C3 x( ~. T$ T; g1 O
  47. 主机=本地主机
    0 M7 g  f. T$ h/ m
  48. user_name = testuser
    # V$ C* R- s; S  \
  49. 密码= my_password % d7 k; r/ @) ?6 J2 J' P2 S* l+ v! J
  50. getdriverfunc = getsqldrivermysql & s: Z* Y. Q' x& E* @2 Q) Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . y3 z* j/ W/ d- n! _. C+ D
  52. libraryname =. / libsqlmy.so ' Y' b& I1 S9 w  T$ O7 U! W
  53. 积极= 1
    9 A9 V! R/ v# T
  54. ---例如---
    8 A3 B7 q) Y5 O- q# h  }" \
  55. * g+ u3 ~5 n; P# ?5 [  w! a$ a
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , |9 _9 e5 A& I& u
  57. ---例如---
    ; Q8 H$ h! W" h( w% M
  58. [ dbexpress ]
    5 ^$ C2 [' H8 d9 V* b1 y/ D8 ?' ]
  59. sqldir = mysql_sql $ G5 F* Z; |( }1 X! D  J2 g/ s  ?
  60. drivername = MySQL中; k& @$ h) o# q! K- M& d3 h* y
  61. 数据库=测试) k3 ~: X% h6 Z$ `( ^
  62. 主机= 127.0.0.1 , l2 g! C9 O3 j3 G- |* x: W0 v
  63. user_name = testuser
    , x8 b7 A+ p! Y- v9 y; ^
  64. 密码= my_password * i+ G; W" ~  m( s. X
  65. getdriverfunc = getsqldrivermysql
    6 x6 o* }$ [# a. {, r
  66. vendorlib = libmysql.dll在' x1 B% W# a& O: ]- U
  67. libraryname = dbexpmysql.dll
    " F; j* e+ k+ y6 Q
  68. 积极= 1
    6 ^( k9 [7 m( i) P
  69. ---例如---- # @* H0 s2 m! X: a5 K  l8 r
  70. -写在0 2.03.04由p wk.linuxfan, P) b4 x2 V$ ]2 V$ H
复制代码
发表于 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! [9 q! ~1 C: y1 h$ [7 S  G5 R

9 ^- B8 q) e; q/ Wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-6 09:52 , Processed in 0.117849 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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