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

2747 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 ]6 J1 \& ]+ Z* M8 W7 }, Q% A1 l  r; b& Z9 a' C* x

  1. , L% w' f. l6 v
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) j% p1 L9 p2 ~% `3 O' a6 _8 m

  3. , k  P& h% |' y- d  `& I
  4. ### What we need ###
    ( T9 I" W3 I4 s
  5. Naturally, we will need a MySQL server to store the data for us, this document & ?! f/ X* B8 ]4 Z+ [
  6. will not explain how this can be done - there are documents out there for the
    ) v( D3 p  `) e: M+ I8 Q# Q
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / n; x, T  _8 U* b. k7 T
  8. and a user account (username + password) that has the permissions to do stuff
    % W6 f# U8 Z% [2 Y  O
  9. with the database. Additionally, you will need a vendor library installed on the1 Z' n: n8 w' E) Z+ S7 `
  10. local machine, this came with my MySQL install.
    + {8 G  q% {. a" M. `
  11. These instructions will not tell you how you might transfer your data from the
    % y4 a; l, z% D4 w# d+ S: K6 L- L& d
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 }! P% y( Y- o4 L4 G( o% u- U
  13. database.
    8 _+ s% K8 J' Z: Y5 E5 `
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( H/ b: O( J0 r3 l# Z5 U
  15. the time of writing, there are still too many issues - check the current status
    & s( e4 y6 p1 H6 I# U, p" [
  16. in the TeamSpeak forums if you are interested.
    % {9 A# G7 W$ l8 j
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 }8 F5 G8 c- B3 Z/ N6 ]1 l
  18. Borland was used. This driver can only interface with the client library that
    0 O; h- {( H' J3 ^3 s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    2 L7 q( I3 c/ H7 M
  20. client library - basically all you have to do is to use a 3.x client library as
    ; B4 n. o$ V- W: M4 p  [& h
  21. "VendorLib" and a 4.x database to connect to.
    " _! o# X5 ]( ?3 u/ k2 _
  22. If you need more info about dbExpress, you can contact Borland.* ~) l; j: O. }' D

  23. ! X9 Z1 e' I- W/ a% m
  24. ### Doing the work #### w  r1 H6 N) H* K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    " g9 n: L& k7 d: Y! ~# F
  26. the perquisites right, just open your server.ini file, and add this section at
    . D# T8 E' T9 i4 l) b& i: Y
  27. the end:) n, F6 f8 G, `) u, G
  28. ---cut here---
    6 s# i" l( c5 T8 W' W
  29. [DBEXPRESS]5 K* z: s' t/ Y5 y! [
  30. sqldir=mysql_sql
    2 U* u$ N* m9 u3 `$ U# r
  31. Drivername=mysql
    ; s/ ~, c9 C! ~% g/ H) \8 X
  32. Database=Your_Database_Name_Here8 K0 s0 P8 j% \* v* A6 Z( ]
  33. Hostname=The_PC_the_MySQL-Server_is_on( b- K, n# N0 g) P9 T
  34. User_name=User_name_on_the_MySQL-Server
    0 j8 x! H) C$ L( ~
  35. Password=Password_to_go_with_above_user_name( B: I/ l6 \; O" k# |
  36. GetDriverFunc=getSQLDriverMYSQL
    8 I' y* m& h* P6 B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% l4 o3 W0 _' D3 d& V& z
  38. LibraryName=path_to_libsqlmy_libary! ]4 p7 s' R; {4 h  E( {
  39. Active=1. U" f' k3 x) T' h( ^
  40. ---cut here---0 T# \& I! d# {& ^6 }+ u! b6 x# M
  41. In my environment (a linux box with a MySQL server running locally) I have:* E0 l4 n1 l0 p
  42. ---example---: b! ~. {% u/ a0 n! q8 ?: S9 y4 w7 ~
  43. [DBEXPRESS]
    * t: |6 [6 Z7 P, D+ W/ X
  44. sqldir=mysql_sql. U5 O' y( j. e* [
  45. Drivername=mysql0 c4 A% F1 z" u2 _; H! o/ n5 F
  46. Database=test5 \$ ?9 z1 O; C# P$ X1 v: a
  47. Hostname=localhost
    8 [* h: E& @% U: P# T& k
  48. User_name=testuser& ~  {8 |* w2 D
  49. Password=my_password4 W8 Q; @  [% g. u2 p
  50. GetDriverFunc=getSQLDriverMYSQL: T3 D0 v1 Q, ^: J! W7 d
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 f2 g4 z- z  c9 Z
  52. LibraryName=./libsqlmy.so% i5 X  {7 ~3 N1 N! N6 r! C
  53. Active=1
    % I6 U  t6 g7 P4 M2 q8 m& J- D
  54. ---example---
    - R; Q; b6 Y4 r9 M) j9 b

  55. , v" f3 q+ \/ ]
  56. On a windows box, also running the MySQL server locally, it would be:2 E9 r9 Q, v; [' u4 m
  57. ---example---
    7 [  {% N8 S& s/ O7 v+ h
  58. [DBEXPRESS]/ t! m& }& I  o$ F6 f9 x( K* D9 n
  59. sqldir=mysql_sql
    ( ~/ o" A% {; U: o, @
  60. Drivername=mysql
    ( v6 @' X) w( W9 {: m& E" K- r
  61. Database=test: G6 h% k6 O& i: c- H
  62. Hostname=127.0.0.10 G& n7 z9 O% |0 I7 p
  63. User_name=testuser$ P( \& ?$ g7 S8 C
  64. Password=my_password
    : Y9 E8 ~+ S* n. j* R/ c1 [7 `+ K( J
  65. GetDriverFunc=getSQLDriverMYSQL
    4 o) |$ v/ q- h; V' r. D! _& W
  66. VendorLib=libmysql.dll1 d! r8 d7 a+ D" Q$ \% y
  67. LibraryName=dbexpmysql.dll6 }0 n/ p4 J7 [" w
  68. Active=17 k/ f. d) ]0 v' W, T6 d# o! }9 m3 @
  69. ---example----. s& ?8 Q4 }0 V. I3 a
  70. - written 02.03.04 by pwk.linuxfan
    - ]3 o, X5 b' {9 i# F0 B8 H  ^1 ]

  71. + q$ T& _2 `  D
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ ~' \8 p! G" C$ B
  1. - [% j2 K( U8 {" k3 h+ U, M: ?4 G
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * b/ v% R" @/ q5 v( o8 O$ h

  3. ; e0 X& y8 }0 O; M% [
  4. # # #我们所需要# # #
    5 d- h. R' S* c+ o9 F
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件2 j7 n( p! Z! j. T* d. y& v. k0 I. e+ P
  6. 不会解释如何做到这一点-也有文件存在,为6 Z! A+ t% @! w/ J& _: m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " y; E5 \3 v* t! R* i0 c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, t# ?+ ^5 [6 J
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . S' H  R! R8 f: g) V9 \9 h' X
  10. 本地机器,这是我的MySQL安装。 - o9 I( e6 g9 B4 ~+ E, z" Q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    6 c) |$ _& {- [( k. w
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL : }: U  B( U% d/ [
  13. 数据库。 + I: ^1 h$ b5 Y7 v2 V3 x- w/ X
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在5 r& }: c5 i8 D5 W: T7 y
  15. 编写本报告的时候,仍然有太多的问题-检查现状% v* Q$ O( s9 I" o" M: o
  16. 在teamspeak论坛,如果你有兴趣。
    / p5 i$ s* W+ Z- Q+ R
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , ^5 `7 ~. f+ ]# {. E, Z
  18. Borland公司使用。这个司机只能界面与客户端库  X5 W; g, g/ Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    5 E6 B9 y$ r3 d7 |$ y3 N- g8 {
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 F+ {2 s* K3 H: i
  21. " vendorlib " ,并解数据库连接。
    ! l) |: y) l, i9 e; ]/ \3 t) }3 l9 S8 s
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 ]0 \, {: A. W
  23. 6 A1 E7 e( H1 O6 z9 d4 p4 W) h0 b# y
  24. # # #做好工作# # #
    , W( w% \! m4 R9 ?$ W1 r7 Q3 Z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都# d$ @0 n+ i% U. x# A
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - Q3 A! M* q! g% j$ j$ T9 E
  27. 结束:
    * k8 p5 Q1 m  {: i5 J8 U: U) @" |+ V
  28. ---削减这里---
    8 q1 k! p, g7 k1 C) Y7 ~
  29. [ dbexpress ]
    . [- c, Z5 `8 t1 n  R
  30. sqldir = mysql_sql ( h& x+ A1 v- [( h, q0 f+ U, r# ]
  31. drivername = MySQL中; s+ O% W/ A( L8 _+ Z* R6 m( G
  32. 数据库= your_database_name_here
      d$ t/ e" u, D" b& h9 Z
  33. 主机= the_pc_the_mysql - server_is_on
    % |0 P6 S5 V6 G: u( i+ r+ U' k
  34. user_name = user_name_on_the_mysql服务器6 I- m0 U$ _1 v* I
  35. 密码= password_to_go_with_above_user_name 8 `8 ~& t1 d) L6 q' H
  36. getdriverfunc = getsqldrivermysql
      g1 O8 c! l0 g% O+ e" w  w4 u
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , [# `, l( O6 |+ M' R$ ]2 F, f1 j
  38. libraryname = path_to_libsqlmy_libary
    0 Q- J0 |8 p' x0 [
  39. 积极= 1
    & t4 d# c, @- j# R0 b9 }
  40. ---削减这里--- ; ]0 E; I: u( z) t0 K
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " _8 T8 O2 b: W& X7 n
  42. ---例如--- : @" Q# a' {: g! d! O/ t; O/ t$ [
  43. [ dbexpress ]
    6 Q* Q+ f4 G% Q* Z# j4 y2 a5 a
  44. sqldir = mysql_sql
    ) k) D4 G1 a: W2 v) O, R
  45. drivername = MySQL中
    , v' n' g% O/ l
  46. 数据库=测试
    7 ]; ^( \& b4 L. x$ _
  47. 主机=本地主机
    ! p* R) K& [3 }6 O7 |2 d
  48. user_name = testuser ! ~1 z, E4 b$ ~7 K) r
  49. 密码= my_password
    ) j8 W5 s8 c2 F- a+ {2 b) e
  50. getdriverfunc = getsqldrivermysql
    ) U* A5 B8 p2 Z+ Z/ s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 g6 ?. S  y& }; o% T
  52. libraryname =. / libsqlmy.so # Z1 W$ Z. _1 O) H* C1 G/ z
  53. 积极= 1
    0 J  x5 N0 V- t4 C& }# s3 j
  54. ---例如---
    9 Y: ^4 I3 t& E, \# {" y9 H' x4 d+ A
  55. 5 R1 K4 I& A/ ?3 a% A7 |/ R  p
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , p9 L+ L! _& j9 B9 U
  57. ---例如--- 7 @2 h7 c7 ?5 v4 P1 r( `
  58. [ dbexpress ] / x9 y9 ~% \$ _
  59. sqldir = mysql_sql
    $ c5 ~- _) V( O5 C3 X5 ?' U
  60. drivername = MySQL中
    . c% ~3 q% N/ f' C; e
  61. 数据库=测试
    4 m3 [, ^+ n4 M' f) x6 H& t
  62. 主机= 127.0.0.1 5 z5 r  ?3 i$ J4 v; u8 Y; j+ f
  63. user_name = testuser ' w# d6 I. I4 }" f# g# ?
  64. 密码= my_password 8 s0 W. S5 j4 A6 c
  65. getdriverfunc = getsqldrivermysql   [, h% H! [7 M& e
  66. vendorlib = libmysql.dll在0 p% n; M8 u3 \
  67. libraryname = dbexpmysql.dll 3 d) A! [# U' p2 Z& M  x. u% |
  68. 积极= 1 / s3 b! P* ^6 B' Z- y0 }3 F
  69. ---例如---- ) I! c9 b5 ]; v$ T
  70. -写在0 2.03.04由p wk.linuxfan2 R2 d% {* ?- F- \5 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# a# D) _# k4 s8 j4 v
9 F7 D3 r( i+ Z; ?8 h$ C
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-11 15:01 , Processed in 0.101516 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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