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

2534 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" W7 D7 g" i) w& [8 V# K$ Q9 n: @( k; ?
  1. , z7 u5 R) J) {8 K  m/ p8 t' ~+ a
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######& m/ t' Z; g7 ~8 V7 `* o
  3. - O5 T' {' p% c0 f
  4. ### What we need ###7 G+ O3 x: a3 d% u. E
  5. Naturally, we will need a MySQL server to store the data for us, this document . @5 A1 g8 H2 w8 O8 c
  6. will not explain how this can be done - there are documents out there for the
    / w( F# w; u+ x, O5 u  e2 q
  7. interested. The requirements include a (empty) database for TeamSpeak to use, `9 F- G/ C# i+ @
  8. and a user account (username + password) that has the permissions to do stuff- l5 E7 A" s% l  {- p
  9. with the database. Additionally, you will need a vendor library installed on the0 }( B  K  g9 T7 R* f, J
  10. local machine, this came with my MySQL install.
    $ P/ n' l8 f  E1 k
  11. These instructions will not tell you how you might transfer your data from the: g) w6 L1 S8 v- X! l" \, v5 y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ h; v" b% C% E% D7 T% K! O- I
  13. database.
    7 ~9 K" i6 [0 D- ^# K- s
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 \5 l2 F) F/ C
  15. the time of writing, there are still too many issues - check the current status
    2 e0 _. |8 k9 I
  16. in the TeamSpeak forums if you are interested.3 Z. h  x7 F7 m  j: p5 ^2 Z, ^
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! @/ M: j: y) c6 G0 j$ Y) t9 n
  18. Borland was used. This driver can only interface with the client library that $ B# c+ H$ W0 f& e( l, @
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 ]: i, z' u1 ~8 B% O( N- L
  20. client library - basically all you have to do is to use a 3.x client library as
    ( E/ u( P: Z) z: [' `( H; j
  21. "VendorLib" and a 4.x database to connect to.
    ! g' K( X3 [. c
  22. If you need more info about dbExpress, you can contact Borland.
    3 t# C& q$ ]- y6 h5 ~* Z" C( o+ k5 V

  23. ) i4 t+ q( v7 j- l5 @5 w
  24. ### Doing the work ###
    - R0 u. v! M# G  R( M. I8 K* u
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all: F& o. Y1 L  v) O( G
  26. the perquisites right, just open your server.ini file, and add this section at3 M) r; _' W- x, A7 u0 ?
  27. the end:7 [& r9 J3 X, C5 W+ i
  28. ---cut here---! v# D; i1 _8 L7 ?3 \1 H
  29. [DBEXPRESS], A2 {- R# g6 y, z. C
  30. sqldir=mysql_sql
    % g/ R- m1 u" N# ^$ f
  31. Drivername=mysql
    6 v! k  v0 x0 J  n6 X' F3 ^
  32. Database=Your_Database_Name_Here
    : v, `, I6 t# x. p* g. h9 c
  33. Hostname=The_PC_the_MySQL-Server_is_on1 m: r5 d$ ?' _5 T: h2 r# g
  34. User_name=User_name_on_the_MySQL-Server
    $ |2 X* g4 h" B
  35. Password=Password_to_go_with_above_user_name
    8 e( U& ?8 i7 p3 d9 |
  36. GetDriverFunc=getSQLDriverMYSQL, f0 ]1 ]4 d% p& i- g
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 [- U7 \! X7 F$ e, {
  38. LibraryName=path_to_libsqlmy_libary& M% x( `& ~( n+ q3 f* s) R, F
  39. Active=1
    * ]! `  W8 I9 X* l' X- n* {
  40. ---cut here---4 P6 M! r5 _. S. z& r+ W
  41. In my environment (a linux box with a MySQL server running locally) I have:7 p: u* g5 q+ \
  42. ---example---
    + p4 S5 x9 L- C6 b
  43. [DBEXPRESS]
    7 y& W0 e- z8 b
  44. sqldir=mysql_sql4 H1 Q! b% m7 ^8 j& \% [+ G- @
  45. Drivername=mysql+ G# l( K/ F. a: |0 f$ G
  46. Database=test0 q, s- o# D/ ~2 d* W0 x
  47. Hostname=localhost8 [* p% G9 r! f& Y/ b
  48. User_name=testuser& p% m* {$ d9 h4 j2 j3 P
  49. Password=my_password+ O, Y/ p' `9 k% R
  50. GetDriverFunc=getSQLDriverMYSQL5 \% p, x3 J9 z/ E9 t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' u$ X1 u% G7 R, B& i  _) L
  52. LibraryName=./libsqlmy.so
    - o  c2 y% H+ _  {  y. C
  53. Active=1
    / y, P/ T' E; @7 k/ a0 [  D# z# V
  54. ---example---+ {! z# @0 W# O$ D' b0 v$ ^- x% n  X; h

  55. # b3 Y( ^! s  B9 D
  56. On a windows box, also running the MySQL server locally, it would be:5 @- `, @( S) B3 j
  57. ---example---
    5 w9 k: |2 G& h6 ~8 Z6 W& u
  58. [DBEXPRESS]  O( D9 v$ x2 `. }# E
  59. sqldir=mysql_sql
    1 g& e2 @! |1 T0 O6 o; H
  60. Drivername=mysql
    ) }, R5 r0 t; k: C
  61. Database=test  J/ \; S. V& e) L0 y, \
  62. Hostname=127.0.0.1
    . a) t) L9 i7 O0 ^9 M
  63. User_name=testuser- X2 B- J  F9 \8 e* m8 j
  64. Password=my_password
    ' |# h' Y/ {5 O8 F
  65. GetDriverFunc=getSQLDriverMYSQL
    6 j3 f3 q1 N( w4 x- N' W
  66. VendorLib=libmysql.dll3 D3 V$ I, Y; O1 y( x4 u0 E: p! R
  67. LibraryName=dbexpmysql.dll
    & M9 H2 J% a; l, b
  68. Active=10 c- Q( Y* Z4 T
  69. ---example----
    , U. f+ E' ?6 G8 d0 ~! H2 c
  70. - written 02.03.04 by pwk.linuxfan0 ?5 J/ }: Z& q; Z) N. V, b7 p/ \

  71. & p! K- D: y9 [/ W& Y$ H$ L
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 V5 ~; c  J8 q8 d0 X0 r$ V

  1. * R3 F- |! s3 I8 U
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    % Y' b- c" R; I0 v2 Y; g" w
  3. * u- m: r/ o, J0 T
  4. # # #我们所需要# # # 3 C, l$ y8 J# Z+ e/ }( B
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ t, s  o* X$ ^3 |6 s. {; K
  6. 不会解释如何做到这一点-也有文件存在,为1 w: L+ G8 W  H, H- Y# ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用+ m* x& l. X, h, {  S9 }/ ^
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 W2 f% R+ [9 u8 _2 ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . W4 n# U! Q* S# ^" x0 i
  10. 本地机器,这是我的MySQL安装。
    , A& {; H& P8 i; F% i( |
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从' b' f  b" T$ {6 z0 _6 I& T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    0 e" p; ?0 V: b& A+ G6 Q5 B
  13. 数据库。 * @9 }/ ~. g( c- N4 }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 E4 k  g- i7 f9 N- U8 X* q
  15. 编写本报告的时候,仍然有太多的问题-检查现状# y5 n5 ?. w* U
  16. 在teamspeak论坛,如果你有兴趣。
    # D/ m0 [" M8 u8 i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% L# a$ [) U3 w# K( w, ]
  18. Borland公司使用。这个司机只能界面与客户端库$ R; b& d7 v9 R
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    / {! L% Y3 f, F, C+ X' h( r2 ~! |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为# z# K7 `# C7 |" w7 T% `
  21. " vendorlib " ,并解数据库连接。
    $ l! f, b$ V' ^% {( {3 c& E) M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! ?6 s) T; ~7 x6 b3 B

  23. + z( F9 B. L% a" G  C: p0 e1 O
  24. # # #做好工作# # # ; _: ^. M- F5 i7 ]! Z: D: I) ^
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  R+ c/ ^* A+ ]1 Q" I' i& U* {% ]& ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* [! w+ G2 p! Z& R' g; j% Q  C
  27. 结束:
    1 y  H! `' H" Z5 Y  q$ ?
  28. ---削减这里---
    $ H( |3 D6 R. [. C! ^6 V
  29. [ dbexpress ]
    6 r2 N: ?6 X9 A  v7 ^
  30. sqldir = mysql_sql 1 z& H) D& O5 ~( b+ \0 m  w* f
  31. drivername = MySQL中
    5 ^# M7 T+ z# x9 V2 `4 `/ m
  32. 数据库= your_database_name_here & {+ O& m1 S) B. P6 G
  33. 主机= the_pc_the_mysql - server_is_on
    / \9 v& Y# @. w: d" a9 [3 S
  34. user_name = user_name_on_the_mysql服务器3 r7 J2 k6 h/ C  p) @
  35. 密码= password_to_go_with_above_user_name 6 B$ g9 O9 o3 V/ q1 A$ Y9 ~* z8 X
  36. getdriverfunc = getsqldrivermysql
    4 Q) e. A7 [* T5 S! y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , `1 o/ a& \* J4 a. T
  38. libraryname = path_to_libsqlmy_libary 7 U8 b6 N# |! R0 M" h" u
  39. 积极= 1
    4 `0 `' s9 }: o( q. L, p7 j0 h
  40. ---削减这里---
    & \* u6 j0 u0 ^5 f& Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    : R+ e1 O) |0 n5 l' i
  42. ---例如--- - |' j1 m4 v0 N2 T' s
  43. [ dbexpress ]
    * w2 r% T! n$ E8 k
  44. sqldir = mysql_sql
    ! g) k- e, X8 k: @9 `
  45. drivername = MySQL中
    ; m0 [  _$ u) F7 Y
  46. 数据库=测试
    2 d/ y9 F; X  S- {# k/ ]
  47. 主机=本地主机
    9 Q- \3 \$ z. J5 l  F9 ~' P
  48. user_name = testuser
    % `( H2 f/ ?; q- t: A  h0 u
  49. 密码= my_password
    ! ^3 y$ E) ~/ `
  50. getdriverfunc = getsqldrivermysql * B: K+ ~$ y) I! J  P1 Y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 # {0 w+ e" S1 ?5 u# F
  52. libraryname =. / libsqlmy.so % u/ Y9 `- T2 y2 z9 f0 F
  53. 积极= 1
    + q3 k4 R6 F+ \0 V
  54. ---例如--- 9 g  i; t# H" k) {. p
  55. # o& H( q4 M/ x! f* v# Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ \) \) I9 Q" @
  57. ---例如---
    9 ?$ X& G9 D) h  b
  58. [ dbexpress ]
      Z0 _- ]# h% g" M) E. U
  59. sqldir = mysql_sql
    9 r& o; ~# S1 d3 T% f8 t
  60. drivername = MySQL中
    ' `( w+ e% c( e& d! w0 Z
  61. 数据库=测试
    ) ^- H' ?! |, j8 e/ P9 r
  62. 主机= 127.0.0.1 ) T! K; o& [  K& H) }
  63. user_name = testuser
    + f2 m, _6 L. y9 A% Y
  64. 密码= my_password 2 P# ?% \: @, u8 h- P
  65. getdriverfunc = getsqldrivermysql ' q3 e/ t3 ~7 B* t% N1 y
  66. vendorlib = libmysql.dll在  ?# l) E' C, e* [5 }, Z8 `  k
  67. libraryname = dbexpmysql.dll : t; ^4 l+ ~' E' G# L; f
  68. 积极= 1 3 S  h" H6 h/ I: F
  69. ---例如----
    6 \4 @8 y+ U  {' r1 R, Q- d, `
  70. -写在0 2.03.04由p wk.linuxfan
    0 k! k3 c" M, f" M; Y9 N4 |4 w
复制代码
发表于 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' Y4 }) @. {$ V4 p, K) Q) ?) G

- @" x8 D5 C8 o0 x- ?8 R) I7 Z( ?: Vbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-19 15:51 , Processed in 0.099133 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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