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

2837 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 p. k! Y, I( f% R
6 k0 c  K3 ]: b" e, E6 E3 j) u

  1. 6 ~, J& f2 e. p9 N8 ^
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( j4 @9 y# P& I1 R

  3. + V5 ?6 X" d2 F  Z& l" [7 d
  4. ### What we need ###
    1 f- K/ D" Q7 v6 i; @9 |1 K+ Q- [% u
  5. Naturally, we will need a MySQL server to store the data for us, this document 0 G5 t7 w( N" S+ E# `# a
  6. will not explain how this can be done - there are documents out there for the
    7 f6 ]% m; y. }1 J1 J8 o
  7. interested. The requirements include a (empty) database for TeamSpeak to use9 a0 G6 X7 L- u# w" R
  8. and a user account (username + password) that has the permissions to do stuff
    3 Y, p6 g* \3 b# ]" p
  9. with the database. Additionally, you will need a vendor library installed on the
    ( _- F+ z5 U  c/ |: Q6 N& Z7 ~
  10. local machine, this came with my MySQL install.
    * k7 `' W8 p4 a$ d! @# C
  11. These instructions will not tell you how you might transfer your data from the. ]5 j1 T" {- S! _" Z9 e! M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 Q$ N9 X6 N3 O4 Q: U
  13. database.7 x: O. W% Z1 T* w$ R; |) o0 d0 g
  14. Some users have reported ways to import a SQLite database into MySQL, but at. F; j) ?, e+ d8 {* i
  15. the time of writing, there are still too many issues - check the current status+ D) w1 q( H' |4 \
  16. in the TeamSpeak forums if you are interested.  k3 G! n! f) x) p" ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from; `) T8 _3 Y% l
  18. Borland was used. This driver can only interface with the client library that
    ( B# I% ?1 A' x+ F) K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    , R0 r" ]3 I+ A
  20. client library - basically all you have to do is to use a 3.x client library as
    8 G0 m' U" F- q, H
  21. "VendorLib" and a 4.x database to connect to.
    " v) f% L" t! ?
  22. If you need more info about dbExpress, you can contact Borland.  H% o. V+ M- K4 J
  23. 2 T6 b/ a! W4 K
  24. ### Doing the work ###
    - @% l, u+ b: S( u9 f/ ]
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ! i1 f: N( e  V
  26. the perquisites right, just open your server.ini file, and add this section at
    % k( [( i2 o) V, E
  27. the end:7 m# S) L4 C9 j7 u2 j7 {. j
  28. ---cut here---" J# w* m* B9 X
  29. [DBEXPRESS]2 @  D6 R0 n6 j% ?% ]
  30. sqldir=mysql_sql- g% d; j& n! y& U) Z
  31. Drivername=mysql/ V# ]" G9 [/ k: H+ z5 c. z! e
  32. Database=Your_Database_Name_Here; g% C3 q( x$ @* V3 ^# b
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 \8 r- c5 w! R2 m
  34. User_name=User_name_on_the_MySQL-Server
    7 M; ^3 V/ D/ }- \  ~3 {
  35. Password=Password_to_go_with_above_user_name5 h' V1 A6 _7 S( G8 c9 y  d
  36. GetDriverFunc=getSQLDriverMYSQL
    9 C6 E6 w+ f: ]. f) e8 h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 q, m# |' i& B8 {& B
  38. LibraryName=path_to_libsqlmy_libary( J% W' S$ f1 W6 h3 {0 G3 U
  39. Active=1
    " A- N( \  N% J5 `& ?' i8 x+ C
  40. ---cut here---3 p; t7 R: V; F8 }* k
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / O! `2 T* u( o6 |3 J- J( M
  42. ---example---' c/ ]! ]4 r- s9 F+ I" @' G
  43. [DBEXPRESS]5 s: H' y: v1 g
  44. sqldir=mysql_sql
    3 o2 i: h7 S; v9 [. R5 P+ |
  45. Drivername=mysql: T" i8 C# C5 _1 @/ {2 X- E
  46. Database=test) F+ @1 q2 d% j8 q0 C
  47. Hostname=localhost
    $ Q/ ^  A+ }6 n, i2 h# `8 G
  48. User_name=testuser9 j2 y  `. U' h& k; p& G4 P
  49. Password=my_password
    . J1 K, t+ G' i/ E7 k( {$ n
  50. GetDriverFunc=getSQLDriverMYSQL
    + n  g& i$ A( h" m; `6 s0 l5 T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; v+ o" h% H9 F
  52. LibraryName=./libsqlmy.so; i% C# f  w' I1 m9 o
  53. Active=1+ Q! h* Y0 l4 u/ o4 ^# x
  54. ---example---
    9 S, ~( \% }. P9 c( q9 d' M
  55.   a" b, @5 w% }) U
  56. On a windows box, also running the MySQL server locally, it would be:( ?1 e( A" s2 F: {2 f( _2 D- c. U
  57. ---example---
    4 a; \: d7 R$ D! B5 B2 X
  58. [DBEXPRESS]/ l! p: E  a# `4 I% W
  59. sqldir=mysql_sql
    3 U6 d+ }( `' F% t0 A* U4 f" _
  60. Drivername=mysql
    # T5 P! i& E6 ]8 y
  61. Database=test
    / V) A& m( t6 R! l
  62. Hostname=127.0.0.17 C8 ?. V3 W$ d; U( r- ~
  63. User_name=testuser; M6 R% z" m) j6 m
  64. Password=my_password
    8 f8 b) S* g% ?/ z5 l3 N6 a
  65. GetDriverFunc=getSQLDriverMYSQL
    6 L  N. A9 y( g# l6 L  S5 b
  66. VendorLib=libmysql.dll
    1 v3 C  ~1 R: _0 @  r& f
  67. LibraryName=dbexpmysql.dll
    # X# U: h! v- l) o! |3 C! h
  68. Active=1
    - \! L! j; \+ d+ V, u
  69. ---example----+ O, P" X' `: O. U4 z7 T
  70. - written 02.03.04 by pwk.linuxfan
    1 c7 p. }& G! g9 J# k% }

  71. & D8 `2 V$ N% m  l
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
# S3 P1 V; z0 {3 Q5 k
  1. # ~& N1 ~9 _# A) Y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / U9 d/ |- o7 x8 E$ U5 G

  3. ' T: B" b6 F* N
  4. # # #我们所需要# # # ! M. @1 O& T+ U% |
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( _' y  A. N; Y. D5 O
  6. 不会解释如何做到这一点-也有文件存在,为. [/ r* G' e  @/ J
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    + l: ]& b. j) G1 O: _
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) K3 ?2 }3 r8 P% n: ]% @7 ~' c
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 |3 |8 [" _. `! a3 s) U' `
  10. 本地机器,这是我的MySQL安装。
    9 n2 s6 ]$ b2 |* @5 U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, o5 x4 d% V7 o
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    / k; [3 {4 `. U
  13. 数据库。
    # M, \& R8 l7 E2 s1 e
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在# z& L& h- ^$ u1 \1 K4 W
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . N' m. W$ I* `; [. y& d
  16. 在teamspeak论坛,如果你有兴趣。 ! \) `6 v7 a' x6 j6 {: b4 t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    - E; ~1 Y9 f( J$ q" G
  18. Borland公司使用。这个司机只能界面与客户端库
    & R6 U. V9 O5 Q1 U$ f6 A5 I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 h1 n. ~$ S$ @' k; a7 w6 ?- ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ ^  @/ Z  y: W8 I. W9 [: M
  21. " vendorlib " ,并解数据库连接。
    # J, c  l  j& |* R0 X8 u3 \8 i
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 f8 U- w) T# f5 t; ~
  23. ; ]3 _* k" A3 R  ]
  24. # # #做好工作# # # 9 Q( a( c0 e, A' q8 D8 `/ n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, M( {6 @5 r; ^
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
      s2 p" Z, U) a
  27. 结束:
    0 R6 @! r" }% a. M7 I
  28. ---削减这里---
    8 ~1 u1 D- M* F
  29. [ dbexpress ]
    9 ?( n" r5 J6 p9 e5 o* o/ ]! M
  30. sqldir = mysql_sql
    ( Z- z0 P# [; X/ R
  31. drivername = MySQL中
    9 X' S+ @) `9 m
  32. 数据库= your_database_name_here
    ; q# ^- |6 h% D& `
  33. 主机= the_pc_the_mysql - server_is_on
    ( k: t) B0 K4 A3 m
  34. user_name = user_name_on_the_mysql服务器
    2 R0 S4 Y) O5 s
  35. 密码= password_to_go_with_above_user_name ) J/ e6 f" q3 E6 \2 n
  36. getdriverfunc = getsqldrivermysql
    * K) @  T# ?9 a. i/ @- x+ l5 m  ^
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 c) @1 G& k/ v* @
  38. libraryname = path_to_libsqlmy_libary 1 r; e, {4 X2 Y% E! }5 s
  39. 积极= 1
    ( P: X  Z3 y2 @) A% E6 p6 g1 s
  40. ---削减这里---
    9 C+ x& e: p9 i1 i3 v' J, [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    1 W5 t3 ]9 j' V/ ^  J1 C, t; \
  42. ---例如---
    1 K# @  ^) _0 F) E
  43. [ dbexpress ]
    : ^  A! v; C7 ?! `
  44. sqldir = mysql_sql : k/ j$ B  x6 _7 E$ z
  45. drivername = MySQL中
    - n4 w) m/ c/ B: E, a# R  Y0 ?" h/ F
  46. 数据库=测试
    * R3 P! T6 Q! s0 N+ F2 L1 y- X
  47. 主机=本地主机. _: E+ H( P$ Y3 @' j
  48. user_name = testuser - L, p7 n" _& W+ F
  49. 密码= my_password
    % N& D& ?2 K$ H( T" i
  50. getdriverfunc = getsqldrivermysql / U1 q/ N! s3 l. S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 6 m. U5 Y, O) b# w
  52. libraryname =. / libsqlmy.so " [& `1 a2 e, ?- F" O0 D
  53. 积极= 1 & Y: L. k( o  W/ b0 z
  54. ---例如---
    6 i. p8 R5 f$ [: H
  55. * F2 a' z/ e2 l8 s0 T0 @3 Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % }6 U4 g/ I) P0 B' J: d
  57. ---例如--- 4 j) z; p8 n' t2 j
  58. [ dbexpress ] 6 [  N( A' f+ e7 X1 J3 Y
  59. sqldir = mysql_sql
    3 E3 i: m8 t& M
  60. drivername = MySQL中
    3 P4 v# N0 }/ X' \! D8 ^' W8 O" R
  61. 数据库=测试
    $ X' U" S+ h$ _! e
  62. 主机= 127.0.0.1 & \4 k* t* O. w5 r8 c
  63. user_name = testuser
    4 r0 ]1 A) s  x; }- I9 I  z  d% p
  64. 密码= my_password
    0 m7 l# O4 k- Q# t1 W* z
  65. getdriverfunc = getsqldrivermysql
    # E/ u- e+ A: H7 T
  66. vendorlib = libmysql.dll在# }  @( M7 {5 w+ u1 u+ G8 A" y
  67. libraryname = dbexpmysql.dll ' d, E  u% S- K- z& f! y& c
  68. 积极= 1 ) F! ?. D) F' y+ P( G
  69. ---例如----
    5 t9 g/ T  s" b: ?- k2 X/ G+ s# K0 ?
  70. -写在0 2.03.04由p wk.linuxfan
    ( J& f3 Z/ y  c9 n7 ~
复制代码
发表于 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 c3 Z! |, w# l  V6 _' F
) @( K- V+ ^  U* s* 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-3 12:31 , Processed in 0.120395 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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