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

2922 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 Y4 J) ]3 |0 `; Z; d% q* i
; F6 k- \9 N$ N7 D% Q5 L4 R9 ^

  1. + n# d7 z4 ]( V4 R( V7 u9 s
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* A3 D, z* y3 x6 C
  3. % \3 T% O2 e1 F7 z3 n6 @! ~
  4. ### What we need ###+ L& Q! J- U1 ?* C4 u
  5. Naturally, we will need a MySQL server to store the data for us, this document
    # B2 X/ Z- W# v) a& B
  6. will not explain how this can be done - there are documents out there for the
    . H; O) C) `) \3 ^7 T' z, |# E
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / J( ?) O( V1 D* A; T
  8. and a user account (username + password) that has the permissions to do stuff
    & G8 H, _4 ^9 u$ }
  9. with the database. Additionally, you will need a vendor library installed on the$ B) J: P* D, q
  10. local machine, this came with my MySQL install.
    : d9 A/ S" W, ~6 Z& v
  11. These instructions will not tell you how you might transfer your data from the
    5 v. L. z1 t4 E5 _( z% S4 R: D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- @- d5 ^( P# H+ W" P  J2 C8 N
  13. database., J, S5 H+ P- H
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 Z0 V' Y& [" m; j! s0 G1 C7 ?
  15. the time of writing, there are still too many issues - check the current status/ v& S  {" r+ l0 c- Q
  16. in the TeamSpeak forums if you are interested.) c; I" W& `* X" Z9 M# v3 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* ?1 T* |% y8 \. ?: a' ]: K
  18. Borland was used. This driver can only interface with the client library that 0 c) q7 r/ h: X% W$ P" W5 V
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 z. u4 n8 ^( S! I  l6 ?' C* C
  20. client library - basically all you have to do is to use a 3.x client library as ' }4 Z$ P& T6 V$ F9 O
  21. "VendorLib" and a 4.x database to connect to.
    ' a3 Q: M$ i8 S) k
  22. If you need more info about dbExpress, you can contact Borland.1 i& ?; V# T0 U! X
  23.   f$ j  F2 O$ |0 D& k# {
  24. ### Doing the work ###, s3 @0 K7 ^; w8 e# l4 T
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all1 `+ e6 F  ^2 u2 ~. c% I
  26. the perquisites right, just open your server.ini file, and add this section at: |/ \0 O7 B  J8 D: J
  27. the end:) z4 N, I: f0 q% \$ U* R8 N
  28. ---cut here---, Z: J1 B+ n' ^. G9 W
  29. [DBEXPRESS]8 N/ z2 a1 ~; z+ B8 J; s
  30. sqldir=mysql_sql
    / y% V2 O, N7 L2 v0 y9 {
  31. Drivername=mysql
    8 `3 D0 v/ Q/ J+ w! c& e2 `
  32. Database=Your_Database_Name_Here  k; y7 V: e- T4 f" t: q8 n
  33. Hostname=The_PC_the_MySQL-Server_is_on0 W, J5 o. O" `+ {1 E$ u  R
  34. User_name=User_name_on_the_MySQL-Server7 E+ @6 O: k1 h+ O' P( f8 w
  35. Password=Password_to_go_with_above_user_name7 [9 Y" h. a3 H
  36. GetDriverFunc=getSQLDriverMYSQL
    ) U2 y: L+ ~" @* D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( r( E  ^- ^  k: F9 f0 N/ ^) `  v0 P+ p
  38. LibraryName=path_to_libsqlmy_libary2 ?9 A* H+ @. N: j6 B5 U! W/ p
  39. Active=1
    * j9 l) i4 r5 z7 f! I. a5 [
  40. ---cut here---
    ' j& E% Y9 K" v" N! X; g9 B% W
  41. In my environment (a linux box with a MySQL server running locally) I have:) S8 j4 u5 G6 K1 `% h9 h* V+ V
  42. ---example---
    * C9 g# p4 z5 h
  43. [DBEXPRESS]. u+ Y9 s+ o# f+ e4 F
  44. sqldir=mysql_sql
      i9 U$ D8 L, c* |' k( {0 u
  45. Drivername=mysql; J. m6 s7 J& p/ t1 l( c/ r  d
  46. Database=test
    # B; `( E2 o. h
  47. Hostname=localhost
    1 T. p: r& F. T% P: J5 ]
  48. User_name=testuser
    9 S5 o& O1 s5 V; J& R! P. T4 V- B
  49. Password=my_password
    ( m% H- r8 D9 A3 t2 _$ f: Z+ J# Z
  50. GetDriverFunc=getSQLDriverMYSQL& @2 t& R/ K. q5 B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 T; @, @. Q  Y1 \* e
  52. LibraryName=./libsqlmy.so3 p6 P  D# m( @; r: \# Y) g
  53. Active=1# k  E" U& f" y- _2 f2 W
  54. ---example---
    2 b; o8 o3 R6 S/ S. ~

  55. 1 n. W8 k3 t( {7 ?0 O$ g8 y8 [/ S
  56. On a windows box, also running the MySQL server locally, it would be:8 j/ ]) t0 Y) c4 Q' p$ m- N% D
  57. ---example---1 s4 }6 E" @% i8 @
  58. [DBEXPRESS]' R) A% v: z  k
  59. sqldir=mysql_sql
    - }- E2 E! r4 b* z" k! @
  60. Drivername=mysql7 f& f9 R, o7 @" K
  61. Database=test
    . i7 u: [4 M: x$ O! M( b+ e
  62. Hostname=127.0.0.17 k6 P" O- \4 A8 K) p8 V
  63. User_name=testuser( y3 F: e+ A% _& a. |; p* n/ q) ~
  64. Password=my_password7 R1 Y$ ?% ^" ]6 u" S- w
  65. GetDriverFunc=getSQLDriverMYSQL
    6 @. R7 q; a4 t; x1 [
  66. VendorLib=libmysql.dll
    ! |7 V, j" Q4 E: R0 `) Y2 E
  67. LibraryName=dbexpmysql.dll7 [. y/ z; p1 o9 H5 _. }8 S
  68. Active=1. s' k! |; J& n" h
  69. ---example----, J7 o5 U+ `6 U7 @3 X0 g
  70. - written 02.03.04 by pwk.linuxfan0 ?* @; i' N6 f! C; ^; @
  71. 7 p5 ?6 o( _& u0 k  c8 j- l/ p
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看, R3 L. P6 s  D+ E% t' p* ?

  1. # ^, c6 F  e' f# Z9 ]9 b9 Z& S  x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( P& X4 H3 x7 `. O
  3. 8 H, K- A5 Q" Q9 e% B
  4. # # #我们所需要# # # / T8 a: V+ ?9 d  e  U2 ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ; M5 C/ M) @% x4 G* u" `
  6. 不会解释如何做到这一点-也有文件存在,为
    6 p2 Y8 i  i2 R  F. I+ W
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    * `+ U( I' {# d! I# |# |  I- ^. U
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 {9 j( T2 X( b$ `
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ {; \. i9 I0 X+ Q
  10. 本地机器,这是我的MySQL安装。 & T& G+ z7 t/ k8 t) d
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) `4 ~; b( s$ C( m
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . C6 e7 X% v3 p# J
  13. 数据库。 ' w, i+ Y! Y/ V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. {. N1 D7 x9 j8 i- g3 \2 F
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ }9 ~% q! V4 T$ @/ v
  16. 在teamspeak论坛,如果你有兴趣。
    - ~! z( O) x$ J* H7 l
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ) F9 N% ~) t6 c( K! H+ U+ |
  18. Borland公司使用。这个司机只能界面与客户端库( x: X( `5 R/ _7 {( e1 a7 d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
      ]* `. H3 Y( V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    5 c" N) A' a8 Q) r3 n, i
  21. " vendorlib " ,并解数据库连接。
    ( h, F# A* s2 G! v2 e& h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 Q, p9 @* H% E6 d' _

  23. . n2 V6 m! `+ B( z1 k5 n
  24. # # #做好工作# # # : P' R% R) P0 r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都% W- \# U, V& C
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 k! k; |9 i! _& B3 {8 m4 w' W$ ^
  27. 结束: 5 o5 Q8 F: z! J9 I
  28. ---削减这里---
    2 |( @4 [+ Z3 Z0 ~" [2 P
  29. [ dbexpress ] " e( n* b: M! _
  30. sqldir = mysql_sql
    9 n% z4 J* }( Y- |: ^
  31. drivername = MySQL中
    ' g$ B& L* U  K( u* i8 k4 i: C% K
  32. 数据库= your_database_name_here
    7 @; n2 b: k9 y2 L
  33. 主机= the_pc_the_mysql - server_is_on 5 ^+ Z5 {- b/ ^; K" ?4 N
  34. user_name = user_name_on_the_mysql服务器
    0 O" p' b) X6 ^) C/ m
  35. 密码= password_to_go_with_above_user_name ' _3 z3 t/ ^9 z, B0 L' G
  36. getdriverfunc = getsqldrivermysql ; c$ L' m: Y) y- _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ' c  R: ^- S5 n8 j4 D
  38. libraryname = path_to_libsqlmy_libary
    ' j% i8 \( n1 m9 `% B
  39. 积极= 1
    % r! S8 r# u& s0 X* x" p  s
  40. ---削减这里---
    $ V- D; Z2 C: L/ W6 S: L8 m8 A; L
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 6 E& U( X& J! x4 j- q0 g3 g
  42. ---例如---
    8 e* o* N: v* E8 R5 A& _' N
  43. [ dbexpress ]
    # ~# T/ h) @7 l) G9 ]2 d
  44. sqldir = mysql_sql # B4 A5 z, T- W% r/ `
  45. drivername = MySQL中
    - f, m2 u" C" _3 s7 h
  46. 数据库=测试
    1 A7 d, b1 k, L& X  `4 R3 [# o
  47. 主机=本地主机  q- y, r" D  _# [' S- i
  48. user_name = testuser
    8 |& F9 ~, z/ A/ |- `
  49. 密码= my_password
    - M/ e$ I; z2 }3 [7 x4 m1 G
  50. getdriverfunc = getsqldrivermysql - z) |% \& b9 ~4 c9 L$ [3 W8 |
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ M/ J/ q9 G; b. ?3 x7 V
  52. libraryname =. / libsqlmy.so 6 k: C4 ?* f) X# P) I8 D: y
  53. 积极= 1 6 N2 G: g) S0 W( ~
  54. ---例如--- 9 o( ?/ w5 t0 H7 r) b' \' E( Q

  55. 0 [- M2 c. x8 I/ m, n% g
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * u) ?  {% k/ a6 [
  57. ---例如--- 2 x8 Z- p. }( ~& g+ F% I0 u
  58. [ dbexpress ] ; n) m' a+ O9 \! ]* f+ s
  59. sqldir = mysql_sql
    + m8 o2 f" Y7 m. E& Q9 P. D" Z* P  l
  60. drivername = MySQL中
    , ]! n4 l! u2 N) g, k- h9 R  q
  61. 数据库=测试. Q2 ?8 U- ~1 o. |, m6 K! f3 w* M
  62. 主机= 127.0.0.1
    + o+ p) c" ]  M3 D( |$ A
  63. user_name = testuser 9 Y* {4 E% s/ [) O$ i
  64. 密码= my_password
    ( d& ]: N! X' G: L4 R
  65. getdriverfunc = getsqldrivermysql
    : y* {+ V1 Q4 B% e  L
  66. vendorlib = libmysql.dll在
    & J$ ]# O+ i( c7 E! B% Q' p
  67. libraryname = dbexpmysql.dll " o0 ~5 x: y7 A8 f0 C/ K* C
  68. 积极= 1 : E7 U& Y9 _! r# X/ F0 R" U
  69. ---例如---- , L; o2 M! a8 t2 T' ^+ I
  70. -写在0 2.03.04由p wk.linuxfan7 p, K3 N) E. o9 o
复制代码
发表于 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
1 ~7 d+ P  ]3 {
" g+ Q! g" x! K% qbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-21 23:44 , Processed in 0.096325 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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