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

2586 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 E& A2 w! Y7 h7 P  |: `
* E9 c( e6 I+ F! r7 I: W) [

  1. 8 N- M, J% }: c* u* V3 @7 u/ E
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , y8 Q( {0 v5 ~( p1 P

  3. + ~1 d& N1 O2 e
  4. ### What we need ###& o0 N& A6 P% B/ `
  5. Naturally, we will need a MySQL server to store the data for us, this document 2 {4 ^# B& R: w6 T, M
  6. will not explain how this can be done - there are documents out there for the + e) S# u7 |8 d: c
  7. interested. The requirements include a (empty) database for TeamSpeak to use9 G% s4 D" V4 @, z: r! }
  8. and a user account (username + password) that has the permissions to do stuff
    9 T" W) A: R$ P
  9. with the database. Additionally, you will need a vendor library installed on the
    + ^5 @* z% A6 O5 r, R% s) L8 e9 m
  10. local machine, this came with my MySQL install.; o* f6 G4 U6 I; W. u; y, x/ ]
  11. These instructions will not tell you how you might transfer your data from the
    1 z! k' J. |) K, k) s% ?3 k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! ~( y0 L( T# u+ G
  13. database.0 z' t# T+ F7 z1 ~: D
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    7 [3 Z' m5 N! {9 c+ l% J1 z
  15. the time of writing, there are still too many issues - check the current status( X; l  r% I# k6 l% j! t
  16. in the TeamSpeak forums if you are interested.9 T2 s( d) p; b: o& K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) C( d0 m/ R1 c5 ?& K7 d1 G
  18. Borland was used. This driver can only interface with the client library that
    : g3 ?/ w' V8 K$ U
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 q2 K! R: e; i
  20. client library - basically all you have to do is to use a 3.x client library as
    7 h( ^* L5 ]* S% u* y
  21. "VendorLib" and a 4.x database to connect to.
    % n. |; \0 y% \0 z- h
  22. If you need more info about dbExpress, you can contact Borland.* H. x9 w6 d+ L
  23. 7 `' z) M3 ~! b. o4 _' `5 ~- k% Q# _# c
  24. ### Doing the work ###6 ^  y/ p5 L: j
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all5 P0 K4 [# A* a- k+ ^! H- M
  26. the perquisites right, just open your server.ini file, and add this section at5 L* m' J! }6 b* S2 K
  27. the end:* ^+ S/ o5 _+ |8 H! X
  28. ---cut here---
    7 [4 i. }! i$ a- j' t
  29. [DBEXPRESS]
    % O7 }4 e. Z: Y( v2 p
  30. sqldir=mysql_sql. z, t' x3 y. u" K; g# b" K
  31. Drivername=mysql& c* y& q' k6 l
  32. Database=Your_Database_Name_Here$ E8 b( H2 C/ r. f) w
  33. Hostname=The_PC_the_MySQL-Server_is_on; C. ]$ o; V& r9 j% \
  34. User_name=User_name_on_the_MySQL-Server
      P# ]/ `/ v0 N4 E* l0 V# a
  35. Password=Password_to_go_with_above_user_name
    ( \4 n! R$ ^8 n0 o, n
  36. GetDriverFunc=getSQLDriverMYSQL
      k9 _: R# C3 v  m. \
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # n/ i9 Y8 ?# M  O# [6 _
  38. LibraryName=path_to_libsqlmy_libary
    3 e# `; s, U% _: {" c/ h
  39. Active=1
    9 ]% \$ I5 H* B3 l0 k
  40. ---cut here---3 G% ^, C9 s, m( X/ I. g% S9 E
  41. In my environment (a linux box with a MySQL server running locally) I have:
    4 ^2 ?8 z" E1 t2 E9 g' G% {
  42. ---example---6 d) V( L' R, e0 I  N5 k. M
  43. [DBEXPRESS]
    9 o% q$ y9 _0 b) l) ]9 O
  44. sqldir=mysql_sql
    5 I# t2 S& }5 _2 j
  45. Drivername=mysql7 q! ]2 A5 @' y6 w* p! y
  46. Database=test
    + u2 n4 O5 h- m
  47. Hostname=localhost
    $ f* A$ ]2 R- }7 i
  48. User_name=testuser
    4 O) u" n  [4 l
  49. Password=my_password" I6 \  A# c8 C: ]
  50. GetDriverFunc=getSQLDriverMYSQL' Z0 |+ O  l8 x* y" N/ _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.03 z" W2 x( k+ P
  52. LibraryName=./libsqlmy.so
    4 H: Y/ a( u  h, X6 t+ R$ y  a3 Q
  53. Active=1: \( r- H% m; J* R, [4 e6 k+ o
  54. ---example---
    7 h+ X: c! P9 N' e, K

  55. 8 d; I. N- ?2 d9 ^3 A: c  u
  56. On a windows box, also running the MySQL server locally, it would be:
    2 h) n6 N( s8 a: I5 o; d
  57. ---example---
    / k- _0 n) ]9 I& m; n
  58. [DBEXPRESS]
    0 M5 Y5 G4 U! D6 c& {, L. O* C. l
  59. sqldir=mysql_sql
    6 J- _- C3 X5 X2 F9 K
  60. Drivername=mysql
    7 ?: z# s- Q1 U4 p+ r3 r$ l
  61. Database=test
    " O9 S* x# W; F/ z
  62. Hostname=127.0.0.1
      G% {1 j4 q5 j4 d
  63. User_name=testuser& M7 t% U2 R# O: `
  64. Password=my_password
    3 E/ }2 `) Y$ l3 J' t1 K$ u
  65. GetDriverFunc=getSQLDriverMYSQL* ?: s8 h% W' l  M1 u3 d8 X
  66. VendorLib=libmysql.dll
    & \( N3 J$ V8 O4 E! \% ]: e; C
  67. LibraryName=dbexpmysql.dll
    ! F6 D) d2 z9 P; P% m9 T, p
  68. Active=1
    2 a! p. F+ f! A! g0 V
  69. ---example----
    / l7 g' D1 ~' |. C& l5 w! J
  70. - written 02.03.04 by pwk.linuxfan
    ( A2 f  g$ A. k" _$ E
  71. " L: a2 j4 u# x9 f, R: a4 I0 [( q
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& t9 Z# m  V/ z+ k% g7 n2 [
  1. 5 t; u3 W- |6 v9 x
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 d9 {' Y6 y% B( D1 n
  3. * @8 L: p; r3 G5 |  i8 s3 N
  4. # # #我们所需要# # #
    ( U" t9 A3 q& e0 C
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    0 ~4 k' ]  y! q6 G+ o
  6. 不会解释如何做到这一点-也有文件存在,为2 r6 ]7 h, T$ R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    2 `9 t( e' ]$ a5 b6 A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- j! m4 Q) ~6 r2 ^; f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ( n; k$ c5 W2 T1 ]5 z" a
  10. 本地机器,这是我的MySQL安装。
    ' w( I0 d% ]& b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) V* {# H* w: x4 A1 N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . @4 s; Q- k9 Q/ P% I; o: z7 ~
  13. 数据库。
    0 E' r/ D; W7 c$ b6 C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    " ^! m1 b( q/ F+ W, B: k# n
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    2 D( T' r7 Y5 K: K% p6 k" M2 \
  16. 在teamspeak论坛,如果你有兴趣。 - E4 J9 n/ `9 b' l7 d4 q0 B
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机$ o1 R& n% V. h
  18. Borland公司使用。这个司机只能界面与客户端库
    , l  ?  f; U9 D" C2 P  c/ [+ T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # ?& `% H1 f5 m1 {& l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 \/ N- b8 V6 m( G- B
  21. " vendorlib " ,并解数据库连接。 . a# E6 ]( U$ b- f- A6 ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; E; y4 g( ?6 r, ]7 b

  23. ' H7 G) V4 U3 Y3 t0 O: b
  24. # # #做好工作# # # 4 ]5 N! w- ?7 j& Y: c2 g; E2 T
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 X3 c1 h# c5 b+ M+ u& y/ N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - ^* T# c- B) i0 S% T4 @
  27. 结束:
    7 u6 x( C$ J- O5 f4 S" u
  28. ---削减这里--- 6 l% H8 ]7 u! m+ |; A
  29. [ dbexpress ] ; R/ P" v7 {$ p- y$ J$ v
  30. sqldir = mysql_sql
    & M' c0 V( Y8 D' |% B3 l
  31. drivername = MySQL中1 \6 o) n" l; ~0 k
  32. 数据库= your_database_name_here : b  S8 Y, [2 K3 g
  33. 主机= the_pc_the_mysql - server_is_on
    ' E! [1 \/ X) w& L& @6 t2 \0 x
  34. user_name = user_name_on_the_mysql服务器) ^4 {- U1 k4 ~
  35. 密码= password_to_go_with_above_user_name
    . {9 r) c9 t) ~9 K. k
  36. getdriverfunc = getsqldrivermysql " d. R  q' ~& T% m! n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib , l$ v0 ^, ]7 x9 A3 j, }
  38. libraryname = path_to_libsqlmy_libary
    * ?9 C2 i- c  e, {
  39. 积极= 1
    ' E( u, T$ V9 ]- w. e! Q
  40. ---削减这里---
    - R; ~) U1 a- R, ^3 [. {8 r* M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ( G, }$ y" C# T2 b6 a! p; }* c! b# e, s
  42. ---例如--- 2 _) u. s/ `- w0 V1 E
  43. [ dbexpress ] : d5 ?- R8 |7 s, B7 N
  44. sqldir = mysql_sql 4 j3 S' M# e# F7 ?: j, h
  45. drivername = MySQL中
    # |" u5 E2 x# F
  46. 数据库=测试2 i8 M1 U+ B# `7 h/ k  I
  47. 主机=本地主机
    ! E# J( Y2 b/ x+ M
  48. user_name = testuser , Z( h7 ~' V- R' \
  49. 密码= my_password
    3 n/ K' W& ~9 ?3 }/ Y" l  F# V
  50. getdriverfunc = getsqldrivermysql
    & h* M! r9 s2 J, E. w. y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( H. F: |. u  o5 G& w9 R. M" ~
  52. libraryname =. / libsqlmy.so % _3 m# `# o5 W! d( {' d
  53. 积极= 1 / }3 k" ?) D* e- P1 e2 N: G
  54. ---例如--- ( k+ z& W/ {+ ^3 E

  55. $ m) H6 {$ ~* Z! U# C8 {' g" b0 U! @2 l
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & ^$ S# k7 G/ f7 x9 t7 V" h
  57. ---例如---
    , s; }, ]$ `; K3 W  B  e
  58. [ dbexpress ] & c; \4 O% h/ d9 R/ H) m" @; k
  59. sqldir = mysql_sql . G6 X5 J8 {, x5 U, J" u$ x
  60. drivername = MySQL中
    # [0 w3 J: g! {) q4 h( Q
  61. 数据库=测试
    & `5 W0 x/ h" s
  62. 主机= 127.0.0.1
    ; K6 J: c2 a  l7 ]3 {! [
  63. user_name = testuser 8 W/ B. |* a! c) T* q* p
  64. 密码= my_password
    ' \4 ]2 O( P9 u& m5 {
  65. getdriverfunc = getsqldrivermysql 0 m5 J/ W" m% P0 J# M( B
  66. vendorlib = libmysql.dll在
    7 N2 o! B- @1 @  x' u# a
  67. libraryname = dbexpmysql.dll
    % W; W( T0 F8 t  w9 G; p0 w) c9 @
  68. 积极= 1 6 a; ?9 L8 B& F0 Z% F) }: G& j
  69. ---例如---- 3 D' m3 R. `' _2 V- S3 s
  70. -写在0 2.03.04由p wk.linuxfan- i! {8 X0 `9 b' `& J) l
复制代码
发表于 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
. T6 x; S, p) h: L7 }
7 N; Z% D* C0 @8 Hbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-6 12:25 , Processed in 0.095543 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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