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

3571 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 d7 O! p8 w9 q; p
* F) {  L6 K% {( b
  1. / T' `0 |: i" K, x+ n
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 F8 \+ M, X5 {2 M* ]' G7 F
  3. 5 R6 l! f! E! l$ l" ^. K" i
  4. ### What we need ###
    ( g6 Y( _% j) W
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 O3 V1 m4 @: U7 k; u' @2 E
  6. will not explain how this can be done - there are documents out there for the
    8 @0 Y8 L( w4 q. _1 D8 k1 Y8 B9 A
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    + J9 N/ i$ }+ Q
  8. and a user account (username + password) that has the permissions to do stuff7 R& \4 }' W0 C; r
  9. with the database. Additionally, you will need a vendor library installed on the
    & ?6 a/ Z- ?4 {* D' Q
  10. local machine, this came with my MySQL install.7 W" z- H# H. v$ q- x, N
  11. These instructions will not tell you how you might transfer your data from the
    # A) [$ Q( U  p9 Y5 U( i- G( N% y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . y, @( _* ^) \; C- I
  13. database.2 O. v2 ^6 L+ l: f% Q  e
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ _/ H3 C% u" ]. e; \2 d
  15. the time of writing, there are still too many issues - check the current status
    7 J* H5 M( j, ^% `. `
  16. in the TeamSpeak forums if you are interested.; ?' a; ~0 [1 z1 h& \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. r- f( A9 @9 }" ?& m
  18. Borland was used. This driver can only interface with the client library that
    $ X- s. c8 s1 S) L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    9 b, m7 |! z/ @- \
  20. client library - basically all you have to do is to use a 3.x client library as ; m; r9 k" `2 G7 b( S7 j! ^
  21. "VendorLib" and a 4.x database to connect to.
    + {* j& a4 X5 D: P+ O2 ~, V4 x
  22. If you need more info about dbExpress, you can contact Borland.
    * R* M* y9 t$ J$ _% [6 P# F7 G

  23. ; ]2 Q9 B: I: k/ f5 k
  24. ### Doing the work ###
    1 [" u( u+ {# f5 x/ U6 B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) M- ]/ U! @! f
  26. the perquisites right, just open your server.ini file, and add this section at% A7 z4 [: C  S& V( R4 R
  27. the end:
    ( j- Y0 V% x5 O- R9 e( B
  28. ---cut here---
    9 _/ a( S0 a6 M# k3 r* A( ^. V
  29. [DBEXPRESS]5 Y8 j  S8 x4 v6 Q
  30. sqldir=mysql_sql
    ! R$ ^; A3 A" D+ e# r" w
  31. Drivername=mysql9 e- W8 J: j% y  \. F% D5 _
  32. Database=Your_Database_Name_Here
    + r" D1 q' d0 R; B, E" s( b: R
  33. Hostname=The_PC_the_MySQL-Server_is_on& _' \7 S7 z" F3 \
  34. User_name=User_name_on_the_MySQL-Server
    # p1 B; a! k* [% d
  35. Password=Password_to_go_with_above_user_name& `  t8 b  U/ B0 N' d/ _) j
  36. GetDriverFunc=getSQLDriverMYSQL" }( ^5 N& v+ k
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib' c7 \4 p$ n. ]# i$ }2 C8 ^
  38. LibraryName=path_to_libsqlmy_libary
    9 F6 X* G: R; x1 ]7 a" K3 {
  39. Active=18 h! `- v" U; e
  40. ---cut here---% _+ R5 ]8 s+ e6 G# {* E# k
  41. In my environment (a linux box with a MySQL server running locally) I have:7 A6 D4 ^/ V+ Y* R; n; W5 V" {5 z
  42. ---example---
    " L9 d1 U* I2 @2 m& j. _( z% V
  43. [DBEXPRESS]
    . @! x/ n0 E3 L6 ?5 w, @
  44. sqldir=mysql_sql
    & O. p( F% f2 A: Z! i  ~
  45. Drivername=mysql4 ?$ z  a* g. t: C
  46. Database=test$ b' w) @- P8 Q- v! j' \, B/ E
  47. Hostname=localhost
    : V! ]0 Q7 |1 n. D
  48. User_name=testuser
    ' C) h$ ^6 k5 g# I1 N
  49. Password=my_password- Z- R" s( J8 i# R
  50. GetDriverFunc=getSQLDriverMYSQL) G, ]* h6 C+ ~! U6 W! l& ^- j! b
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 U0 Y: ]4 F% K0 ~
  52. LibraryName=./libsqlmy.so
    ! I9 ]: T0 j6 S1 c3 Q
  53. Active=1# q: x( H% @5 ^# Z2 |8 X
  54. ---example---
    : G5 d# Q9 A) X5 |. p3 A
  55. ! k( f# c& m  W' Z. d" R# `
  56. On a windows box, also running the MySQL server locally, it would be:/ K# a8 `% X8 c0 m6 g! A) a- v, W
  57. ---example---
    5 C$ k' T! K7 W' @
  58. [DBEXPRESS]
    ) r$ A; S" ^" U$ i3 V% i! c5 f$ i8 H
  59. sqldir=mysql_sql# X/ Y. J6 y% V- b4 q( h- v! V
  60. Drivername=mysql: O1 U' b* `3 |
  61. Database=test
    9 t# Y! w+ b1 n; O5 ^7 t8 ?+ ]/ p
  62. Hostname=127.0.0.1
    , x( q5 z9 J5 x: `2 f8 c
  63. User_name=testuser/ _6 ]" T. u  T7 J
  64. Password=my_password; R; z) X4 n% M1 U2 R
  65. GetDriverFunc=getSQLDriverMYSQL
    2 I' J) F- A1 o( n, r, [6 {6 S
  66. VendorLib=libmysql.dll
    / D: H2 H* x2 n  O0 X6 N
  67. LibraryName=dbexpmysql.dll( R8 h: T5 B3 g2 p
  68. Active=1/ e& Y# K* u. B5 Y! N5 a) b. ~( A
  69. ---example----
    ; ?2 G2 b! s; o7 }6 L% \
  70. - written 02.03.04 by pwk.linuxfan
    / d( S" C% [& q. I) J1 O0 `' g
  71. 0 Z. u' q  Z+ ^- {; ]+ E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ c' U! j3 d  r
  1. ! S6 i. U5 U# _$ S" X$ J$ H% E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + F( ]0 h; A6 p5 \; ^1 p, U! V0 \

  3. ) c0 W" L6 s( G6 d4 ~4 d% z
  4. # # #我们所需要# # #
    , W8 q- J/ W. A8 x1 N) k1 e
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件7 r0 ~# W9 t8 e# ?
  6. 不会解释如何做到这一点-也有文件存在,为
    : D( U$ ?, ~# }" @' [5 H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用; d4 e" W0 N0 |" M& [
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    " K% A7 g) q$ j, c0 o
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) _. s) w/ I+ \
  10. 本地机器,这是我的MySQL安装。 + E7 l# f( B. S- B( N
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 ?, h" U' d* i2 x( [' D
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL " ]# ^; n' o4 v* J- b  g2 J: q" D
  13. 数据库。
      z+ L6 D1 Q* [# w9 k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 r! k+ y" h; |* A+ v; [& p5 i. q
  15. 编写本报告的时候,仍然有太多的问题-检查现状2 y2 H& X: a& a  {6 [# {- X
  16. 在teamspeak论坛,如果你有兴趣。
    1 H/ o& q1 Z3 h* b( s7 {" d
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 |9 x  H/ f! ~* ^
  18. Borland公司使用。这个司机只能界面与客户端库3 u7 g5 q/ R4 |' ?5 H, E
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! O# S! E/ b  l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    9 h+ n% y) v  f4 h
  21. " vendorlib " ,并解数据库连接。
    ' d1 b; N: r3 P$ D3 ~( ]  ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 h. u, q# T9 b' H' o

  23. ) Z" |3 I' g( Y8 ^! j; Z
  24. # # #做好工作# # #
    . J8 j9 [3 o2 c$ W, Y" {8 ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & y( `. I6 k  r$ G1 o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在& |3 k3 b  A7 |; F4 l3 S0 F  H
  27. 结束:   k- W8 p5 t! l$ c% Q) |! B- F% c- c8 [
  28. ---削减这里--- - S; E: y  _% N( J& u& ]" o# _
  29. [ dbexpress ]
    0 E3 c* U3 }7 ?% l
  30. sqldir = mysql_sql + l4 t! s$ x2 o4 @6 o4 K
  31. drivername = MySQL中
    4 w! P6 _: ?# @* q& T* R1 b
  32. 数据库= your_database_name_here # Y, a0 N. O2 T( q
  33. 主机= the_pc_the_mysql - server_is_on / [( g! b7 [. H8 M
  34. user_name = user_name_on_the_mysql服务器
      g: O7 U" r2 a) @3 f  V
  35. 密码= password_to_go_with_above_user_name
      C2 P/ d* ^% H! P
  36. getdriverfunc = getsqldrivermysql
    & F$ s! h' f: m( W+ c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 B& h, A2 g$ h" s% u
  38. libraryname = path_to_libsqlmy_libary 6 P. s, T+ g/ `" \
  39. 积极= 1 + S9 }! A8 I8 r9 v2 F
  40. ---削减这里--- 8 z+ V' z* A/ f+ g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 G9 q# j( m" y" o; d1 q+ N
  42. ---例如--- ' G+ Q$ `  a4 c: s
  43. [ dbexpress ] 5 x+ x5 G* v4 Y! E
  44. sqldir = mysql_sql
    7 ]1 A- H9 K; J/ H3 D, q
  45. drivername = MySQL中# V2 |* {1 r+ e3 B3 v0 k
  46. 数据库=测试9 V- O: z4 W) Y: y7 V. j8 ~
  47. 主机=本地主机
    2 H2 Z" K. G8 I6 x2 r! ~# I% s
  48. user_name = testuser - Z8 b: [* p, H0 F, J
  49. 密码= my_password
    % O, G- |8 s! T& v4 O$ [1 ?- m
  50. getdriverfunc = getsqldrivermysql 8 P  r3 f8 u3 G9 ~2 o3 z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . J5 ?& {, r& u. Y  T# c
  52. libraryname =. / libsqlmy.so / J- Y0 E' o2 i9 ~7 m
  53. 积极= 1 1 M  l. V" p! w+ D3 P$ a# ^
  54. ---例如--- 9 I7 B! u4 P2 \, w- |

  55. ( E$ k8 _% u$ x: d' i( O2 t
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ; N/ ?: i8 L5 j4 N6 n3 D8 `
  57. ---例如--- 6 _: Z0 |# L: q+ t! O
  58. [ dbexpress ]
    - W- F1 P+ u. |3 n( y9 ]: J
  59. sqldir = mysql_sql 9 L: i, R, z! C) W; O
  60. drivername = MySQL中) h' x: E/ R6 v/ g
  61. 数据库=测试
    7 b1 N9 C; |9 W+ P
  62. 主机= 127.0.0.1   {0 r4 S6 g4 w$ o, i( b
  63. user_name = testuser ( b0 R" \* w7 h% L0 N1 a
  64. 密码= my_password
    $ ~. Z3 k$ U/ D  c
  65. getdriverfunc = getsqldrivermysql
    5 N* ?- j$ _( ~  ]
  66. vendorlib = libmysql.dll在
    ) _, P* c* \7 Q0 d
  67. libraryname = dbexpmysql.dll 8 A- B: Z" }! E! G% q, j0 E
  68. 积极= 1
    ; ?! ~2 l* O% I& h0 j
  69. ---例如----
    , w/ T1 _$ w* I, Y
  70. -写在0 2.03.04由p wk.linuxfan4 V) a' H! l% g) D& P" q
复制代码
发表于 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/ T" J; q9 c2 v3 y7 t1 N5 `- _
4 Y: q7 e; c3 P' R
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-26 23:19 , Processed in 0.052282 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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