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

2158 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# N2 `1 P1 C+ C7 A! ?* `$ n, `2 P1 K) _8 ~- ^7 r, r

  1. 2 e" x; z- ^6 O& T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : K( s1 h4 b) H7 l' y
  3. 0 d: I! q- x7 s, Q$ K
  4. ### What we need ###2 r8 W( w- v4 {: q, t
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( p1 l. {7 h6 f" r0 |! Q
  6. will not explain how this can be done - there are documents out there for the 3 a: k. a  h' D) A5 y) O
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 A+ k1 ^$ \: X1 j% q6 g
  8. and a user account (username + password) that has the permissions to do stuff6 u  C( @: ~- S2 D, Y
  9. with the database. Additionally, you will need a vendor library installed on the/ a! J' i% T# k% j
  10. local machine, this came with my MySQL install.
    * O+ u! J7 |% G8 g8 F
  11. These instructions will not tell you how you might transfer your data from the
    ; r8 V( I  K/ y: }4 }/ n* d' c4 y5 Y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL% J: I2 G" D+ v" l
  13. database.( H+ I0 P% u" @6 ^: k+ W
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + F7 _1 m' ]0 X) _" x/ P6 W
  15. the time of writing, there are still too many issues - check the current status, x& E' R; b& C( A
  16. in the TeamSpeak forums if you are interested.( Z  c( ?/ I* i+ l2 F( b9 p1 L
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( ?# U& v% T" o: |
  18. Borland was used. This driver can only interface with the client library that ; T3 @9 p8 j8 ]! k# ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    $ A: z& k6 {/ V  k( X
  20. client library - basically all you have to do is to use a 3.x client library as . I! a- M3 J+ }! L
  21. "VendorLib" and a 4.x database to connect to.; p; S8 U9 z; \
  22. If you need more info about dbExpress, you can contact Borland.
    ) E) U$ g1 V, \' O9 @( j1 [2 J

  23. ! B: a1 x. z( |% f7 t3 Y
  24. ### Doing the work ###" V" D1 t  Z8 c; p0 G! U* E7 [  y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ F) A7 K* C2 N9 [- S; {6 N0 p
  26. the perquisites right, just open your server.ini file, and add this section at& x( v6 N1 k0 e2 N4 F
  27. the end:
    / N2 D6 r# w# c% N% D$ h$ A
  28. ---cut here---# e3 E; ^$ s  ~( z* n, V5 Q
  29. [DBEXPRESS]
    / y* }! R" z& S) C# G
  30. sqldir=mysql_sql2 q- l! A  R1 i1 o* S
  31. Drivername=mysql
    ) w) D7 i) N  C% L
  32. Database=Your_Database_Name_Here$ ?. ~1 [/ j1 P& S
  33. Hostname=The_PC_the_MySQL-Server_is_on
    7 Z) M% ]* v9 ~3 j! \7 e
  34. User_name=User_name_on_the_MySQL-Server/ K+ k6 H% ?  a; r; \& n
  35. Password=Password_to_go_with_above_user_name8 y. o2 Y" c' A+ c9 O2 A
  36. GetDriverFunc=getSQLDriverMYSQL% c/ ]: b/ S% m
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( {! t1 @* W1 J& }$ @8 V
  38. LibraryName=path_to_libsqlmy_libary3 P$ ]" e8 Z$ K) j
  39. Active=15 ^7 z! w' q& k3 Q. [
  40. ---cut here---: e" ^- X+ ~2 @7 C# M
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & o* F  c" c* }- @- b! V( Z
  42. ---example---, ?& W! U6 |! z
  43. [DBEXPRESS]4 x! J" `) I7 E5 F# P+ f
  44. sqldir=mysql_sql$ q. w) g) M% ]! S/ @% P2 j7 ]
  45. Drivername=mysql% a! Q5 V5 ~3 T  F  M3 d% L0 W9 G
  46. Database=test* ]/ Y8 y, L. o1 B
  47. Hostname=localhost+ O7 D6 |( s7 r
  48. User_name=testuser3 a) _7 K) A- _7 K8 }' a. b3 z
  49. Password=my_password) s' E/ U# z  D
  50. GetDriverFunc=getSQLDriverMYSQL; r. P6 |) ^* D7 v' |
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 v, i& V/ _4 ]2 P* g
  52. LibraryName=./libsqlmy.so$ A+ u4 v+ |; Z
  53. Active=1; Z1 N- \, W1 c
  54. ---example---
    ' H9 H) J2 [* g! \0 I: }1 M" X
  55. 5 Z- U5 S7 h: P% A7 T+ H9 q" K
  56. On a windows box, also running the MySQL server locally, it would be:
    7 O1 E$ c/ d1 C2 v& y2 j
  57. ---example---
    + w* f/ A' T4 G6 Q& X1 ^2 C! @
  58. [DBEXPRESS]
    : v* B" J& a1 B- \1 p8 Y
  59. sqldir=mysql_sql: h5 f, |* P# Q0 ?3 I
  60. Drivername=mysql
    ! G0 C# S; ]0 O3 y8 E" u* y
  61. Database=test! H( }0 U& R9 C! {$ ~# x2 Y3 b
  62. Hostname=127.0.0.14 `6 g& {) C# l6 H3 r" M3 M8 |5 k
  63. User_name=testuser
    " u9 e) Q1 f' n  C$ v$ h3 }
  64. Password=my_password0 P# t. H1 C$ |; W' p
  65. GetDriverFunc=getSQLDriverMYSQL
    7 f0 o) U1 S$ y
  66. VendorLib=libmysql.dll8 H- ^2 C( _9 K( `+ n  o" G* d
  67. LibraryName=dbexpmysql.dll  l5 f/ B( Y9 ?
  68. Active=1( h1 e. }% o  ?* r. s9 g
  69. ---example----5 f# K7 F6 ~8 ^* w( ^- _
  70. - written 02.03.04 by pwk.linuxfan
    ! H# o  J" m3 M0 Y
  71. $ s, ]% N: f% T3 c2 A  a
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看2 e3 Q2 a9 V8 u7 d1 ?
  1. 9 i* b1 b/ G9 F2 O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 I/ _. |  ?) f7 @

  3. : ], Q( S) t$ _9 Y, s
  4. # # #我们所需要# # # * E7 ^1 }0 Y9 H. i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: Q, F- M$ T% i; O1 s! M  f. _6 r
  6. 不会解释如何做到这一点-也有文件存在,为( D. O3 t' Y! x+ ^4 r# r
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    / v. Q# z* y8 o( }: n9 o8 \
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西3 _8 h# E) j. [6 a0 q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( Y+ c3 i" K! x( f* y& K
  10. 本地机器,这是我的MySQL安装。 % Q9 d1 f1 i9 |& I
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- `& m1 o" G. n7 p! M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 R; \2 ^3 w3 t( t# k! m- e
  13. 数据库。 2 y5 ?% k3 {* \: W  {
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 V$ Z1 e/ z. W5 m2 N3 Y
  15. 编写本报告的时候,仍然有太多的问题-检查现状% e2 y7 e1 x9 l3 Q
  16. 在teamspeak论坛,如果你有兴趣。 ! C1 A# U' N5 Y) x( i
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 u# H) B* i* Z) c9 O/ r# V# p4 f
  18. Borland公司使用。这个司机只能界面与客户端库
    - Z1 e5 u7 O- n/ u0 l- f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) T# a3 V4 s2 Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 `9 F  W' r5 ], ~* m- p
  21. " vendorlib " ,并解数据库连接。
      w! q* R3 B0 ]! x' q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 y0 y+ h: i, ]
  23. : f- Q: ]7 V6 x/ d& P  S* }
  24. # # #做好工作# # # ! e/ T! ]5 w8 |6 z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    7 E* [% J4 l8 L( x4 L" p
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在: ^* y; W6 P4 ?$ U) l8 y
  27. 结束: & }, {: Z& I1 t" Q8 M
  28. ---削减这里--- 9 s  Y$ I: }* E, ]
  29. [ dbexpress ] ! k; [; a* u& b) h; A( u8 M
  30. sqldir = mysql_sql
    0 n, q2 B) N7 o! @
  31. drivername = MySQL中9 j$ |" [8 M* y9 F& D5 `3 l9 t6 g
  32. 数据库= your_database_name_here 5 S- X# K, B9 V8 L. G4 t) o4 R- r! E
  33. 主机= the_pc_the_mysql - server_is_on
    8 R4 e, G2 j4 \) _  f9 f
  34. user_name = user_name_on_the_mysql服务器
    . E5 ^% A/ j% D
  35. 密码= password_to_go_with_above_user_name
    0 B* |- ~6 ]* v) p7 p$ u5 E' e
  36. getdriverfunc = getsqldrivermysql + A: |+ P, Y+ Z# W! ^6 r+ i( H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 1 b3 I2 {& X% h. ]5 y" L+ @
  38. libraryname = path_to_libsqlmy_libary + h2 x6 {7 a# {! {% O5 ~! Q1 m3 M9 k
  39. 积极= 1 . M' I/ B1 h) M& }$ {
  40. ---削减这里---
    / k5 ~9 d8 e; }5 c1 X; |
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 z- N% a, M- d8 h
  42. ---例如---
    % |5 s! u9 |4 b3 S: o/ f, ]
  43. [ dbexpress ]
    7 i; [1 t. X& `. r5 l
  44. sqldir = mysql_sql
    6 K' W' E( g( h) b% P
  45. drivername = MySQL中7 y% s2 O) b& }# U; ^
  46. 数据库=测试
    3 N2 t. x0 C. @( B
  47. 主机=本地主机7 Z5 D, I0 L5 w7 ^" S. X3 k
  48. user_name = testuser - Z. @6 a! |/ c* R/ \/ a4 [# a
  49. 密码= my_password
    9 m' v$ W+ f, m# X
  50. getdriverfunc = getsqldrivermysql
    / W2 ?3 }7 T' a# Q5 x! a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    , @* r4 U9 O% W' l
  52. libraryname =. / libsqlmy.so
    % j6 v' K0 E3 a  W  O9 y2 ]: m3 _
  53. 积极= 1
    9 y" ?3 j  V+ x1 `/ j3 ~" D
  54. ---例如--- ( t; a2 @8 c$ _9 t" U. m
  55. ' E/ [" T# O& J% @3 ~( [, X
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
      w- i1 A) c1 _$ W$ ?7 G" q
  57. ---例如--- ' N+ ?8 ]- f8 V- U
  58. [ dbexpress ] ' f0 r. T5 K) f+ d: k4 b: U
  59. sqldir = mysql_sql
    # v+ R1 w: V! _; Q
  60. drivername = MySQL中
    0 D8 E" @& L  X. y) e
  61. 数据库=测试! J' P0 M5 |; M6 v% ?2 C
  62. 主机= 127.0.0.1
      _  W! I0 o3 x4 X$ d
  63. user_name = testuser
    / v+ \" J, z8 S# P9 m
  64. 密码= my_password
    , B/ o6 S$ G% u; t/ C7 s+ h- B
  65. getdriverfunc = getsqldrivermysql
    3 r. ^4 D8 K$ E
  66. vendorlib = libmysql.dll在( T: o0 h0 Y: C% L
  67. libraryname = dbexpmysql.dll
    ) o2 p+ ~" D& L4 [
  68. 积极= 1
    $ i: c* X2 P; w
  69. ---例如----
    # \( r6 I  K& P1 x  e
  70. -写在0 2.03.04由p wk.linuxfan
    7 Y! V0 f# a( J; \# b: I
复制代码
发表于 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' ^+ w, V0 y# [

. }, O9 `+ g7 |but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2025-11-21 17:16 , Processed in 0.097443 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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