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

3486 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
% X7 n' z& W0 J/ H& i8 \1 h
5 F7 r  P' D( ^$ k8 n( D

  1. * Q4 v! K2 o0 F4 A) i: N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; f* a1 r& A$ z3 t

  3. + J1 T) T( N/ d2 q; `6 M
  4. ### What we need ###) _4 P4 [+ k2 w" F! e/ {' }8 G
  5. Naturally, we will need a MySQL server to store the data for us, this document ) V5 ?5 A+ B% ~! d+ c% B7 J0 [6 k
  6. will not explain how this can be done - there are documents out there for the
    # c& ~8 I0 P& \  q. K
  7. interested. The requirements include a (empty) database for TeamSpeak to use- Q* y  m' c( P
  8. and a user account (username + password) that has the permissions to do stuff. a1 S4 K4 |( }; D4 I1 _3 l
  9. with the database. Additionally, you will need a vendor library installed on the2 D" `6 ~: n+ T# Q, o" G! r% l
  10. local machine, this came with my MySQL install.
    ! Z& |8 |% n, v) o: ~5 L
  11. These instructions will not tell you how you might transfer your data from the
    ! ?, k/ R( I& x2 a* P8 F
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    2 e' O: o$ N" S7 w6 q' s2 `3 u/ D
  13. database.6 n. ?$ r2 V/ R
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 Z9 x! w. v" u
  15. the time of writing, there are still too many issues - check the current status. e6 \2 Q1 N" t/ i. j; u7 f
  16. in the TeamSpeak forums if you are interested.3 `: a7 b/ e+ Q+ c& f2 _
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 y5 Z, y: _( v# n+ W9 |9 k
  18. Borland was used. This driver can only interface with the client library that % ]: G$ q6 [2 I- ]4 l. q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    6 {$ C8 j7 _- t. G" ~  O9 H: i5 J
  20. client library - basically all you have to do is to use a 3.x client library as
    + G) D" r* [! r4 I) J8 y! b
  21. "VendorLib" and a 4.x database to connect to.
    3 N1 \" H$ u) A* c. Z8 }5 J
  22. If you need more info about dbExpress, you can contact Borland.8 k& ?* M4 n% p8 R

  23. - p) B# d- [7 \. G8 y) x2 O
  24. ### Doing the work ###; J8 w7 t- \) i5 V7 }& c' a! B* a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : b" _* C& T. a6 v
  26. the perquisites right, just open your server.ini file, and add this section at4 U% c5 l8 l8 Z, D
  27. the end:
    5 _$ W9 c" [8 s2 }% S0 N9 V+ u
  28. ---cut here---
    + C' J" d2 |# ~7 Z
  29. [DBEXPRESS]9 N: {9 ^5 G1 I
  30. sqldir=mysql_sql9 u' {' g9 F$ t: F
  31. Drivername=mysql
    ; e- D0 y# g$ x2 l
  32. Database=Your_Database_Name_Here, t1 X0 M* u( h% z* ]
  33. Hostname=The_PC_the_MySQL-Server_is_on2 e% Y! K) Q' F9 X# R/ R/ H
  34. User_name=User_name_on_the_MySQL-Server9 }( b# c  m6 |* R
  35. Password=Password_to_go_with_above_user_name) i- L9 |1 w1 T2 R" Q3 m) `
  36. GetDriverFunc=getSQLDriverMYSQL  L- m% O% v0 b8 b$ `( k
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 V. x+ Z. b! \5 N8 [) |; Q
  38. LibraryName=path_to_libsqlmy_libary
    . p# m# A& L- M
  39. Active=1
    + ?/ X4 d* s7 o9 S
  40. ---cut here---$ h2 N4 I( U  P1 r0 u5 ?
  41. In my environment (a linux box with a MySQL server running locally) I have:
    # F1 @) _2 w2 b! a- d
  42. ---example---
    8 K. F% S' l3 X/ d1 E0 `- ~
  43. [DBEXPRESS]2 I6 U# y8 }6 o  O$ y
  44. sqldir=mysql_sql
    ! Q7 w: E( B  E- A9 |
  45. Drivername=mysql/ e5 ?, ]7 \& I" Y* p' i0 ~& E7 F
  46. Database=test, N, a- L. T' w5 p$ O! I7 m1 ~
  47. Hostname=localhost( ^+ R& y# a7 E' B, u1 N
  48. User_name=testuser
    . a8 A* q! t& @; L  V) z3 d9 T- Y
  49. Password=my_password
    $ X5 ?( T% w' R7 o. C2 ~: E9 g
  50. GetDriverFunc=getSQLDriverMYSQL
    ( k7 \7 b  g3 A$ X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0, k# h) M) M7 g3 h+ T- w
  52. LibraryName=./libsqlmy.so0 p7 [# q3 V4 c3 O8 `+ Q/ T
  53. Active=1
    6 }2 R( H) Z- o+ \" y2 o  }1 H; |
  54. ---example---
    ; \4 A0 \! {4 i4 i5 m2 P
  55. 4 J+ i4 ]! z% X) Z) v. V* N( y
  56. On a windows box, also running the MySQL server locally, it would be:
    / I  S7 w1 ]9 p- O0 h, z* G
  57. ---example---5 y) Z2 |, r. z0 o3 q0 K2 l
  58. [DBEXPRESS]% l% c* ]( f5 a) u% E
  59. sqldir=mysql_sql% K  a+ K5 a, B0 \
  60. Drivername=mysql+ c) y4 |8 i5 y* o1 |
  61. Database=test- _1 o, l/ o( E" M
  62. Hostname=127.0.0.1
    - y  L" s- r, e  w- E6 q6 Q/ s4 ^
  63. User_name=testuser& E4 i7 w/ E" A  Q2 G
  64. Password=my_password* V) E2 U. H/ V# f
  65. GetDriverFunc=getSQLDriverMYSQL: l+ \4 F# X$ u. C3 J: n; V" J
  66. VendorLib=libmysql.dll
    1 U# D4 b9 l! P, k! m
  67. LibraryName=dbexpmysql.dll5 \+ U  X- ]$ r! J/ m+ f/ l
  68. Active=1. P) }) a$ c8 \$ M+ V$ {
  69. ---example----! w8 H  K: ^; M7 _, M. [
  70. - written 02.03.04 by pwk.linuxfan" M) |5 S) J8 t4 F3 s
  71. $ Z. z8 X: |& \! K- G
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 }% X! u6 d- n

  1. 0 \' Z) T0 K* s7 u6 ~+ M7 p/ V
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 n* S8 D, f* z0 Y
  3. ) s- b' |; b* @
  4. # # #我们所需要# # # , m. a% n9 ]! d$ w. I0 U
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # h1 D; R5 ?6 j& |* W7 t1 Q
  6. 不会解释如何做到这一点-也有文件存在,为5 B9 D, v9 T: ]/ Z0 m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ' T& p# \8 L% O1 `/ A: J, v" ?& t* p2 w
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 z/ I. Z$ ?! ^
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ u, H( s  {; P# d# Y
  10. 本地机器,这是我的MySQL安装。
    7 @6 t0 \3 R. [8 k
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 U- M, a$ f* ?: y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ [- O% c7 \0 H- S2 ~5 t0 U
  13. 数据库。
    ' M% b' Z# u: ^$ b) P& i+ q5 i
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % p' G' o' _- n, P6 v
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    : n! _: t  R. e
  16. 在teamspeak论坛,如果你有兴趣。
    4 N6 \" U7 N7 n* h) P
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机& q$ n  e  t" Q- C. k
  18. Borland公司使用。这个司机只能界面与客户端库$ K, ]# g; _5 D9 F0 D% w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! w0 \/ S1 k0 j' l9 q9 ^2 c7 _
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . _- l( H/ M5 u. D1 w) ~3 o
  21. " vendorlib " ,并解数据库连接。
    # g; R5 z0 ^" Y8 L& B+ x5 M  T) V
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    2 l3 @# W3 g3 y2 u4 [4 g, ~% L

  23. ; \/ `0 Z: r! A4 B8 {' e% B+ s5 q& i
  24. # # #做好工作# # # / r; y, L6 O8 f# n
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  M! A% Z$ t. a/ [" M3 c* p' Z9 h  D# `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ p& ?; R5 A. k+ A; P! r- Y4 [
  27. 结束: 2 H8 I' Y. i, b+ E$ D/ ~
  28. ---削减这里--- ( V, |* e% m6 Z' y( a
  29. [ dbexpress ] 6 w( o) p5 c1 m  z& u4 e/ |
  30. sqldir = mysql_sql
    ) g: i+ L* X2 K$ s' H
  31. drivername = MySQL中
    % @. }5 v2 c' J- b6 [
  32. 数据库= your_database_name_here $ J# F. `; }* m' R/ C, h
  33. 主机= the_pc_the_mysql - server_is_on - l& A, u* C4 `: u% S" c* n) v+ V0 Q
  34. user_name = user_name_on_the_mysql服务器. k5 x5 l3 p" Z( r
  35. 密码= password_to_go_with_above_user_name
    ( }1 T( P0 p, E8 ?: [  G6 R6 q
  36. getdriverfunc = getsqldrivermysql
    + q; F' h2 }) [+ S# U; M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 n( e0 A0 h8 ]+ m" q2 f9 S
  38. libraryname = path_to_libsqlmy_libary
    / @7 X% d( R1 s: J6 R, g
  39. 积极= 1
    5 u( |  z; M5 h* E
  40. ---削减这里---
    % t7 a4 I5 p* C
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; Y. |- r/ g9 t- i& @0 U9 r8 W
  42. ---例如---
    8 z$ J# ~  K) u. W0 q4 W7 n' ^
  43. [ dbexpress ] ' k* y: Z9 H7 E; D( B
  44. sqldir = mysql_sql
    # E' @% x# w5 L2 s8 c' J+ R$ x
  45. drivername = MySQL中
    2 @+ q$ q/ I8 M" J0 t/ `
  46. 数据库=测试
    ) U0 i- }+ {% [' P) H9 m
  47. 主机=本地主机
    " w0 o" }8 N  N6 \, p* p) i* n
  48. user_name = testuser . \: `$ U1 j2 i! J% A
  49. 密码= my_password ( c" C8 u0 Y3 u4 P: w
  50. getdriverfunc = getsqldrivermysql # u9 P1 V0 U" Y* P
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ g5 y# r; V# \" _. p8 x" R; ?6 \
  52. libraryname =. / libsqlmy.so
    . q1 _" e3 r8 _0 ~4 |
  53. 积极= 1 ! N( N4 ?4 G- A# {
  54. ---例如--- 4 Q5 w* G) e; W; t
  55. 6 s) l1 F4 l/ D) c
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 C- q. A* D" E  S! G, b6 `
  57. ---例如--- # Y; [; Q; {1 e! N3 h' n1 k% g& v; s
  58. [ dbexpress ]   H2 y9 P2 A; u$ O4 t
  59. sqldir = mysql_sql
    ; d0 ^1 F3 ~  ~9 z
  60. drivername = MySQL中
    " j( s+ P6 Q( ^! |( }
  61. 数据库=测试! T& W+ p1 ^( i$ o: ]1 P% b6 ?
  62. 主机= 127.0.0.1 + e) c  w  v9 @3 P+ P
  63. user_name = testuser ! Q7 @. T4 M4 `" y6 ]1 P
  64. 密码= my_password 0 ?( R. L; Q8 [8 U3 f0 U# @
  65. getdriverfunc = getsqldrivermysql ' h! L) m+ i5 l" u( K
  66. vendorlib = libmysql.dll在
    - J" s; u/ G; n& f+ t
  67. libraryname = dbexpmysql.dll ) P6 C0 a+ v# ?0 `  c7 p
  68. 积极= 1 6 N0 A8 r# R9 C* U4 ]2 M. [
  69. ---例如----
    * \4 n2 g% K5 O2 x
  70. -写在0 2.03.04由p wk.linuxfan. q/ k6 K( o. P% I, U3 e/ Y0 Z3 _3 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' h4 @, L! D( K) E

* l. |- j- Y$ a# C/ H" Xbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-7 17:14 , Processed in 0.051285 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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