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

3298 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 4 Q. h) D  @7 W; [

5 G1 @2 @  r. y: Q. \2 V
  1. 6 \8 P) k9 T( K3 j7 n, p, e" X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - D  D( J) p; i9 h

  3. 5 _6 f8 c. U9 m! b6 z
  4. ### What we need ###
    ; K  H8 r; z) {/ N- W5 w% }7 R
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 b( j" r. I5 O: u  L. c4 }# {
  6. will not explain how this can be done - there are documents out there for the ' H9 n/ [/ S7 g
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    0 L% d0 S+ b2 e) ?* s9 j/ p" H
  8. and a user account (username + password) that has the permissions to do stuff
    6 k, D% U7 v# K1 H% `! w
  9. with the database. Additionally, you will need a vendor library installed on the
    + f1 @4 V9 s6 T$ z; A
  10. local machine, this came with my MySQL install.
    9 O- W/ l, J- T9 E# t
  11. These instructions will not tell you how you might transfer your data from the
    ! l! m9 p" G% A6 M- O) t  Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    / q# W0 {3 r2 C6 `5 I
  13. database.
    / W8 Q9 R$ _7 h, j" N' [+ M
  14. Some users have reported ways to import a SQLite database into MySQL, but at* K5 }5 Y; S9 q6 ?
  15. the time of writing, there are still too many issues - check the current status
    , ~0 |6 z2 @  U5 W: A7 h9 [
  16. in the TeamSpeak forums if you are interested.
    : b, Q8 q4 k' H9 D/ J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& u; L: ~5 C2 I3 q% A
  18. Borland was used. This driver can only interface with the client library that
    1 D9 E" {5 O% \6 D" }6 w% C- `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this$ p+ B) C1 c+ E: @
  20. client library - basically all you have to do is to use a 3.x client library as 3 \8 t# {2 t! _: r) Q# S/ Q
  21. "VendorLib" and a 4.x database to connect to.8 @6 d6 d2 n+ u' R0 I1 J9 w
  22. If you need more info about dbExpress, you can contact Borland.
    $ x$ m8 b2 [. k" t9 e" n2 g

  23. / B7 v% ?$ D! J. c# g5 g
  24. ### Doing the work ###
    ) g1 Z. O: [- ]
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # d# w' W2 t' `! D
  26. the perquisites right, just open your server.ini file, and add this section at
    % k, y( |1 T# w: v4 `
  27. the end:' _9 l0 }" m$ V, d% c! @7 d
  28. ---cut here---( w2 Z: r0 i% L2 h$ i  I0 B
  29. [DBEXPRESS]
    - h- X% R+ @( b: R' a2 P
  30. sqldir=mysql_sql
    & R! @* o0 R1 o' N% q
  31. Drivername=mysql# O3 P8 Q  G" i1 @9 A9 {, i# X
  32. Database=Your_Database_Name_Here/ B  ]1 X  [5 @/ e% d
  33. Hostname=The_PC_the_MySQL-Server_is_on
    $ ^! X3 C( m- D9 W7 f
  34. User_name=User_name_on_the_MySQL-Server
    , B2 W1 k" K6 l# k( J
  35. Password=Password_to_go_with_above_user_name
    9 N/ e: [. v2 b/ T% [3 M$ g. g5 r! k
  36. GetDriverFunc=getSQLDriverMYSQL
    % r1 E  m5 Y9 n0 h# B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " `$ d+ S, i8 u/ E1 ^$ r& F
  38. LibraryName=path_to_libsqlmy_libary' g  V8 v. {; _
  39. Active=1
    ' Q; @0 h4 t6 o! {
  40. ---cut here---* P, |/ A" _% {% t
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 a  `; E' T# Q* d! O1 Z
  42. ---example---
    . D6 n9 T5 m& _( R5 \# }. ?
  43. [DBEXPRESS]3 g$ N& C. n& B, I7 [5 P, }
  44. sqldir=mysql_sql# G1 Q, P# O; {" D' o% E% \; s
  45. Drivername=mysql
    5 o8 O% ]1 I* I" X, Y
  46. Database=test$ g2 D8 o0 T& M5 j/ D
  47. Hostname=localhost9 Y# M6 b9 Z, X  g* c% u
  48. User_name=testuser! ^) O( h+ A1 B
  49. Password=my_password' D- C* O9 F% V
  50. GetDriverFunc=getSQLDriverMYSQL
    % s7 c  u& q2 l& {- M  W
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0% v; D( l6 J5 g1 N2 h; W& t& y
  52. LibraryName=./libsqlmy.so
    : D# V+ F+ P/ l
  53. Active=18 u' e' g* y, }- {" K$ z" @8 G, G
  54. ---example---. t$ m4 B& z+ o

  55. 2 @5 E+ ?( x2 |  R# w) E
  56. On a windows box, also running the MySQL server locally, it would be:6 `# x$ L6 K, ^7 s7 |: f% ?) h; E
  57. ---example---
    # X) t( L0 j6 {. u/ }4 K: e7 s1 P* a
  58. [DBEXPRESS]
    ) c! v6 l2 y2 _" Z# D' ^
  59. sqldir=mysql_sql6 m9 b$ b, P- Z) H5 T/ O$ M( b
  60. Drivername=mysql* Z) }+ P7 z$ B+ k! M! Q0 T* n
  61. Database=test
    " v& y; p3 V+ e8 l. o
  62. Hostname=127.0.0.1
    # g9 c/ y* V) y, [0 @$ Z; {, K; K
  63. User_name=testuser
    % H1 M3 b9 s' t& f" G, u
  64. Password=my_password
    , E1 K  z1 s' O7 `5 G7 O5 f
  65. GetDriverFunc=getSQLDriverMYSQL- ?' O0 T1 G9 z6 X1 @. x: d4 ~5 j  \
  66. VendorLib=libmysql.dll) K  P7 Z2 d5 H, ?! U
  67. LibraryName=dbexpmysql.dll' f2 l* ~. f' H1 B; T$ b+ h
  68. Active=1. V3 [, K' `' V) e0 N
  69. ---example----( f. q1 V4 J* ^5 q! z/ f- [
  70. - written 02.03.04 by pwk.linuxfan
    7 ~& k- c* n/ l8 U" N
  71. ! \; s; U/ p7 J- Z% ~' Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 I; ?; x+ [& ?! C# A  G

  1. ; c2 Y4 d& n" A! n+ c$ K: A
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 m- _0 k5 G7 b
  3. 4 {; N" r& A" Q. N) B" C  g
  4. # # #我们所需要# # # 1 F+ v8 R$ H; t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. S+ i" e" P( i
  6. 不会解释如何做到这一点-也有文件存在,为
    5 W; U' M2 Q$ U- {* y: s* m
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 j5 k$ C8 o' v6 ~0 N
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西" a# W! Z5 K# V9 L. y" {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于# o4 x) s0 Z8 v$ m% t9 F
  10. 本地机器,这是我的MySQL安装。 5 C5 k: @, d$ S
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    6 W* V# y/ y1 j8 V" ?; e( n
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 a$ g2 `, A' b8 i; w9 G! P
  13. 数据库。
      h! K7 H, ], g7 [* V4 |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 Z# l2 t' n" c+ Y, O
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , Y, ^6 m) ~: R5 a* s
  16. 在teamspeak论坛,如果你有兴趣。
    6 E& x2 X' w1 B: w: E
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 c, j3 U; @. T1 S" R7 c" k: ?
  18. Borland公司使用。这个司机只能界面与客户端库+ T8 L. ~6 F; h6 m& T5 z3 T$ F
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - r( J- d  f  v$ v8 F) {/ j& o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , @1 k# X4 |3 ^1 M/ ]0 L( x
  21. " vendorlib " ,并解数据库连接。 ( s; S+ S# Q+ H0 L# N
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ) _3 k4 y& S5 G" G" E$ t
  23. " I: S1 J  M) }2 @* P4 W; |
  24. # # #做好工作# # # 1 x5 ?" n  N, R3 L: W  b7 t
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    5 s1 b6 l/ k3 X9 M) h9 _
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    4 r) x) y6 U2 j4 p! v0 h
  27. 结束: % t4 i) e; X: c+ u% r1 D% P( S! G( G
  28. ---削减这里---
    9 Z; G+ M4 Y1 K( Y' N. k/ }& ?
  29. [ dbexpress ] 2 x% o8 Y/ _' u6 q! W1 b3 c* o
  30. sqldir = mysql_sql ! F. h3 o1 W! k. P1 Y
  31. drivername = MySQL中4 [: ]' |9 G' m
  32. 数据库= your_database_name_here ) }/ m7 p* D7 d6 `2 Z; M  u  K, X7 o
  33. 主机= the_pc_the_mysql - server_is_on $ F/ L$ ]# [; K0 T
  34. user_name = user_name_on_the_mysql服务器6 P# }- \5 ^' @1 {# ~
  35. 密码= password_to_go_with_above_user_name 7 C! v2 R9 C! G
  36. getdriverfunc = getsqldrivermysql
    9 {0 I7 i+ @% z/ w( `, e
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    / h$ v5 Y: j6 l. i8 L6 v
  38. libraryname = path_to_libsqlmy_libary ( q! }9 m7 l0 A7 Y1 G9 h  |1 Z8 N
  39. 积极= 1
    # [$ g, W3 Y' n( S/ R" W
  40. ---削减这里---
    ' T4 i1 \. _& l' f
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    4 Y, O6 g( s" G
  42. ---例如--- 8 O9 |% f6 V3 i" V9 O2 V
  43. [ dbexpress ]
    9 O, B. f( h' e6 ]. K3 f
  44. sqldir = mysql_sql
    # d/ q/ r$ ?$ I+ v
  45. drivername = MySQL中& U9 R7 M4 P* O9 v7 p9 @: c
  46. 数据库=测试/ f% l3 ], G" o5 s, O
  47. 主机=本地主机, T5 O! R! R6 o
  48. user_name = testuser
    1 T' v5 W  V1 P) W5 f* u
  49. 密码= my_password 2 M: C% i* p9 }9 e) |
  50. getdriverfunc = getsqldrivermysql
    1 n7 d% M% B5 N. w/ w
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % }/ W- y" S4 f! D: X
  52. libraryname =. / libsqlmy.so 2 N/ ?. K9 y0 Y
  53. 积极= 1
    ( N0 m2 m: x- l+ h8 S( S& k8 M$ I
  54. ---例如---
    ! i0 z! @+ [" x* {

  55. ; ^( Z6 }- y6 z+ N, u' ~
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : N% z# c& v# U4 k; \, U
  57. ---例如--- 9 o% @: T) Z8 b$ N1 D
  58. [ dbexpress ]
    / P! |& e* }3 s; o1 U* X
  59. sqldir = mysql_sql
    : K% |" M1 I2 k/ z- ?
  60. drivername = MySQL中
    $ e8 x2 v; d& F2 d4 h
  61. 数据库=测试
    ; M! K% w2 I4 F! L
  62. 主机= 127.0.0.1
    9 m8 F, m/ I& X# S7 D( k4 l
  63. user_name = testuser
    ! x9 s& w6 i+ a4 z- S3 `: e
  64. 密码= my_password ; k% X2 {% J5 c! g6 M
  65. getdriverfunc = getsqldrivermysql : S. T6 y; o, q2 e; b
  66. vendorlib = libmysql.dll在- N9 O7 J8 A% o: }: i
  67. libraryname = dbexpmysql.dll $ }: {5 q0 n( }( k1 U  {" _
  68. 积极= 1 0 K9 G- A2 z+ S2 P; }1 Y
  69. ---例如----
    & x* U, x1 ~5 H6 A/ X8 [/ U9 f9 m
  70. -写在0 2.03.04由p wk.linuxfan
    ( F% K0 v& I! h; n' A
复制代码
发表于 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 words3 i8 Y7 w: |4 r$ F8 {: c" N6 y
- n: [# \$ Q0 O  F+ F. Q
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-7 00:27 , Processed in 0.101749 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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