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

2334 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* }! T/ {& S  M- G3 V9 b
4 J- O+ I: z! |; C
  1. ) {+ s1 ^# x7 G3 w$ `
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    / \6 m- V" ~& m. {$ Y+ v# m
  3. 6 o6 p/ @9 K* w  N
  4. ### What we need ###
    ( B* Z0 v; [. w
  5. Naturally, we will need a MySQL server to store the data for us, this document * R& \9 @/ O/ _+ z7 C, B
  6. will not explain how this can be done - there are documents out there for the
    - z6 e: Y8 g2 r
  7. interested. The requirements include a (empty) database for TeamSpeak to use! t/ U, t+ x( e0 i% w$ }2 u( H
  8. and a user account (username + password) that has the permissions to do stuff% |/ q( ]* \' U( h3 [) h
  9. with the database. Additionally, you will need a vendor library installed on the, R. [4 S7 Z" d: t
  10. local machine, this came with my MySQL install.
    9 y( p! ~9 h2 G4 S# Z2 }% f' @. Z
  11. These instructions will not tell you how you might transfer your data from the
    4 [; h4 ?% Z" H* C$ y
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL8 y: e1 k3 V+ P$ {+ D& m
  13. database.1 G+ j& v. @4 Q* Q" s, ~
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    - _5 y/ M# ?$ k) h& B
  15. the time of writing, there are still too many issues - check the current status
    7 f; d% ?' G$ b0 U; }* y
  16. in the TeamSpeak forums if you are interested.
    ( ?! y7 k* v6 c1 C& v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 }' z6 ]" M8 Q0 a7 @
  18. Borland was used. This driver can only interface with the client library that ) N6 j) o; [0 }" G+ B" }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    # x& X' V6 Z; v+ W0 d& _# r
  20. client library - basically all you have to do is to use a 3.x client library as * R% O0 m0 ~; ?$ n! q
  21. "VendorLib" and a 4.x database to connect to.1 s* @+ y% g/ s$ j- J& c+ p) w
  22. If you need more info about dbExpress, you can contact Borland.
    4 l: ]$ w# T/ S) ]+ b, Y* ?1 X/ |" c- ]* d
  23. ( ~1 H6 M0 }& }9 u0 F2 r3 y5 x0 b
  24. ### Doing the work ###
    * w$ ?. O4 D: c5 N2 R- |
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all1 @+ f( x* g3 r' f( c- H+ }, N2 x
  26. the perquisites right, just open your server.ini file, and add this section at
      `, U. p3 P8 J) w! k
  27. the end:
    . W$ R- d6 K0 A' F# H
  28. ---cut here---% [+ ?' t& T* K. F* X% H) z5 {
  29. [DBEXPRESS]& Q9 e+ ^# L" |. I4 l( A
  30. sqldir=mysql_sql+ P9 q4 y- A+ ]+ L  P% ?4 X' a0 k
  31. Drivername=mysql
    % k% R' A9 c; \- m4 {
  32. Database=Your_Database_Name_Here" ?0 n9 m8 f: [5 `& _
  33. Hostname=The_PC_the_MySQL-Server_is_on
    # y7 h6 S$ c7 `2 g$ b0 i6 L4 `0 C
  34. User_name=User_name_on_the_MySQL-Server
    6 ^3 ^3 m% e, t' m% n, d$ v
  35. Password=Password_to_go_with_above_user_name( B* V: H' G( X  t2 p3 c
  36. GetDriverFunc=getSQLDriverMYSQL* Z+ `7 j- ]6 K$ \0 T6 R3 [' }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib: X  h2 \7 F; ?, C' c4 R0 ^0 k# k
  38. LibraryName=path_to_libsqlmy_libary/ `0 j! z' R1 Q% s9 m! n9 M% W
  39. Active=1+ A1 b8 e) C" u* |
  40. ---cut here---
    ! j9 h9 r* P! a; C  q% P8 c
  41. In my environment (a linux box with a MySQL server running locally) I have:+ }& c/ b5 Z7 Y! k8 n
  42. ---example---& F. N. ~5 o7 f
  43. [DBEXPRESS]
    : X' R. V) Z9 T6 e
  44. sqldir=mysql_sql
    ; R- R* X( l; y) B& g. M& \5 A
  45. Drivername=mysql8 Q+ T( _) k/ e1 {/ J
  46. Database=test0 J' f( _% [$ q! c" K  H! p, _" Z
  47. Hostname=localhost1 A5 [' K  f$ L% T5 P6 h9 [7 P  a
  48. User_name=testuser
    + u2 W7 v' T' T- P4 n
  49. Password=my_password4 r: W* P6 @" q
  50. GetDriverFunc=getSQLDriverMYSQL- X& D  R" P" W! L( H! |) t6 ?* A% \* d! }
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 F. y; X9 K/ a9 I6 _
  52. LibraryName=./libsqlmy.so: H, U, w8 U3 x+ z2 g
  53. Active=1
    & m# D6 E1 }" e, o8 o; L. ~/ ~
  54. ---example---
    8 l, F4 ~. i4 H( {2 A
  55. 8 u1 c% `* b; `7 e2 m/ |) U
  56. On a windows box, also running the MySQL server locally, it would be:) Y5 R0 y% s/ C( h) C
  57. ---example---' T" j, B- I9 K! y6 q  O& T
  58. [DBEXPRESS]1 \# m. ?  R! e& L) |$ J, \  G" Z; R; l
  59. sqldir=mysql_sql
    ) E4 M' {7 z5 R! ?' F; G
  60. Drivername=mysql
    1 r9 C% j# Z% h( A; B
  61. Database=test
    ) Q; W; d. o% d8 j8 @4 R
  62. Hostname=127.0.0.1  U( Q0 b3 R) M! K
  63. User_name=testuser; ]0 D# _2 h% \9 S$ C
  64. Password=my_password
    * `& J" U' w9 P" {1 s
  65. GetDriverFunc=getSQLDriverMYSQL  G* h& Q+ M/ W0 {. M
  66. VendorLib=libmysql.dll: R( S. W" r# S" B  e& H  D
  67. LibraryName=dbexpmysql.dll& p! k0 x1 `# x
  68. Active=1
    ( k; O  S! P" [4 l/ Q  q
  69. ---example----
    0 }5 Z$ v! |" N! A" i& w
  70. - written 02.03.04 by pwk.linuxfan, J3 ^9 V5 }1 z. T( X7 R) y# P
  71. # y4 N( v* S2 i( e1 G- I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ f4 k0 Z) R/ l9 X$ I
  1. , o! y& z4 W1 Q$ J4 t! ?1 }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    $ ~; X( {1 P- m  A0 L

  3. 0 O, Q# @1 d- A* A0 @& J  T
  4. # # #我们所需要# # #
    . F, S* K6 v+ f, `0 A( G* V
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : y, [3 k, k3 y$ T9 T
  6. 不会解释如何做到这一点-也有文件存在,为$ c) _4 \6 }* ~; k0 [8 B, u8 l  S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( a. u/ e$ e0 Z  w# Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西7 z% k3 O' d6 ]) v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于5 d4 J8 L' ~8 Q. O3 l, d  w
  10. 本地机器,这是我的MySQL安装。
    ! l7 Q$ [9 \3 j5 Q5 E5 B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从! O: j# w% m2 }# F" j
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL , Z& t8 @/ t( A; N- |: R
  13. 数据库。
    " i$ s4 O# E5 o" T  A
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 M$ d' W5 e0 I; g& [
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 k: F1 C% B" F
  16. 在teamspeak论坛,如果你有兴趣。
    ) W, V1 y0 K. F. D
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; [$ _  c# d% Y
  18. Borland公司使用。这个司机只能界面与客户端库7 P4 _; ^: Q6 K6 x; B2 b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( W5 }+ F! H3 b; N1 k/ f; H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 F5 T6 B; x% j* p3 [
  21. " vendorlib " ,并解数据库连接。
    & R% `* d  L2 o0 H) ?) Y* L! I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ; M; B6 h( E) f* o8 n

  23. ) b$ h" W; L. k" ^! O, B* [
  24. # # #做好工作# # # " |( |# G, ]: [  c! _. `$ x1 Y
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都; X' Y* i& b3 o
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " S- W% `+ N5 [* B* ?0 d7 @( m+ S
  27. 结束: ( c$ e$ r" {. K/ {# ^' L6 ]
  28. ---削减这里---
    & K+ E" s3 x& x5 c# A7 @6 P
  29. [ dbexpress ]
    $ s# R/ u- x4 K
  30. sqldir = mysql_sql
    8 g; Z$ ^9 e/ o1 S2 z3 q+ W  ]
  31. drivername = MySQL中
    $ f1 L" z" a9 Y& m" s
  32. 数据库= your_database_name_here
    ( [) k: g! J9 K+ @$ f
  33. 主机= the_pc_the_mysql - server_is_on
    9 U, ^) p6 G; s$ I3 o* c% S
  34. user_name = user_name_on_the_mysql服务器& T9 P6 T, c! [) d# K
  35. 密码= password_to_go_with_above_user_name
    0 Y8 @6 ~+ |3 ]/ L% s
  36. getdriverfunc = getsqldrivermysql
    & }$ Y# p& @1 _) d
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 _$ s6 a4 I: @. _* R
  38. libraryname = path_to_libsqlmy_libary ) ~0 s8 ?8 U; L1 ^  h3 ^9 b
  39. 积极= 1 5 J. @: s0 v  {% v# D$ I
  40. ---削减这里---
    ( d( `# ]/ \. m# Q% W7 i  g$ q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' ~" C, V9 r% g5 o2 w: Y
  42. ---例如---
    # [3 ^, W; v% o+ v4 J/ R
  43. [ dbexpress ] 9 e) z/ u; [0 [4 O5 R1 }
  44. sqldir = mysql_sql # j8 x# V6 T" ^, T3 K/ p
  45. drivername = MySQL中
    ( C( f$ ]  c& J% y
  46. 数据库=测试( Q% \5 W' Q5 n" O
  47. 主机=本地主机
    : @1 ^$ i( e0 i3 D- s% I! P
  48. user_name = testuser
    : C& q& r! |0 x2 p1 P
  49. 密码= my_password
    $ t, p/ G* A) e( |( [- \1 ^
  50. getdriverfunc = getsqldrivermysql
    - B! ]: L6 |+ N/ n9 s% j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 y/ q; j) j' g! H+ h5 E
  52. libraryname =. / libsqlmy.so
    % |- G5 p: l% q
  53. 积极= 1
    & ^( L; U. b! o4 e
  54. ---例如--- / N, _4 Z* d, Y9 Q0 u
  55. 7 {7 h( n, R% b1 E! f
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    $ I( u, V9 Q) F$ C
  57. ---例如---
    # V. g6 Y! c0 S9 T# }
  58. [ dbexpress ]
    ( n8 ?* i! T) |9 E+ D
  59. sqldir = mysql_sql : [$ }" @( D9 F& u" P9 y. s
  60. drivername = MySQL中+ d) P) B) h1 P: I$ e# V
  61. 数据库=测试  m; x  Y$ l# n6 B6 L+ W  g, x
  62. 主机= 127.0.0.1 3 J4 I2 V% j# a% E: n2 a3 q
  63. user_name = testuser ( k9 H3 i8 z4 |: @' i' d
  64. 密码= my_password
    2 G( O+ q8 e1 L
  65. getdriverfunc = getsqldrivermysql
    1 c4 c5 C5 R6 Y& q& q' p# W5 B# {
  66. vendorlib = libmysql.dll在
    9 H# z9 s) G& G
  67. libraryname = dbexpmysql.dll , P) I9 A! \& Q( Y" V; E& U* o
  68. 积极= 1
    ' C3 D# B, ]! w8 g' C
  69. ---例如---- / Z  {- R. U6 X8 v
  70. -写在0 2.03.04由p wk.linuxfan4 t+ [4 z5 O# t. X- T
复制代码
发表于 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
2 }) Y. i' w) g" n5 `: ?% l! \8 t) I! T. d: T2 o1 ^1 `
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-25 07:19 , Processed in 0.097314 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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