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

2883 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
. J7 \" b, F- Z/ w2 f; {' T. {( z% Q/ q! C
  1. ! Y( E# Z0 \2 E- \# j/ W
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ; T# R: ^% d1 \' {3 {/ x% \  [
  3. , _* s; v+ q5 }# R
  4. ### What we need ###
    6 n( y( ]7 ~# B3 }- n$ L0 K
  5. Naturally, we will need a MySQL server to store the data for us, this document + R& N/ j$ h4 ^$ e0 s3 l3 z2 G
  6. will not explain how this can be done - there are documents out there for the
    ' s: H/ c! W( w  s- h: A( I
  7. interested. The requirements include a (empty) database for TeamSpeak to use" z7 A8 e$ S) z: _
  8. and a user account (username + password) that has the permissions to do stuff) v& D0 S2 S9 B0 E
  9. with the database. Additionally, you will need a vendor library installed on the
    $ H; I# y& V) p4 f5 ?4 L
  10. local machine, this came with my MySQL install.5 f. p7 X9 D6 ?" u% P& w
  11. These instructions will not tell you how you might transfer your data from the
    4 q* ~( U* E& @4 Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ @1 ?- ~) T2 k; o+ {: Q
  13. database.
    , N. L0 c/ |7 U" p5 u+ Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ _4 R% b( `  L- a2 j
  15. the time of writing, there are still too many issues - check the current status7 x) s" A' [! z
  16. in the TeamSpeak forums if you are interested.
    * ~  N4 M* e  m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( Q5 t. o% E; ?- {3 U' V! D
  18. Borland was used. This driver can only interface with the client library that
    0 z8 G# {+ l# r' J7 L" s( u
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    8 F3 f. @1 }) T4 ~# }4 z
  20. client library - basically all you have to do is to use a 3.x client library as
    5 G- P2 q9 e8 l+ T1 E: Q8 V: n* f
  21. "VendorLib" and a 4.x database to connect to.
    5 y' @5 u) ~; f6 L- S" M5 F! w  ?
  22. If you need more info about dbExpress, you can contact Borland.
    + o, U+ W% G4 [

  23. " I6 S3 ^& x* @) {. x9 ?+ t
  24. ### Doing the work ###$ R0 h% j4 T3 A0 ^1 O
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ) }! ~. e. @" O5 D- c' @/ a
  26. the perquisites right, just open your server.ini file, and add this section at. U, q! q4 J2 L% p5 Q9 n: p5 r7 C
  27. the end:
    1 z8 X' ~* |5 t: z( z) o3 A
  28. ---cut here---
    2 q/ v+ @  a7 Q+ d
  29. [DBEXPRESS]
    / W; m3 _( H. j1 e, ]
  30. sqldir=mysql_sql. {' c  W; a( f) P9 U
  31. Drivername=mysql
    / A3 k8 y. p" S) g9 \/ \& q
  32. Database=Your_Database_Name_Here
    4 X% N; |# ?- |) y# r
  33. Hostname=The_PC_the_MySQL-Server_is_on+ x' l: i" M8 c4 e' I* b
  34. User_name=User_name_on_the_MySQL-Server& [, {# u, i. X; b
  35. Password=Password_to_go_with_above_user_name+ \; o- Z& h0 v6 m# _3 S/ y' b& I
  36. GetDriverFunc=getSQLDriverMYSQL) Y& V$ v' u& ]! i2 Y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& U4 r* I4 {5 c6 Z
  38. LibraryName=path_to_libsqlmy_libary* @( ]4 ]) h, x! ^! R
  39. Active=11 w3 R! {' ?( p
  40. ---cut here---
    4 A, [; E1 E9 A% P7 V
  41. In my environment (a linux box with a MySQL server running locally) I have:
    + T4 Z3 u) i+ X, l) h9 A
  42. ---example---% H4 m/ H1 I" x) x0 A% C
  43. [DBEXPRESS]6 I1 c! K1 I9 M% H
  44. sqldir=mysql_sql* w+ E+ F* r! \8 Z- n) ?2 V# J
  45. Drivername=mysql
    $ S1 {* v" |2 q, n$ H1 m$ d
  46. Database=test
      r- @7 h2 ~# n: z8 p8 r' D" q7 o# W
  47. Hostname=localhost! d- Q, S* r1 f- |! y' }
  48. User_name=testuser# v  Q0 A$ D$ M! x  `9 S' C; I
  49. Password=my_password
    4 y. F/ d( k0 \! i
  50. GetDriverFunc=getSQLDriverMYSQL
    ; A! D# \" i4 s' X
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 K8 ]; j7 B/ j) F0 D" Q4 a  w' f
  52. LibraryName=./libsqlmy.so
    ( S4 A3 x3 F4 n, O+ N0 \% s
  53. Active=1
    6 M/ [8 \$ j/ Q0 u7 n2 ^9 l7 `# X4 f+ ]
  54. ---example---: q0 D# O+ W* O+ x  R2 K
  55.   B$ S1 ?& C* U/ W
  56. On a windows box, also running the MySQL server locally, it would be:& D3 m, p. [5 }& f% |' X2 ^
  57. ---example---
    # [" D* \3 j+ I, @
  58. [DBEXPRESS]
    ; E) U: h3 i. [( A# X: i1 [
  59. sqldir=mysql_sql1 W/ w( G& y3 q# W
  60. Drivername=mysql$ d0 I8 G$ y- C  ^
  61. Database=test1 w, ?/ r- @1 t3 @! d
  62. Hostname=127.0.0.1
    4 g- w% Y, A# f' n
  63. User_name=testuser+ V$ p# P% |/ ?+ |- i2 N
  64. Password=my_password  T. l2 o3 G9 |1 d. `4 ^
  65. GetDriverFunc=getSQLDriverMYSQL
    $ w1 N7 w  Z. d: C7 N  c
  66. VendorLib=libmysql.dll
    . \4 R8 \" [5 s- Z
  67. LibraryName=dbexpmysql.dll- ~! k0 H% h# ^5 H3 o. x
  68. Active=1
    : h( J2 r7 `0 f9 \5 p
  69. ---example----) @& E# \" y6 }3 w7 n6 m9 ~4 o
  70. - written 02.03.04 by pwk.linuxfan
    3 H4 ]# a2 O$ o% }2 T9 \; a

  71. 2 Q/ j( v% P$ P0 i+ z3 d
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  D2 i4 [' p# V+ Y2 F# a0 S9 J
  1. 0 `" }% o4 {1 Z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ( h7 ?  P: h1 ?7 V% F3 }5 u& P& b- u5 P, y

  3. 5 M% Z! ^: Z8 i( N+ N
  4. # # #我们所需要# # #
    ) [# p3 Y; r, V. ^. y3 j, D) Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + Z' K& X8 [/ Y. a9 K1 j  H' ?/ O! Q
  6. 不会解释如何做到这一点-也有文件存在,为9 K* ^6 {8 N4 u/ ~( X' S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    . L  H) Q6 J8 x# w$ [% z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 |- g3 G* P, |7 ]# T0 N
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 z! ?2 S& q  E* f6 _3 ?# ~( V* r
  10. 本地机器,这是我的MySQL安装。 ' h) R4 p6 ~8 O, g$ _9 `
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    7 s+ L$ J- c  V5 H
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 \6 \$ B5 S7 ~+ X+ |3 w
  13. 数据库。
      [9 S  w, ~7 N
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 A, S* z, e* V* x% h: ~, _
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , Z7 `5 u7 T  i# m  A5 @9 y- b6 j6 o
  16. 在teamspeak论坛,如果你有兴趣。
    0 P& e' o4 {: X; H2 @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机% z, m- I/ B, t
  18. Borland公司使用。这个司机只能界面与客户端库6 }3 M4 `0 T* ~! `1 N2 V
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 ]* D9 L* F; e9 @% b; p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. A5 ], j( B. ~9 z
  21. " vendorlib " ,并解数据库连接。 + t% K. `. g+ k
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ s5 T1 j7 j/ a) l, ?

  23. ' b. G' e* D& j, ?, y! U) U
  24. # # #做好工作# # # 2 x: M2 y7 Z6 |1 V6 N2 S
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & Q8 [, o, g& `  s, d9 }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ! M3 Q% s& V% s6 z4 o
  27. 结束:
    + z0 P4 W2 K- S" y
  28. ---削减这里--- ' W4 x* w- [+ o" S  X+ w# g
  29. [ dbexpress ]
    ' g& q2 s. L% j  v
  30. sqldir = mysql_sql
    8 Z+ i# Q3 v0 U" o/ F% X( W6 g
  31. drivername = MySQL中
    8 {8 w+ f8 ]# M
  32. 数据库= your_database_name_here
    ( l' c2 S( E- d" f% ]& e. x) d4 m
  33. 主机= the_pc_the_mysql - server_is_on
    & i. ?) i; E) e4 D, l& i
  34. user_name = user_name_on_the_mysql服务器6 G8 n8 `5 x: g5 t) e
  35. 密码= password_to_go_with_above_user_name # T8 r6 @- O. n$ g
  36. getdriverfunc = getsqldrivermysql
    ' F/ ~0 B. z4 m: ]
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    7 U. o3 O9 v# c* I) [
  38. libraryname = path_to_libsqlmy_libary
    + i8 |3 m# U3 d. O8 \* Y% i0 ]
  39. 积极= 1
    7 y" J; z, W! |3 a, I4 T7 A
  40. ---削减这里---
    & d/ r+ D7 `7 Q" o1 Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " N" W' }! [1 B2 L5 \  d
  42. ---例如---
    . s5 g" \9 P0 W0 D& s  V9 p! d
  43. [ dbexpress ]
    9 J( l# j- h1 c( n0 u8 p  ?/ ]
  44. sqldir = mysql_sql
    0 [$ C  T3 d( N! v7 G
  45. drivername = MySQL中
    4 U# |- J& o$ [
  46. 数据库=测试( D4 D( U) X: ~
  47. 主机=本地主机+ f! a/ p, L6 f" m4 ~6 @5 h
  48. user_name = testuser
    7 M. S3 Q9 w4 j! Q, k7 k% k
  49. 密码= my_password * p( U# _! R' @+ p
  50. getdriverfunc = getsqldrivermysql
    9 z' k. Q/ t& D) X, f4 q" J% c3 c
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " h/ o2 K. l' ^
  52. libraryname =. / libsqlmy.so + {, V. l* a- [& |
  53. 积极= 1
    " N: O# d2 ~, m# Y' A9 g: k) T  @* T6 C
  54. ---例如---
    ! Y6 ~5 X; G9 D) i
  55. 3 I( h! |1 k  _
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % Q! b0 r4 I8 p8 {
  57. ---例如--- # I5 a2 s8 V, S- N+ h
  58. [ dbexpress ]
    ( O! E. N( D* n) ?; H
  59. sqldir = mysql_sql
    4 l6 l+ [# F/ C9 Y8 y3 _+ b9 ^
  60. drivername = MySQL中% b  w. ~1 C. f
  61. 数据库=测试1 k( n, z% W8 w/ l
  62. 主机= 127.0.0.1
    / c/ `3 V1 n- D& D1 v1 N% i8 r
  63. user_name = testuser 0 {$ M- E0 z5 @3 Y# n4 t
  64. 密码= my_password
    / l0 _2 ^* E; }" o! n& A3 j
  65. getdriverfunc = getsqldrivermysql . S$ k5 X0 F8 Y' }) ~; d
  66. vendorlib = libmysql.dll在+ ~8 G( m5 `9 g3 Z9 w% b
  67. libraryname = dbexpmysql.dll ; K# O* x) h# p1 Z
  68. 积极= 1
    1 k' l$ k0 _8 g
  69. ---例如----
    4 u& [7 n. v# A. K+ F3 z0 a! k6 ~
  70. -写在0 2.03.04由p wk.linuxfan7 e# r* t. k2 [; N
复制代码
发表于 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
# k/ x. @+ B# c8 i
8 N0 d( @1 ^2 ?, Y! N$ fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-13 01:20 , Processed in 0.108022 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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