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

2223 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 H  R: W* T" [# P8 U: D- @( n; q* c
0 F/ Z, d* k7 M# l" V# c; K  v
  1. 6 y" J  L' k5 Q! V% L- k( r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######% G  M, U4 n1 A! @! z0 G% c+ R
  3. 7 M6 D. L$ w: g5 H* g# U6 x# }8 B. W
  4. ### What we need ###) j( u+ G* G7 Z9 y: B" D+ ^
  5. Naturally, we will need a MySQL server to store the data for us, this document
    9 h0 i7 t6 H0 Y9 D; h
  6. will not explain how this can be done - there are documents out there for the
    % o0 d3 t8 L( r* z$ J
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 V& J( P- X6 F, G  c2 ^# @0 D
  8. and a user account (username + password) that has the permissions to do stuff* o* {' j5 S2 c$ m+ M* o+ T3 [
  9. with the database. Additionally, you will need a vendor library installed on the7 {- {+ |3 I) k1 G5 d
  10. local machine, this came with my MySQL install.
    9 ~& n2 {0 W, j
  11. These instructions will not tell you how you might transfer your data from the# c7 I5 V2 l: j3 Y, ]0 }
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " T! p% t% L. M& I) P- j
  13. database.
    , i6 k  \: |1 H" n, s8 E% }' Z
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 D* d3 ^" U& k" j" ~6 B
  15. the time of writing, there are still too many issues - check the current status) o# Q% f# D/ D1 r4 z& w  f
  16. in the TeamSpeak forums if you are interested.
    . V; |; a; g- g) C7 S
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    5 y( [9 x/ `( w& m9 j
  18. Borland was used. This driver can only interface with the client library that & ^3 X, Y& s2 o! B/ `$ x' F' f9 a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 U8 r! X5 c! }5 X5 ^! X
  20. client library - basically all you have to do is to use a 3.x client library as 8 g- W8 _- V7 e8 C4 B( n( x1 y* U
  21. "VendorLib" and a 4.x database to connect to.
    2 N  n  I, U9 E- `) U: M2 `
  22. If you need more info about dbExpress, you can contact Borland.
    ' T3 S* @: a6 |9 [# p2 X  h5 e
  23. : [0 [* }) ]" I9 _5 q1 b
  24. ### Doing the work ###/ X1 S' y& d' W/ E: ?+ z; w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # T' e7 E0 L. j+ I2 N/ Q. o
  26. the perquisites right, just open your server.ini file, and add this section at4 h& b4 h! n+ E9 P( U
  27. the end:8 Q+ _6 o/ `8 m6 n
  28. ---cut here---
    2 P( p( b- |: f' d  Q) U) n% Z
  29. [DBEXPRESS]
    * b# R6 Z" g! G7 I) B
  30. sqldir=mysql_sql
    # H  v# Y* u: d) G8 f
  31. Drivername=mysql
    " W; H) q5 j& Z. Y4 y- y( ^
  32. Database=Your_Database_Name_Here7 W4 P; y, p) _4 B( ]
  33. Hostname=The_PC_the_MySQL-Server_is_on( I1 x" i  j" c7 S  B6 q  d
  34. User_name=User_name_on_the_MySQL-Server. E' m1 x1 @6 U2 |
  35. Password=Password_to_go_with_above_user_name
      c- a& B; z( ]
  36. GetDriverFunc=getSQLDriverMYSQL
    " b* L5 W8 `9 o: E4 N* _
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib. M, f/ h/ T4 W* H
  38. LibraryName=path_to_libsqlmy_libary$ q! B9 ~- s- y% l
  39. Active=1
    ( d$ N  D1 u/ R
  40. ---cut here---1 _7 K9 I; e8 }' z2 Q/ M+ C6 z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 A! e3 _( S. E* {
  42. ---example---) Z% V9 N, d* ~$ u+ A! Z
  43. [DBEXPRESS]
    3 v& ^6 s7 y0 Q+ f( T' s% W
  44. sqldir=mysql_sql0 u1 ^' l# B+ @3 M: Z4 p6 b
  45. Drivername=mysql
    6 ^# j$ y/ ~! e; f
  46. Database=test
    . s8 i1 f, z) _
  47. Hostname=localhost2 {% T! g; S4 s& ^1 w
  48. User_name=testuser
    1 H! @0 |3 r" d/ D- d# }" v
  49. Password=my_password9 B, U. b* f7 b: c# T1 Z! S
  50. GetDriverFunc=getSQLDriverMYSQL5 C" |$ [/ j7 R6 ?8 b( \2 Q" M
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0  D9 [2 v9 V5 |1 a5 T( \, [. @
  52. LibraryName=./libsqlmy.so; i- i6 H% t# C& T
  53. Active=1, O+ G9 p5 J4 k) D7 ?% L9 _! o6 a
  54. ---example---
    9 D  [% u$ l; B/ M5 W) r
  55. 8 l1 h+ }! P5 d6 ]
  56. On a windows box, also running the MySQL server locally, it would be:
    , I% V. Q" Q; e9 [
  57. ---example---
    & s, [# U, o8 \1 U4 O+ \  i7 @
  58. [DBEXPRESS]9 ~3 d7 R) i$ n+ {
  59. sqldir=mysql_sql
    ) |7 M: [- U: ^  b$ j- c
  60. Drivername=mysql* U' x/ f7 j: F4 k& U% o* h# l
  61. Database=test* N* g5 v* g9 n
  62. Hostname=127.0.0.16 b" f1 q/ @! D7 ?& i
  63. User_name=testuser' A3 \8 A+ l( K: U
  64. Password=my_password, i0 l# L$ A( k9 y7 v
  65. GetDriverFunc=getSQLDriverMYSQL8 v8 A7 l& H2 H
  66. VendorLib=libmysql.dll0 J) Z" ^  ?2 n4 K3 h
  67. LibraryName=dbexpmysql.dll& b$ `7 f# K: e+ d! s% {$ {/ D' X6 E
  68. Active=1
    $ P1 Q; A" n: Q5 g! I+ X
  69. ---example----
    1 R1 H& G, ~+ R2 v1 J+ ~" m& Y( k
  70. - written 02.03.04 by pwk.linuxfan
    5 H& d) K$ w- f+ n- W/ s

  71. # f3 c5 z0 A9 v
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看* u5 Q5 |/ f. l. o9 J
  1. & U, r6 M' }0 I# H' ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 ?$ ~: b* K- U$ W- q& @
  3. % S2 d- X8 V4 F& X$ u
  4. # # #我们所需要# # # ' F5 f. j2 Q$ K* }/ A" ~- |( m
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 Z. j3 S9 I* y1 M: t! H- d) C
  6. 不会解释如何做到这一点-也有文件存在,为
    3 K1 L' G/ e+ O" k- v
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    , `* g) Y- r6 {. G6 r4 D1 b
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, k  M  E/ a7 p: w9 y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( ^6 S9 Q) P- C" l5 h* F4 o
  10. 本地机器,这是我的MySQL安装。 " {1 g% n  t) f8 }4 ^! U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + `' A6 m; h# t; K7 x! [8 P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) V" Y7 k6 q1 d0 R) F  K9 {3 s
  13. 数据库。 $ S3 K" |' v+ m5 ?& E( o7 g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ' x$ T  x& n' ]3 J
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    3 q7 O( [; L" K6 e( \7 d: B( {
  16. 在teamspeak论坛,如果你有兴趣。
    $ H! F& d* Q) V& q$ O
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 q1 J4 ~$ T" A- N4 X5 H% X* W$ V
  18. Borland公司使用。这个司机只能界面与客户端库
    / D/ n, B& ?! v
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 I: o; Y1 @/ E( d7 \! \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* x( X6 V5 p0 F5 v) c" K: Y
  21. " vendorlib " ,并解数据库连接。
    * X( x$ ?8 t# J0 \
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : q/ }% q. A% p
  23. 5 Z% @* x7 ?* \2 S# b- y
  24. # # #做好工作# # # / v( `( Q# ~4 f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都* _: t& v: m# K) q4 l* Z* O
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - c/ H8 n# w# F! T& T* P
  27. 结束:
    ! ?3 {6 ]9 I4 q8 j% d! l, @4 K
  28. ---削减这里---
    & V5 q* @8 h" N  g- M2 r
  29. [ dbexpress ] 9 G. N8 k8 ~) d+ E  C
  30. sqldir = mysql_sql
    ) B( x6 h' V* H. }
  31. drivername = MySQL中4 t; m* D. B# p2 I5 p) o
  32. 数据库= your_database_name_here : p+ U, V) |, a& O4 ~
  33. 主机= the_pc_the_mysql - server_is_on $ |0 ~# p* [6 Y  h* J- f( t
  34. user_name = user_name_on_the_mysql服务器
    4 ~. O% b$ d  Y' w
  35. 密码= password_to_go_with_above_user_name 2 z& X1 Y3 ^: M! m# ^" X  [/ S8 h
  36. getdriverfunc = getsqldrivermysql # U& Y0 u/ R0 S; }: b. h- w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # k6 L1 f% d/ z+ E  x6 l
  38. libraryname = path_to_libsqlmy_libary 0 a0 u# u& s+ {4 u7 T4 B' z' {" {
  39. 积极= 1 . L: |2 ~) s/ D) u
  40. ---削减这里---
    5 o1 [* O& W: r# N/ U
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " r% D2 {, B: v: S9 k! G) U
  42. ---例如---
    3 o& v, S7 }# m; O5 I# D
  43. [ dbexpress ]
    . l, I  c) J1 J1 o( r1 h4 h
  44. sqldir = mysql_sql
    5 J% D% G, d7 Z; G
  45. drivername = MySQL中. h7 D2 e; d- U8 r) ]  a+ h, v  B
  46. 数据库=测试
    8 P- X! A, b9 h3 R' _
  47. 主机=本地主机
    / z8 d5 e6 i" h' N0 t
  48. user_name = testuser
    6 \4 G/ K( @& m/ I
  49. 密码= my_password
    + A% x4 Q$ e0 ]" m  z2 D
  50. getdriverfunc = getsqldrivermysql 0 {2 M  [1 L4 n& b5 @: f3 n
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    9 s* {  l8 w6 b  i4 Z4 ]
  52. libraryname =. / libsqlmy.so
    4 t  V( S  y- D
  53. 积极= 1 9 e/ O- @, ^' R1 ^) k- ~
  54. ---例如--- % I3 k6 e4 T2 u

  55. 6 D6 @, R" i* J# ]4 e
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # _4 B2 }4 {5 {/ V% H* N; P8 E6 D
  57. ---例如--- $ ]0 p/ t6 K4 N4 P: v- B) ~
  58. [ dbexpress ]
    . m1 h: l) A6 ~# n% h1 j
  59. sqldir = mysql_sql # ^" \, j9 N/ o4 A  j0 U* M5 i8 s
  60. drivername = MySQL中& A2 s& t; M( c3 G+ ?* ?. s
  61. 数据库=测试
    0 C& }; j1 _, Q0 c: X& f% d
  62. 主机= 127.0.0.1
    * k. X, f9 C* M7 C+ b$ |% \
  63. user_name = testuser
    - b9 H0 y. Y& Y* B" }6 [
  64. 密码= my_password 1 |6 D' _( p, |
  65. getdriverfunc = getsqldrivermysql / R, t2 z& R1 j) K$ ?# `
  66. vendorlib = libmysql.dll在
    + ]% M0 I8 z! k: e) P# l  ?
  67. libraryname = dbexpmysql.dll ! P. E; w0 p" k3 _8 m# j2 a
  68. 积极= 1 0 l% N  i7 P9 k$ S" X
  69. ---例如---- 6 R! S7 ^* s7 B2 |+ @
  70. -写在0 2.03.04由p wk.linuxfan
    3 N' |" b* \, ~  R
复制代码
发表于 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. s, Q7 O1 r" p. t3 E
; K+ [, I, z0 }( ]+ a$ Z! P/ n
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-1-23 02:29 , Processed in 0.104238 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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