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

2810 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
& }1 a7 Y9 |" z8 Z
3 e  _) N" q; _

  1. ( f: `! e0 ~' t8 w! o
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( V4 _) T2 c5 o- m) k0 |

  3. " }- Z. N2 D# G& b, n' {
  4. ### What we need ###" C' L$ w# @5 M- @& l1 J8 v5 y
  5. Naturally, we will need a MySQL server to store the data for us, this document
    . y! P7 c# y9 I" g
  6. will not explain how this can be done - there are documents out there for the
    4 Z) Y, x! S7 q
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 x0 s2 `' S6 e, e( c) B% C4 a( U
  8. and a user account (username + password) that has the permissions to do stuff. U& G4 w* m$ ]2 z: X2 X
  9. with the database. Additionally, you will need a vendor library installed on the* U. j5 z* ?* `
  10. local machine, this came with my MySQL install.( C; V% w; P2 o% J% A+ e' B# O
  11. These instructions will not tell you how you might transfer your data from the% ?% B* }4 S7 W, m) ~4 M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL( t- u; j3 W" T5 Q; I
  13. database.
    5 M! |/ g& F! n, v$ A4 m- }% ~+ W& ^
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ; s2 J* n/ d% _  k
  15. the time of writing, there are still too many issues - check the current status8 V' o! h) z, \; h" Y3 T' M
  16. in the TeamSpeak forums if you are interested.) u3 @& K- ~7 b7 J+ O' J& Q9 z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  ]$ u% [! v* ~1 ~! _
  18. Borland was used. This driver can only interface with the client library that 8 c4 Y8 ^) m2 D6 N4 `5 k/ o9 z9 T0 F
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" _; J6 W% c+ p+ J% B' ], w
  20. client library - basically all you have to do is to use a 3.x client library as 1 G& u! x; u; R8 I
  21. "VendorLib" and a 4.x database to connect to.
    3 z+ \3 B# s6 O
  22. If you need more info about dbExpress, you can contact Borland., n! B: V3 x6 Y3 H- W0 z0 ^+ [

  23. 0 `, V; d1 H( j' \# V, @
  24. ### Doing the work ###4 k$ o- c: v- k# C% U4 B
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ G, ^4 e  E  c
  26. the perquisites right, just open your server.ini file, and add this section at
    5 W% L* P1 T0 J  f6 [) O
  27. the end:+ K$ Z/ p" f# ~' ^* d
  28. ---cut here---
    2 I$ ]) O% V3 W! E) L* z
  29. [DBEXPRESS]
    * D3 _1 c# c4 q0 _! ?' S" J
  30. sqldir=mysql_sql
    7 X9 Q" [  P7 ^* d
  31. Drivername=mysql
    , _+ b) l( j: ~/ {2 y3 O* S3 z7 t! t
  32. Database=Your_Database_Name_Here" \% |5 Z3 R) @: Z+ Y% }! w/ n9 R
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 I3 `& d. X. V2 J
  34. User_name=User_name_on_the_MySQL-Server/ P8 j% u( W" Z7 k: A
  35. Password=Password_to_go_with_above_user_name( q* k8 P9 m/ o: U! c/ P
  36. GetDriverFunc=getSQLDriverMYSQL
    6 h2 D' Z& U. M; y, y! j% L
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib" z" ~, T8 l8 j- f( w! \
  38. LibraryName=path_to_libsqlmy_libary" P+ `+ F0 `/ p2 ^
  39. Active=1
    & n% e2 P1 N& P' Z8 t) X" O
  40. ---cut here---
    * H6 v0 h/ \/ ?& ?/ w# S8 `2 Q
  41. In my environment (a linux box with a MySQL server running locally) I have:. R0 J3 I0 O2 P7 X$ k1 W0 D3 w: T/ J
  42. ---example---# t4 `' j! Q0 d
  43. [DBEXPRESS]: A: G+ q- X3 h$ `' p
  44. sqldir=mysql_sql7 T" d3 w/ n; M: z3 Y/ V
  45. Drivername=mysql& e) Q3 e/ Y7 ]4 p0 r
  46. Database=test* z/ U0 D* b' T, I& }+ |. F
  47. Hostname=localhost
    6 B" l6 G8 f+ V2 c
  48. User_name=testuser3 _% g/ v9 C+ ]. [4 N
  49. Password=my_password2 \4 Z' {: t5 @- q7 s. t$ G! v
  50. GetDriverFunc=getSQLDriverMYSQL( t! r( e, C4 s2 q, F
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 ?7 N% B. M1 {# x2 m) k4 B$ p
  52. LibraryName=./libsqlmy.so
    6 W% w* X* o; E+ c: c; \
  53. Active=1; h* [% L( t0 t* W7 n$ u( J
  54. ---example---% Q6 I; A  {3 f, D$ c: P- v. b

  55. : K. t  K, i/ m8 [
  56. On a windows box, also running the MySQL server locally, it would be:. O, K, [4 h$ ~# z; C+ J1 d
  57. ---example---
    9 n1 W% V3 d$ B2 J0 j( y
  58. [DBEXPRESS]
    6 T: k" Q! m* A8 ^& i5 G
  59. sqldir=mysql_sql; o4 t3 u8 w1 b0 R1 p! U9 s
  60. Drivername=mysql
    2 i+ G' k* v' M( I# o
  61. Database=test
      X+ e3 f) t9 G9 Z1 ?& @
  62. Hostname=127.0.0.1
    : V! d, C6 J) j# [! _! ?+ e
  63. User_name=testuser
    # p8 l7 X1 j, f6 ~, D& D* \
  64. Password=my_password
    ! {7 {! ^6 q+ t9 O% ?8 u
  65. GetDriverFunc=getSQLDriverMYSQL% ]) F# L  |$ ^8 U. C' L9 k; s; m, O
  66. VendorLib=libmysql.dll( [" s6 r% n7 E7 _* T" U6 k
  67. LibraryName=dbexpmysql.dll
    $ a1 Z& b8 F8 Z' E5 F& z8 i; L
  68. Active=1- q/ I3 D1 `& A: F
  69. ---example----
    - U3 {- t- n# M, B
  70. - written 02.03.04 by pwk.linuxfan
    4 W6 z$ Q0 }4 O) c! S" P# ]0 w) {
  71. 3 ^$ R3 R% x4 K; S
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 c1 R9 e9 E0 a# d( B9 Q% y
  1. 3 V: [3 C1 f' A, A' A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' ~/ s6 Y: M# p% i/ {! g1 z
  3. & E- h0 f3 c( j6 V# U0 ?% z
  4. # # #我们所需要# # # / h0 e9 v! ~  b9 S! o7 ?% ?
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件0 ?& K+ \9 A% Q4 p% w* v
  6. 不会解释如何做到这一点-也有文件存在,为
    ; b" x# t2 Y+ E0 o0 A- m# {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' Y# b+ \6 E  s9 l0 K# z# M9 S
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( \% l5 n" j/ Z! |- I
  9. 随着数据库。此外,你需要一个卖方图书馆安装于8 f3 O. M. m4 T' R( d- [
  10. 本地机器,这是我的MySQL安装。 $ E& o7 ]  c6 p# H
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 ~. L1 M+ P( H7 y5 o  b" \" a6 _; W
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 j0 V5 h( q) d# f9 ?/ B& V9 D+ T! s
  13. 数据库。 0 M4 u  R4 E, U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    / F" H- n# C* h) s5 f! c
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 g* L# D/ C4 S1 c$ E; |
  16. 在teamspeak论坛,如果你有兴趣。
    5 {  v- M* |, K/ k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ I# p* {) X; \) d+ V2 @  W( ~
  18. Borland公司使用。这个司机只能界面与客户端库4 Z; J3 Z* G7 `: h
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! f1 p0 k8 E3 q. J" d0 c* T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 S# Z# K& A( u5 q* j; }& x1 W
  21. " vendorlib " ,并解数据库连接。
      n* t0 g& W: ~
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    " W; E% r; J/ }  @/ V
  23. & u4 Y& a6 k2 X/ F
  24. # # #做好工作# # #
    ) F. v& w- v! Y" H; V; W
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    0 |8 p% Q! e, p2 }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在1 m4 s1 b% u" W7 G* p
  27. 结束:
    , u7 j5 T2 h# l9 g; G
  28. ---削减这里---
    5 D2 t, a& \9 t: H( f2 j4 p
  29. [ dbexpress ] . ?- [9 `3 @  L
  30. sqldir = mysql_sql
    $ X) H! {0 ^/ U
  31. drivername = MySQL中
    $ B0 ~7 L' ]% [1 V6 o
  32. 数据库= your_database_name_here
    # h  N& b/ L/ a9 k) k4 l  H
  33. 主机= the_pc_the_mysql - server_is_on
    6 H1 _2 w3 A- p! [2 \; X! i: n% u
  34. user_name = user_name_on_the_mysql服务器
    4 r* ?6 e  h& Q* W
  35. 密码= password_to_go_with_above_user_name : ?- H7 U7 h# o* L: \1 K3 j4 o. N
  36. getdriverfunc = getsqldrivermysql
    % T2 L) y% k9 y0 E
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , D( D) i' c5 b  Z9 H+ L
  38. libraryname = path_to_libsqlmy_libary
    1 K' h7 C! D9 L# G! G) M$ u
  39. 积极= 1 2 W& `9 {' j7 Z; S+ [0 R
  40. ---削减这里--- ( {( ?' Y  z) S* h
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 0 f' _* U+ P5 B4 X' `8 ]% y( S
  42. ---例如--- ; c* o/ Y8 F+ a! W
  43. [ dbexpress ] 7 A/ f! Q2 C1 o% w9 K5 c6 k4 u( E
  44. sqldir = mysql_sql   k" f; G) e) y+ z$ k5 {
  45. drivername = MySQL中
    : w; ~% z5 }# h, C- u
  46. 数据库=测试
    6 ]# N# q9 `: _4 M" s) p' Z
  47. 主机=本地主机
    ; s! l+ Z7 U8 l4 d5 o/ Z
  48. user_name = testuser 8 \5 I4 w- i; Z/ u
  49. 密码= my_password 0 h+ i0 E) H0 _; Y0 v
  50. getdriverfunc = getsqldrivermysql 5 C* `% L* z1 J/ O0 \' N3 A) c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    5 V5 L4 v$ L/ Z4 M8 z# f' k
  52. libraryname =. / libsqlmy.so 5 V6 n( v, h  ^$ M
  53. 积极= 1
    . B$ j/ W3 Z! A. e
  54. ---例如---
    * u( \0 h( g5 W# {6 D3 F$ c5 |
  55. ' R4 d* l6 Q# h! B  g- G! P
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & m6 R* L; |4 ^7 k; H
  57. ---例如--- : Y: t: N8 A! U5 X
  58. [ dbexpress ] # O$ A# o6 k3 J
  59. sqldir = mysql_sql # e6 `2 J9 D+ o. r* ^( G
  60. drivername = MySQL中9 _' K" B% F5 R; Y2 h
  61. 数据库=测试8 c" m# z& I4 Z* O5 n
  62. 主机= 127.0.0.1 7 H5 v3 S4 C3 ^! x' j2 S
  63. user_name = testuser
    8 F* u" k$ @5 Q2 h0 _# O- @) v% Z$ W& s
  64. 密码= my_password 2 b- n' V0 j4 Q' O3 \! m' r
  65. getdriverfunc = getsqldrivermysql
    6 b2 \# t* \  K0 D
  66. vendorlib = libmysql.dll在
    % W. y+ v. D- S
  67. libraryname = dbexpmysql.dll
    ) H5 m- i) G" o; n: r, t
  68. 积极= 1 7 M" Z  @( W& ~" }0 i  q
  69. ---例如----
    2 h& M  ]* F7 C& V/ c9 U( W' h) N
  70. -写在0 2.03.04由p wk.linuxfan
    - G& i& K1 Y% n9 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 words
0 z& `5 N# q' A) N# D! v9 x/ t  X5 W( F8 D
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-27 04:32 , Processed in 0.100286 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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