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

2529 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- ]( k7 S& |$ f  t
3 Q9 k# ~4 X* c: W8 u4 M" s* n

  1. / v) f5 d5 ?/ j8 c; ~
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######) D. \3 Z$ m2 t' Q

  3. " l* g1 M  \* N- g( f
  4. ### What we need ###
      q$ P/ o4 \% h. D7 W6 B
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - }& Z: ]+ ]7 X4 a$ S" r, j
  6. will not explain how this can be done - there are documents out there for the
    5 r" ^; Z: S# X) H, \5 d3 o5 l1 A
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    0 i7 w% x3 X+ n9 a* B& C  N
  8. and a user account (username + password) that has the permissions to do stuff
    6 Y+ n2 a4 g) a) b- H% N3 |& c+ o
  9. with the database. Additionally, you will need a vendor library installed on the, X5 p0 d  H+ ~, U
  10. local machine, this came with my MySQL install.
    # h0 L, f3 B& J0 |, B
  11. These instructions will not tell you how you might transfer your data from the
    ) `7 H8 t- m' S& ?( l# `) O( S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    , h5 P' p  t! u2 U$ l! L
  13. database.. A& C, r6 [) s
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 ?% \" x2 b. A4 y. p7 o
  15. the time of writing, there are still too many issues - check the current status# M: n" t. T- {+ K) \6 B$ I
  16. in the TeamSpeak forums if you are interested.$ t: ?9 C0 y+ \/ m
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from, E$ q/ d9 z( X* g$ j
  18. Borland was used. This driver can only interface with the client library that
    $ e! ]' x. x& Y. A% }0 h" [. R
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this7 c% N1 ?, E: }9 [' |( ^& [3 ]
  20. client library - basically all you have to do is to use a 3.x client library as
    2 ?7 ~' I- @1 t) c
  21. "VendorLib" and a 4.x database to connect to./ X' Y! d4 u) g/ @0 u
  22. If you need more info about dbExpress, you can contact Borland.
    3 O- I7 v% l; \/ p8 F* A9 Y' c, s

  23. ' I$ u2 t( G: \$ l, [
  24. ### Doing the work ###
    1 c8 M1 }& |: u; `% M  @  y+ J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    1 t7 U' C$ ~( J! e9 n1 x. |- ^
  26. the perquisites right, just open your server.ini file, and add this section at5 A( Q; z% s$ G% D2 d
  27. the end:
    , `% \/ v9 V$ S; }4 t
  28. ---cut here---3 i9 h7 D  z4 m4 C. b& b8 G( o9 n
  29. [DBEXPRESS]
    ) M8 q4 S  b) ?3 h! z% f) ?4 t
  30. sqldir=mysql_sql' I- ?5 V1 s( A  d& q
  31. Drivername=mysql7 h" p8 B; g3 X5 {: m; i* U# Q. l
  32. Database=Your_Database_Name_Here- |2 @( l- b8 d6 Y4 V+ N
  33. Hostname=The_PC_the_MySQL-Server_is_on' e1 {8 z, [6 x- V* E  N
  34. User_name=User_name_on_the_MySQL-Server
    6 m2 K, r" P4 ?8 r
  35. Password=Password_to_go_with_above_user_name
    2 ?- _9 |4 R0 F9 f) g2 o
  36. GetDriverFunc=getSQLDriverMYSQL, O+ o/ @8 F% V4 z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 v  ^- [& A+ E7 T
  38. LibraryName=path_to_libsqlmy_libary" S, Y' Z& ^3 H% N
  39. Active=11 f7 v# Z8 e$ {/ K
  40. ---cut here---
    & |# `8 B' N5 w% u4 r! u
  41. In my environment (a linux box with a MySQL server running locally) I have:* u9 p# [. U% o0 \9 ~
  42. ---example---
    / ?+ x' q; v# _5 m/ e
  43. [DBEXPRESS]
    9 L/ [% a6 r: f) E$ k' E% q
  44. sqldir=mysql_sql4 h/ J! J' ?  C
  45. Drivername=mysql) j% o, [' _6 d$ s  S
  46. Database=test. H/ g( V- M5 J
  47. Hostname=localhost
    5 |+ ?0 V) `, h. s' Y
  48. User_name=testuser3 _1 \: C8 s; h* ^1 |5 N6 g
  49. Password=my_password* D3 S# q  J# |3 o) L! m
  50. GetDriverFunc=getSQLDriverMYSQL
    . n& y6 r6 I0 @, u
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    # s" T) i; ]9 u* M- t, W, y
  52. LibraryName=./libsqlmy.so
    ! A" n9 K, L- D- E
  53. Active=1
    8 j7 s* t  y  G; }& g) {
  54. ---example---( m& r/ L, c  R, Y5 p
  55. 6 h- T8 g+ s9 [  ?) N; v
  56. On a windows box, also running the MySQL server locally, it would be:: L& b2 Q4 E% B
  57. ---example---
    ) \6 O9 P& j9 b/ @
  58. [DBEXPRESS]8 P0 g1 A/ l2 {$ S9 g
  59. sqldir=mysql_sql
    ) \3 N' c8 Q, ?) T
  60. Drivername=mysql
    + U' J3 P2 b/ W5 I. Y. D' f8 M- P. h
  61. Database=test
    2 P4 ~! t4 w' c$ `8 V9 D
  62. Hostname=127.0.0.1
    6 ~: i* F6 ?3 `  x: q9 s* o( k
  63. User_name=testuser4 ~! X. H+ G! l$ o% A' _
  64. Password=my_password- K" v5 x) L. l0 s: m0 f, `& d3 L
  65. GetDriverFunc=getSQLDriverMYSQL* J% ?6 M; y- E# t
  66. VendorLib=libmysql.dll
    ( P3 d, R& b, P8 z/ g- B2 y& O
  67. LibraryName=dbexpmysql.dll# R  P: N% C) ]) }) J
  68. Active=1. b9 Q6 V, M3 Y1 T! U  R! [8 a
  69. ---example----( _& q. l8 v. v7 V
  70. - written 02.03.04 by pwk.linuxfan7 j9 d! v0 z  H$ l9 w) M

  71. 3 k# l. b& `- F7 ^
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ s- j6 n6 _5 y% J& U
  1. ( P2 ]* w( t7 A. T  |
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / a: E- l  a/ Z0 J9 v

  3. ; b' K( Y' Y, a
  4. # # #我们所需要# # # 2 G; n" N# b6 {: P8 P4 N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件$ V6 E4 S* |+ m" D2 ]
  6. 不会解释如何做到这一点-也有文件存在,为
    8 q/ J7 K9 M4 K! b
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    & d7 ?2 D1 R: {0 m8 S7 @
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. J7 R0 ]9 I3 T5 I. p; @
  9. 随着数据库。此外,你需要一个卖方图书馆安装于0 u  O1 t+ H( A2 X  ?* L
  10. 本地机器,这是我的MySQL安装。 7 s9 o  H3 v) B1 A! k, o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + I7 K4 D& i3 X2 T
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ( n. x8 {! Z9 X# F1 @
  13. 数据库。
      _" t2 a+ p7 Y; n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 X9 @0 _! X: G/ L  Y4 I
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 p9 z0 v/ n5 A
  16. 在teamspeak论坛,如果你有兴趣。
    . V* H. o2 V% u3 C$ {( M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) m9 C' ^. S8 G) E  G0 ^0 m
  18. Borland公司使用。这个司机只能界面与客户端库* \5 s8 k' p$ p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    0 m" l& F( J% ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    / W3 [1 h$ k' \0 q' ~7 @- B
  21. " vendorlib " ,并解数据库连接。 % A4 B/ Q1 h1 Q7 Z/ u- ?) |, V
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ( h( s& ~! r( r, T& ~

  23. ( V$ K9 N2 i  O9 V+ a& r
  24. # # #做好工作# # # % Z8 z1 L% ~5 K' {' ~3 ]( q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " b* S& C% h7 P
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在0 b# x9 k1 G+ ]) ~; r
  27. 结束: ) ^4 Z! S5 _5 Z. N2 v, P: x5 g
  28. ---削减这里--- 2 m: U* G' w; K- u0 x! j
  29. [ dbexpress ]
    5 Y' u0 Q/ \; J5 O
  30. sqldir = mysql_sql 0 V6 {* }5 w5 o
  31. drivername = MySQL中
    . f" w& I- }6 [6 C$ H4 d
  32. 数据库= your_database_name_here
    " x% F4 l2 U3 a' b
  33. 主机= the_pc_the_mysql - server_is_on ( j, u7 O3 H+ E9 y! c
  34. user_name = user_name_on_the_mysql服务器/ h1 @. D8 D9 m
  35. 密码= password_to_go_with_above_user_name
    1 \2 _0 q5 u$ k8 U' r9 g
  36. getdriverfunc = getsqldrivermysql
    4 |5 @7 B# G# V
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ( D" s) B+ J1 {: J
  38. libraryname = path_to_libsqlmy_libary
    " @! H, S1 Y' _/ B
  39. 积极= 1
    : Y5 `4 p" t# P9 h6 I2 T
  40. ---削减这里---
    8 e# w& V) B. y: T# p5 }
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ) f+ v  l3 Z( n* z
  42. ---例如---
    $ T# l0 n) u1 {6 F- G# h, J
  43. [ dbexpress ]
    : h- |3 @5 g. ]
  44. sqldir = mysql_sql ) q1 `- T3 Z( x9 }7 N8 x
  45. drivername = MySQL中4 X& C+ y+ q) p8 z4 ^
  46. 数据库=测试
    : w% Y7 k+ ^" I; }
  47. 主机=本地主机5 m2 [* J% O9 L
  48. user_name = testuser
    & R/ J6 B1 \. W! n# y6 x
  49. 密码= my_password
    5 _. N. ~+ Y4 q
  50. getdriverfunc = getsqldrivermysql
    0 x* W% O8 r  R" T0 `6 g
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    " g% n; Q8 P0 v+ }' D
  52. libraryname =. / libsqlmy.so
    3 q- _' ^, X9 ?- g) Z6 p  |
  53. 积极= 1 2 [8 _8 C3 x. \, u0 T% T
  54. ---例如--- 6 v: d2 W9 W' Q- W' S/ D
  55. ) ?, o  f3 Q3 B2 L$ ~% V" G6 G
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . h3 [4 b2 X- I3 C. x
  57. ---例如---
    : H% n  [; A3 H: d0 _
  58. [ dbexpress ] * k; M& R* O; _" P/ }& C0 N
  59. sqldir = mysql_sql , O' Q  [+ `! G' i0 Y' ^+ N
  60. drivername = MySQL中
    2 m* z' A$ J) G, h3 N6 c
  61. 数据库=测试0 @1 o" s: D, _
  62. 主机= 127.0.0.1
    1 P- C- v) k8 M$ `" T9 B) Y) P
  63. user_name = testuser ) k. O. h$ z" W! C2 H( d" w+ i
  64. 密码= my_password + ~3 Y% C- |5 Z' n' S
  65. getdriverfunc = getsqldrivermysql
    # K2 o7 s# G9 p* E4 |+ p
  66. vendorlib = libmysql.dll在0 q% n$ S; e! O+ Y+ }6 W$ V
  67. libraryname = dbexpmysql.dll
    5 ]" [' m: v, @+ U
  68. 积极= 1 0 Y; ~! L. z9 {4 Z6 i* ~
  69. ---例如----
    2 z& h0 p' E2 E. `( q, K- I  I( R
  70. -写在0 2.03.04由p wk.linuxfan
    . v5 A) e  a+ ^2 ?8 P
复制代码
发表于 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' C3 ]  y5 F: ^! W8 h

- C! F9 J) u& t* m% p! e2 W; i+ ~/ Dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-18 03:57 , Processed in 0.093049 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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