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

2942 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + a/ E, s' V* g5 s3 ^3 ~5 L

& C5 T6 t. a, n2 |- \1 }. J2 y
  1. 0 r/ ?8 {/ H0 ^& ]
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
      S( O# h% f/ i9 @6 L: I( w' P
  3. 2 N) V4 L7 }) P( ~7 g
  4. ### What we need ###
    " C) v! N( R5 h' z- Z
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 F6 i7 \7 X+ ~# |2 L9 {
  6. will not explain how this can be done - there are documents out there for the
    8 U- D* x% o5 R6 ]
  7. interested. The requirements include a (empty) database for TeamSpeak to use5 x( c1 F- G) f% ^
  8. and a user account (username + password) that has the permissions to do stuff8 t  |+ B3 \3 M" p- t5 e$ N
  9. with the database. Additionally, you will need a vendor library installed on the
    % @7 k: V$ T' v4 p: ~* g( X4 [4 u
  10. local machine, this came with my MySQL install.
    # a7 r$ `5 E  J0 Z
  11. These instructions will not tell you how you might transfer your data from the& Z7 b, O2 |$ d/ J2 r$ @$ c3 J0 s
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % i3 Q9 m/ j" e
  13. database.
    / _/ X5 ], W# d( ?0 g
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 ~' C5 l% H& f2 ]: p$ Q9 u
  15. the time of writing, there are still too many issues - check the current status
    " N6 J% ?7 s+ y9 T0 m9 m0 z' s3 t
  16. in the TeamSpeak forums if you are interested.
    / z$ ?: K6 r) U4 F: R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ r/ o! K  t7 P- B3 @4 D1 @
  18. Borland was used. This driver can only interface with the client library that
    - k7 d) y0 H6 d& ~1 N5 @
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : p9 e# }0 I9 i
  20. client library - basically all you have to do is to use a 3.x client library as $ x, X7 Z5 R  K- T
  21. "VendorLib" and a 4.x database to connect to.
    % g5 E0 Y# k' ?  E5 Q( [! l( A" Z
  22. If you need more info about dbExpress, you can contact Borland.
    * C7 H% W2 A& ^( L% X
  23. - _/ ^( v: A9 N' V
  24. ### Doing the work ###
    0 m  h: c( ~; ~0 D2 e1 v: w6 q. H6 h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ L* s: L% v- n
  26. the perquisites right, just open your server.ini file, and add this section at* L0 A* h( j$ B+ t1 j
  27. the end:( _9 b* B. ^/ |: [& c
  28. ---cut here---
    4 }7 Q3 ^6 `( I: d; ~# i& g
  29. [DBEXPRESS]
    4 }* V% J& y# w) O3 B
  30. sqldir=mysql_sql' x9 a( ^4 l2 [
  31. Drivername=mysql- t( e8 L/ ?* B. |; R# X
  32. Database=Your_Database_Name_Here
    4 K6 o+ H2 x: w8 x; O, }( ~
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - O" \' x0 ?& L# H0 L8 w
  34. User_name=User_name_on_the_MySQL-Server& J& v& S% E! I0 g  P3 q
  35. Password=Password_to_go_with_above_user_name
    $ S8 x& |& p  E1 r% n
  36. GetDriverFunc=getSQLDriverMYSQL/ Q- w! p3 q* R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ' A3 E+ F" _7 N, H7 O
  38. LibraryName=path_to_libsqlmy_libary# M( H- S, k) T- M5 e
  39. Active=13 k5 P( e& n' F, Z
  40. ---cut here---
    , M+ Y) e' y5 u! ?2 o
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / C( E- L" U1 N7 g" y4 F
  42. ---example---+ P8 ~8 k' {6 p. I+ V! Z) Z. ?2 i
  43. [DBEXPRESS]* i. U1 c7 X: E& r! I" D4 h* x9 C
  44. sqldir=mysql_sql
    & R; m& F5 B3 [
  45. Drivername=mysql
    ! N7 O+ ?6 ^/ m: h/ k
  46. Database=test
    / y; x5 c5 z3 {3 {1 L, d
  47. Hostname=localhost+ a( [) K  a0 H  p: {/ s+ H$ |
  48. User_name=testuser
    : V0 z1 f% `6 ]" f4 C- J; e2 b3 @
  49. Password=my_password
    & x7 V( ~7 E, l4 s( T
  50. GetDriverFunc=getSQLDriverMYSQL, `* T% U4 ]' d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # H8 X% _, B' X+ [/ z
  52. LibraryName=./libsqlmy.so! ]/ N- b; O3 n$ `' W) w
  53. Active=1
    6 n0 z, u( B$ ?2 I" \/ d6 }- e
  54. ---example---1 J, d  q: ^5 H7 b  G1 j7 X! T9 ^
  55. ) R  Y5 Y, q$ V1 }0 b3 l
  56. On a windows box, also running the MySQL server locally, it would be:
    ( I/ k3 ?/ s4 u$ y
  57. ---example---
    1 L( D$ A6 A* U; _; }. g' B
  58. [DBEXPRESS]4 }$ D3 h) s$ Q0 B$ Z$ Y' f- l0 f& q$ x
  59. sqldir=mysql_sql
    ! `+ W% W* c3 y6 m* X
  60. Drivername=mysql
    ; H  A" q' E) l- z0 ~) r
  61. Database=test5 b4 _) @9 |2 U5 z+ \! q
  62. Hostname=127.0.0.1
    - x+ G9 g  z1 O/ n" W5 F4 |
  63. User_name=testuser
    # s# ^0 Y% h( q9 [8 {/ z( ^+ L
  64. Password=my_password
      g/ z, V2 I1 E7 w& d, l# ]- B# U
  65. GetDriverFunc=getSQLDriverMYSQL+ H0 L" b8 @) C4 m$ K1 d
  66. VendorLib=libmysql.dll1 r4 Z# K) d0 Z! Z. u" X
  67. LibraryName=dbexpmysql.dll
    + b! c" C9 b, D1 D( H7 a7 r
  68. Active=15 w2 s! H8 G- @/ i$ n
  69. ---example----
    $ L" g4 E" O+ p( j9 T
  70. - written 02.03.04 by pwk.linuxfan
    , R- k8 T; \$ L1 r6 K
  71. % m; l- Q0 @3 X  I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& t9 \9 S, f; n6 Y! j
  1. : B$ Y1 Q3 `, U3 m4 v7 h  G# j
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    : l+ N4 n" U3 ]

  3.   ]5 z6 l0 W# b2 E* ]! E2 J
  4. # # #我们所需要# # #
    . j8 N( M+ v! i/ J( M. B& o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# {6 Z9 L# c# w9 S5 C& h. X
  6. 不会解释如何做到这一点-也有文件存在,为4 R5 T- Z# W1 `3 S$ q$ E
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. d. e( }, [. u" D7 h2 X) `
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; T4 `9 |0 r" Y  U0 _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于3 i* s; R6 `4 ?$ Y
  10. 本地机器,这是我的MySQL安装。 " G6 p0 A% U1 L6 z& f; q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从7 c* h7 [2 c/ y$ k# r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " X; K2 ?1 x& n4 s. O6 q
  13. 数据库。
    $ b8 U2 E/ ?# `8 l
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( `# j+ T- d! O  u+ @; U* z9 g
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    / `5 a' j) I  b' O  W
  16. 在teamspeak论坛,如果你有兴趣。 $ w+ Q! U; Y0 L, `; {0 m: r! L) n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机, f  L6 W: Z8 [$ @5 p9 o2 _: B0 `
  18. Borland公司使用。这个司机只能界面与客户端库
    $ ^0 i. n2 s8 j/ I* D" z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 d7 H/ p, q. D: V2 J9 J
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为0 v  I8 \# s" _) ^0 h
  21. " vendorlib " ,并解数据库连接。 8 L8 l& |! [8 F5 J8 O. R' f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 2 X0 }8 p! Z7 H& U
  23. ! ?3 `& M$ u- z3 k; Z
  24. # # #做好工作# # #
    2 f! L- F; ^4 d( D( w2 g* t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 i( w5 m1 ~5 P) @$ @" a5 U
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' M0 e4 S1 t: C6 h& Y
  27. 结束: 7 S" W; r& T1 S/ M8 d. j8 ^
  28. ---削减这里---
    ! I2 e+ }/ `3 d* I: F4 ?8 d
  29. [ dbexpress ]
    6 \$ s" \2 @( q. l$ |
  30. sqldir = mysql_sql / T- M! e  w0 [6 t
  31. drivername = MySQL中
    4 i7 U$ R8 T" Q* l  |0 d7 w
  32. 数据库= your_database_name_here
    5 g6 |( l& y9 v7 T+ ?7 R
  33. 主机= the_pc_the_mysql - server_is_on
    # h; {1 c) A) ]  e# j' M; S& h: v
  34. user_name = user_name_on_the_mysql服务器# U% C$ k+ }# L& R- z. F
  35. 密码= password_to_go_with_above_user_name
    7 x' w7 C9 U$ @& _
  36. getdriverfunc = getsqldrivermysql
    5 y# i& y0 c9 I( O  E- ]1 F) g& f
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    # H; L, Z" T0 f0 r
  38. libraryname = path_to_libsqlmy_libary
    ) L) {# p2 ~0 n- ^- O" ]$ S
  39. 积极= 1
    6 @9 T1 ^& _/ L8 N1 i2 i, [
  40. ---削减这里---
    ( i$ j7 w4 P, ?: s0 H% M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 _/ u2 s1 U- |
  42. ---例如---
    ) s. T7 y# z5 j
  43. [ dbexpress ]
    + j  C* J5 s6 f8 Q. c; c
  44. sqldir = mysql_sql
    5 Z: b/ Y+ }# ]/ O+ g9 m; @
  45. drivername = MySQL中5 v/ F  c, N& l; e& b( z: ~
  46. 数据库=测试0 z1 `$ m- U! [0 c# b7 p' ~
  47. 主机=本地主机
    * F; ^( b3 A: b: n/ J9 p; m
  48. user_name = testuser 5 |4 c5 n, c& j4 x- e% o
  49. 密码= my_password
    8 B0 e  S; K/ `; W* a% f5 u' J9 c; @
  50. getdriverfunc = getsqldrivermysql
    ( M7 u7 Z3 [8 m& G# @9 M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 y9 F- g( h# U2 D9 A# I- @1 E4 [
  52. libraryname =. / libsqlmy.so   l7 U" q) F8 O. b2 ^: f
  53. 积极= 1
    2 _; E9 l( d. b
  54. ---例如--- , V! K4 Y% _1 U7 q* n7 \
  55. # n7 m# t/ z" g; |0 Y
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) a/ L! Q/ T6 x' R' o
  57. ---例如--- 3 e1 {6 L9 A1 w
  58. [ dbexpress ] * W" R8 _0 g! k1 w
  59. sqldir = mysql_sql 5 l5 o, W, E9 L0 R: G# P
  60. drivername = MySQL中% a8 v% B6 R- F2 F2 F7 `6 _5 J& D& N
  61. 数据库=测试6 ^5 I3 A& D5 J
  62. 主机= 127.0.0.1 * L% R. G/ R3 Q
  63. user_name = testuser , D$ V8 ]4 H) p' G2 Z: N7 h
  64. 密码= my_password
    * C3 ~+ j* l  {5 L
  65. getdriverfunc = getsqldrivermysql
    2 |% f. L  y* g
  66. vendorlib = libmysql.dll在
    ! E; [& B* g, k3 G8 Z
  67. libraryname = dbexpmysql.dll
    - O# k/ \; T* Q0 Q
  68. 积极= 1 , \6 E" e$ q7 r$ M4 S% J% f
  69. ---例如---- ! s% x; v& n' Q1 G- p3 W  V( y" x) h
  70. -写在0 2.03.04由p wk.linuxfan
    8 c. z, F6 F* ]% J
复制代码
发表于 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 words5 b; o' H" l( E% T5 a
: {' y; w0 S3 @/ J- i9 k. w5 d- 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-7-27 08:50 , Processed in 0.104688 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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