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

2408 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 v% P5 s0 S0 S1 ?# p/ ^) q% h

' D2 p% }( N1 U' T; d' ?
  1. % P7 ?! c& k+ P8 X0 {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    4 T$ @, S: f0 l4 b
  3. 3 }# E8 C4 K& |6 T0 P/ y0 k6 Z7 ~
  4. ### What we need ###
    6 _$ a/ A( R& n* x7 p1 v) X% T
  5. Naturally, we will need a MySQL server to store the data for us, this document 3 F- y! C* U2 f( v
  6. will not explain how this can be done - there are documents out there for the
    4 Y# `( s5 n4 q) h% r
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    % Y/ o/ C- e* a1 p1 ~( A6 P4 C
  8. and a user account (username + password) that has the permissions to do stuff% z1 Q+ t: p, {9 |2 A
  9. with the database. Additionally, you will need a vendor library installed on the0 u4 W. l, f8 ?
  10. local machine, this came with my MySQL install.% s2 X4 x) ]  Q) E, y
  11. These instructions will not tell you how you might transfer your data from the4 W2 k& r9 x# ?5 x3 |9 j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & T% i; p0 b) y: C  m9 W! ?
  13. database.0 [- I7 G+ {$ j
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ A, M3 g% i7 w7 z' L  K
  15. the time of writing, there are still too many issues - check the current status0 v7 j5 @/ _: }0 t+ Y0 Q
  16. in the TeamSpeak forums if you are interested.
    * h' _4 Y" M( U3 R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " u% f7 S# A( Y/ s3 B" Y, c
  18. Borland was used. This driver can only interface with the client library that
    ! r5 G0 d* R1 i1 Z0 F& S7 b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    8 n; d0 }4 \) ^! Z1 V
  20. client library - basically all you have to do is to use a 3.x client library as
    $ `! v6 C/ }2 X2 D, f
  21. "VendorLib" and a 4.x database to connect to.8 M0 W8 O- ?% N  Z0 i  x: R6 Q
  22. If you need more info about dbExpress, you can contact Borland.
    % \( m1 ]5 O: j7 y
  23. # c4 ?! u5 A9 }7 }
  24. ### Doing the work ###
    1 A% d5 k5 c2 U/ N; Y, o- j, O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all9 E6 ?5 n" ^! n6 r+ {# W- K: H
  26. the perquisites right, just open your server.ini file, and add this section at
    3 A8 o3 u8 a% i
  27. the end:" Y+ z6 R/ Z7 k9 ?0 G
  28. ---cut here---
    4 W( a% v  m/ F6 j& `- x! S% o9 j
  29. [DBEXPRESS]* ^; F" v( V' A
  30. sqldir=mysql_sql
    & _8 J' {' f3 N6 @$ e
  31. Drivername=mysql
    ) E( E$ y- e+ m% ^; z
  32. Database=Your_Database_Name_Here9 Q. W, J9 h. r! p2 y# _3 \
  33. Hostname=The_PC_the_MySQL-Server_is_on" z6 k% x  T! ^& _5 k6 R
  34. User_name=User_name_on_the_MySQL-Server  C, E5 B0 {5 u  P6 M2 ~
  35. Password=Password_to_go_with_above_user_name
    2 [% @+ {) v6 e4 W
  36. GetDriverFunc=getSQLDriverMYSQL3 f* w: l! _; }3 `: ~6 \
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; V! }; ^" U! d' |
  38. LibraryName=path_to_libsqlmy_libary; o& b' T, u: H# w7 X, c2 j( o
  39. Active=1
    5 S  }' v' M" a2 O
  40. ---cut here---
    " @6 B: |9 V( A; G) ^& y% x
  41. In my environment (a linux box with a MySQL server running locally) I have:
    , d+ t& j" M+ J1 U
  42. ---example---
    8 J7 X" I7 R2 U6 k
  43. [DBEXPRESS]% A% e6 a6 O$ d( E. i
  44. sqldir=mysql_sql
    : C/ Z( t1 a0 f; \# T5 `4 Q
  45. Drivername=mysql
    7 x2 y# v5 O3 J
  46. Database=test
    1 }! ]. y4 K3 c1 N/ z4 A
  47. Hostname=localhost
    6 A! [# w  |8 K1 a4 w$ T& _. W1 B
  48. User_name=testuser
    , `5 O. N) _1 j; v% s
  49. Password=my_password4 d# T, ^, c& t7 Y/ Z" n" U
  50. GetDriverFunc=getSQLDriverMYSQL) ?! i7 d0 w. ^) q' L) n
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    * S( R  K% K' ~2 k/ L- y
  52. LibraryName=./libsqlmy.so) R9 R9 `  d: N# e! x4 @
  53. Active=1
    8 H4 O, u, v: Y# v- [
  54. ---example---
    " t: e+ D2 s5 r" c! l4 i5 z% W
  55. 9 W; r% ^, Y! U1 @" P, Z
  56. On a windows box, also running the MySQL server locally, it would be:" I0 U! M7 P7 y7 \5 B/ l2 K
  57. ---example---
    5 }2 B* }4 q* e8 L! X4 z4 Q4 S  U: m
  58. [DBEXPRESS]
    , U$ Y6 t2 j+ _$ k" |
  59. sqldir=mysql_sql
    ' A! G8 D4 @7 M$ T+ `+ j, D9 j
  60. Drivername=mysql
    2 E- k+ h" ?- O
  61. Database=test
    . }  r% `0 Q: `7 G/ \. t  p
  62. Hostname=127.0.0.1
    9 G  a8 g+ w! c3 B4 ?
  63. User_name=testuser5 u/ w; J0 D9 y1 {5 K2 y. ?
  64. Password=my_password& l' r) `/ M7 O- u4 i  u5 i( l$ H* \
  65. GetDriverFunc=getSQLDriverMYSQL
    " f% |1 }& p4 u$ D$ r
  66. VendorLib=libmysql.dll* {1 T* @  e& x' l
  67. LibraryName=dbexpmysql.dll
    & v' G, p% s" E; h
  68. Active=1
    & |, `) b( G3 p# a2 V# D. \! l
  69. ---example----
    6 ~/ E% W+ L3 ?& u- x8 U
  70. - written 02.03.04 by pwk.linuxfan
    % J; J) \7 B9 @0 H& t

  71. ' z# {& p5 g! W! b% I, \8 a0 ~
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看5 J( F9 _1 @; x4 V

  1. 5 X+ x# e& ]! @  x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 \+ ?9 o* ~# G5 \5 \" a9 h
  3. 0 l+ u8 S; N  ?3 I7 P4 T: [
  4. # # #我们所需要# # # ) s( G% a6 \: J# u
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 F/ s6 V  B, ?6 `' L  d
  6. 不会解释如何做到这一点-也有文件存在,为- b! v# w; u" Q' ?8 Y  t
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 Z* D% q  S/ E8 V: Z& _' }- Y
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西8 @2 y) `% V% E( U  L1 x. U
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% |' S3 X  K" b& q
  10. 本地机器,这是我的MySQL安装。 6 R; d) ]) |; z3 q/ Y0 n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从/ S" q6 E& q& ^( u, l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 |8 V3 e/ ]' S0 G, M
  13. 数据库。 + ?9 n( b* _+ b' z: y/ U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ) Y; O! o& b7 y% ]# i
  15. 编写本报告的时候,仍然有太多的问题-检查现状( X! J/ y3 e4 o6 v0 d/ E7 v
  16. 在teamspeak论坛,如果你有兴趣。
    8 ^  Z- f! j3 V: B! V+ n
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: r# [8 t3 Z( ^5 m3 m
  18. Borland公司使用。这个司机只能界面与客户端库
    % E4 H# B0 E8 |, u9 K8 s5 b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    , c  M9 Y; z  F$ F% a6 c
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! g& n/ z" d+ ?% d: n5 y0 T) \+ x! H
  21. " vendorlib " ,并解数据库连接。 ) U; \% |" W" m# d6 S5 w  E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , L5 E2 t* q# \0 z- j3 L

  23. 0 K2 Y% O. W+ d# ?2 U# y$ n
  24. # # #做好工作# # #
    % T! e- w% ^# i2 u
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    , y  c" E, B/ [% L$ m: U" k. `5 ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    % B3 O' B5 b+ P. s' u) }
  27. 结束: # F# W' I/ x" M2 {$ n  o& o
  28. ---削减这里--- ; M" p3 ~, O* J. ?
  29. [ dbexpress ]
    / O5 V' y' K/ ?) z( t1 V+ k
  30. sqldir = mysql_sql
    9 g' g( o3 Q! T8 q0 @& [
  31. drivername = MySQL中( P5 [  \1 H5 a6 g4 N) e( n
  32. 数据库= your_database_name_here ) ?( W& \+ ^  Z$ {9 \
  33. 主机= the_pc_the_mysql - server_is_on
    * B( _' [4 G, n2 J5 g' X
  34. user_name = user_name_on_the_mysql服务器
    ( C  h$ ^8 L' H! C5 c! [! {8 T$ W
  35. 密码= password_to_go_with_above_user_name   f. g( W- W; b# A9 B
  36. getdriverfunc = getsqldrivermysql & z! W& `6 I3 X8 K' O. }
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib . {$ }$ P/ D6 P+ ?8 y( A$ w' U
  38. libraryname = path_to_libsqlmy_libary 3 }* _; P$ ^6 w6 S! H" H4 F& [9 A1 x
  39. 积极= 1 : x; f) U. G( H0 Q9 [) g" l
  40. ---削减这里---
    1 P4 X5 E. o" r2 ?8 s
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( w* V) g8 s6 E8 I9 @
  42. ---例如---
    - ~* y9 x9 ]3 [& J
  43. [ dbexpress ]
    5 X2 s& g8 \1 b" `+ l
  44. sqldir = mysql_sql
    0 }- ]: L  E% l' T4 U! C: _
  45. drivername = MySQL中
    + n5 \" Q. U0 v  u4 h4 V, O
  46. 数据库=测试
    ' [- h- g5 }7 j
  47. 主机=本地主机
    ) j, L+ U# e: R: z' g
  48. user_name = testuser
    $ P6 \7 Y( K8 {1 M
  49. 密码= my_password
    & x+ ~$ R6 D& u
  50. getdriverfunc = getsqldrivermysql
    * _, d! S0 S9 w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    6 S# v, M9 S$ ]' w
  52. libraryname =. / libsqlmy.so 6 q9 G( |9 c. w) ~
  53. 积极= 1 + T- n7 s$ t. m8 G6 h
  54. ---例如---
    : o* s: L# i6 p+ P! q" g! O
  55. ' T2 e8 O$ b3 t& r3 I) C5 T7 G
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , J$ }8 n9 u! d- m5 u
  57. ---例如--- ' ^3 p1 D* l' H! w; K6 S8 x
  58. [ dbexpress ]
    ! Z" X: l# F$ h6 Y
  59. sqldir = mysql_sql
    & N! ~- F& K( a6 f4 E0 R& A! d% W
  60. drivername = MySQL中
    + U. q# ?9 w- b* Y, y# q% v3 K: K
  61. 数据库=测试
    * e% C& D0 H4 [, X4 e. \1 I
  62. 主机= 127.0.0.1
      e9 q1 S+ b% I8 @. O
  63. user_name = testuser   `3 f4 l3 m& h( i. o: x
  64. 密码= my_password
    ; y% q: P# M# O5 D0 C6 ?
  65. getdriverfunc = getsqldrivermysql # `3 F* @& T5 H
  66. vendorlib = libmysql.dll在
    8 J# r3 E% i7 \$ o* Q1 H
  67. libraryname = dbexpmysql.dll
      G- M5 l5 }. K1 h
  68. 积极= 1
    , ?; ~: E% U+ D3 H% Q
  69. ---例如----
    4 x" h; S  y, X. \$ f
  70. -写在0 2.03.04由p wk.linuxfan/ b2 {- j% {7 F7 V
复制代码
发表于 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 words2 f# X" P$ f2 L  D* r$ ~
* A/ u$ h( {% E: ~8 W; Z0 z
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-25 17:13 , Processed in 0.113147 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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