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

2292 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   k1 {9 ^3 W  r

% t/ V  {3 Q5 l

  1. + O9 j+ O6 Q. T* b4 L( c  I- D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 e' U; f( U, I1 o/ |0 D. c' d
  3. & d' B2 N8 j: _6 D- v7 O  S
  4. ### What we need ###
    , A: o& y+ N8 ^. M" j
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 f6 C8 p5 K  x0 Y% V
  6. will not explain how this can be done - there are documents out there for the
    " o: N' i( ]2 q* Q5 i/ p
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    $ ]  W2 w0 ]3 ]# ]& O- k, o
  8. and a user account (username + password) that has the permissions to do stuff
    9 F$ k2 ~5 c9 t
  9. with the database. Additionally, you will need a vendor library installed on the
    ( |: B$ C0 R6 Y) X+ d5 R
  10. local machine, this came with my MySQL install.
    ; O5 i% y7 Q: O* z5 [' q7 ^
  11. These instructions will not tell you how you might transfer your data from the; Q, h, ]0 S& {- }; D" X" M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & ^  }4 P! h$ B2 o# l5 e1 k
  13. database.
    0 V+ Q- j* d" E1 `7 c* A3 S
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 X, `, P' E2 R/ v( r+ D& g5 t
  15. the time of writing, there are still too many issues - check the current status3 _9 I7 b& R4 @3 t) ?
  16. in the TeamSpeak forums if you are interested.
    : x; F# H# W( h3 r8 @% K
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from) s# a6 M+ K; ~
  18. Borland was used. This driver can only interface with the client library that
    1 s, m7 ?0 F5 x
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, Y0 @# a4 f! ^6 @
  20. client library - basically all you have to do is to use a 3.x client library as
      X* j2 \0 Z$ D! ~
  21. "VendorLib" and a 4.x database to connect to.' v7 _9 m+ E% @% H& T  `
  22. If you need more info about dbExpress, you can contact Borland.
    8 o, \+ d' m6 F) Q6 T( I) v

  23. 8 H% A% z0 k, U. z0 M: n
  24. ### Doing the work ###0 K" O! P  q3 G- `) }! s! L+ w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * \. _3 b( p( y* u0 a, Y* S- t
  26. the perquisites right, just open your server.ini file, and add this section at( s# b8 Z! B) {# ~$ B
  27. the end:
    - I2 f7 y: k# B( g8 V+ h
  28. ---cut here---
    ) A. C* [1 ?4 \
  29. [DBEXPRESS]6 ^* R; j! g2 p5 N  @2 l1 A! ^
  30. sqldir=mysql_sql  W% [6 j) n! }. o4 j6 m0 n
  31. Drivername=mysql8 A1 X! m' B4 q8 l2 p5 R- J
  32. Database=Your_Database_Name_Here
    ; d* _. G6 \5 ]# t! E
  33. Hostname=The_PC_the_MySQL-Server_is_on
    2 |8 D0 h( }% Y( i: E* H8 d* N% M
  34. User_name=User_name_on_the_MySQL-Server
    ' l8 w/ \0 [  F; Y- C1 l( Q
  35. Password=Password_to_go_with_above_user_name
    $ E% f2 N, w7 s& _( S4 q- w9 U
  36. GetDriverFunc=getSQLDriverMYSQL) {2 V0 e$ r$ K$ M0 p; a% S/ W: U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    % r& o8 w8 o7 Y. G6 ^
  38. LibraryName=path_to_libsqlmy_libary- g' d2 ^& Z7 G/ k! A+ k$ K% h
  39. Active=11 B3 ]1 q# D, ^1 G" q
  40. ---cut here---4 M6 R( ?- Y4 [7 l! O/ q' |, g
  41. In my environment (a linux box with a MySQL server running locally) I have:
    1 H$ S% v( E& K5 F+ u# B# z
  42. ---example---. W: t0 o+ q4 Y- Z* C% T1 j
  43. [DBEXPRESS]
    ( Z3 o" r0 T; k* i
  44. sqldir=mysql_sql; L9 `% ?& _0 z* t. Z; X$ H! F
  45. Drivername=mysql
    ! I% j$ ?0 G( R. P
  46. Database=test4 p; x, X; t4 g# X5 F9 o
  47. Hostname=localhost; P: T1 B6 P4 |
  48. User_name=testuser
    9 Q- m- G4 q( }# B" l+ R: ~
  49. Password=my_password
    9 i! U  Q# |3 K* z1 Y) }, U) q  w7 {
  50. GetDriverFunc=getSQLDriverMYSQL
    ; l; S5 \4 Q; W, H& R) P
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0' I7 B1 {5 B8 R0 i2 G6 h
  52. LibraryName=./libsqlmy.so4 f. y% J' u) y: f
  53. Active=18 K: F( M  _) l
  54. ---example---
    4 Z4 B6 O5 N6 X

  55. ( T9 y% A) m0 z' x4 m5 }8 Y) B
  56. On a windows box, also running the MySQL server locally, it would be:
    ' L' f) c+ }2 I# P0 D# y6 ]) W/ }4 L
  57. ---example---
    , A" h( ]) j1 L
  58. [DBEXPRESS]0 ?* I0 Y) u6 L: [' q
  59. sqldir=mysql_sql
    % Z; x" G5 ?  P8 A
  60. Drivername=mysql. p7 u5 m( K3 |  h
  61. Database=test
    ' r1 H5 E7 A* J; r7 z9 p
  62. Hostname=127.0.0.1
    3 ~) l$ ]! x: [+ C
  63. User_name=testuser
    6 c; [. U# R3 f1 u. l; y
  64. Password=my_password
    - c+ u9 \- ]  a& T
  65. GetDriverFunc=getSQLDriverMYSQL4 ], e2 H1 X3 l- }
  66. VendorLib=libmysql.dll8 Q5 R6 Y4 I9 [, D5 s
  67. LibraryName=dbexpmysql.dll
    6 G* ^  s( H) R( u; ^  N8 }
  68. Active=1
    8 k/ x( s" W" M
  69. ---example----0 `. N( o' s/ o& ?7 t8 r5 X( g) H5 ?
  70. - written 02.03.04 by pwk.linuxfan
    2 E8 ]+ z. K6 U% V

  71. + A6 F: b6 q/ E; Z5 R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看+ M: D3 j6 |+ p" P# W3 J
  1. * P9 O) o3 T) k6 f, }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### * }- r1 r' E+ l7 K

  3. 5 `: `7 ]$ H7 o5 b( D; t) h0 ^
  4. # # #我们所需要# # #
    ! v3 z( r3 V- y" `; @& F( q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件+ _, ], O4 Z7 l
  6. 不会解释如何做到这一点-也有文件存在,为( R% L7 E8 c. H# W* Y! S9 F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - r7 a) @4 B; ]$ k* A. p+ E9 t
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ X5 n  H  y/ I. x* j# q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    8 q1 z! q" x" c
  10. 本地机器,这是我的MySQL安装。 + M# Z7 {- F' Q5 i$ q0 Z5 e% b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) _; [3 n8 u: ?/ F; P/ G
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & V! A: S2 G. C% a# v4 Z2 n
  13. 数据库。 0 |, I$ R) f% v! n' d' V
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在1 E2 [% Z8 l  x" ?& V
  15. 编写本报告的时候,仍然有太多的问题-检查现状( V" L% Q, }6 F
  16. 在teamspeak论坛,如果你有兴趣。
    ( d3 B5 b. V% b$ ^- r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机! t$ s# C" y5 \, c3 Y# P2 O" M
  18. Borland公司使用。这个司机只能界面与客户端库
    + M) m3 I% s9 c( m6 I8 o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这9 [7 e* v& `; x1 T- I# Q( [- n
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, k2 ~% o- _* d, g- v) ^! x7 F
  21. " vendorlib " ,并解数据库连接。
    : B' o. `4 q5 |) _2 D
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - v* M8 F. A7 Y) X4 p) O
  23. 4 B' `" B# L" E6 z# @
  24. # # #做好工作# # # 2 @! g7 {1 H# N+ X
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都" M! i8 u4 B0 r+ {3 P/ m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : ?) |( g* Y2 `9 b: e
  27. 结束: . }$ D: F  ^: `1 V8 E/ k7 v
  28. ---削减这里--- ( t1 w/ l5 r/ |
  29. [ dbexpress ] 6 D3 q8 _' n2 j
  30. sqldir = mysql_sql
    . t& D1 G/ s% o  s' L3 \
  31. drivername = MySQL中
    - d8 P. t0 E& Z- v2 ~0 h4 h
  32. 数据库= your_database_name_here
    ' I! E, W, f' v2 d1 [2 g
  33. 主机= the_pc_the_mysql - server_is_on
    6 M. u$ e2 Q, |2 Y) X' c
  34. user_name = user_name_on_the_mysql服务器6 N9 b9 N$ P  L: O
  35. 密码= password_to_go_with_above_user_name 8 R5 H5 D  X+ t0 f
  36. getdriverfunc = getsqldrivermysql   t2 [3 e$ }7 F
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * V: t4 L8 q% A; j
  38. libraryname = path_to_libsqlmy_libary
    # f8 v4 a3 l+ @: m7 g- X7 Z$ T; O' S
  39. 积极= 1
    * x! x. L( y0 a7 o1 d7 F3 Y, f
  40. ---削减这里--- & @/ o3 z& F9 Z- B# y% R0 }
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 }4 m" A5 ^; ]8 ]/ f
  42. ---例如---
    1 l- {4 ~; W- |" G5 l4 ~) J
  43. [ dbexpress ] , f: t* A) d0 E! Y/ @. X
  44. sqldir = mysql_sql 7 t0 e7 e% R. i* S" P
  45. drivername = MySQL中) {1 v& P7 i; ~
  46. 数据库=测试0 |8 W+ L" s' v3 K
  47. 主机=本地主机
    - ^1 ^9 m7 l2 X. o8 P# B
  48. user_name = testuser " r$ R2 p  x) n& }- d
  49. 密码= my_password * Q5 m" ?4 f, ~% I: K. V: n
  50. getdriverfunc = getsqldrivermysql
    / d, N7 J. u! z& |. Z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 x) Y6 k0 G' v! C
  52. libraryname =. / libsqlmy.so + ]: e" J; B" W/ @
  53. 积极= 1 0 d% A8 A  c) a% Z4 w" J
  54. ---例如--- ' b' f7 p4 J& l1 V5 \
  55. 5 [3 B# W0 x, ~, k2 k% v1 _
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    % _1 T& q, _2 ^
  57. ---例如--- , @5 E9 O' Z! h0 q. [* a
  58. [ dbexpress ] 6 @+ Q, C2 N, Z: P' {: M
  59. sqldir = mysql_sql 7 Q* Y# W0 M1 T0 t+ O; ?
  60. drivername = MySQL中
    5 [* ]) I) L" ~
  61. 数据库=测试
    ( `! G3 _7 I# z1 L
  62. 主机= 127.0.0.1 ! f; i' M2 c$ n7 N* S
  63. user_name = testuser ' N% [0 c6 ~* d$ p1 H1 U/ m! k9 ^
  64. 密码= my_password
    0 f- e: B" a* e0 Y# A
  65. getdriverfunc = getsqldrivermysql
    . M, o0 _9 A. F: A
  66. vendorlib = libmysql.dll在( h/ s8 @1 `* y6 T
  67. libraryname = dbexpmysql.dll
      W2 ~" l1 h# d
  68. 积极= 1 4 i0 z. y* _# T2 ~; J
  69. ---例如----
    ) u0 V( ?* m+ D- ~8 q7 K: N* Z; |
  70. -写在0 2.03.04由p wk.linuxfan
    : _( M* o3 u) _, D
复制代码
发表于 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
* C: V; q, M  W3 B
9 ?1 p2 W0 c% A. A. [- Tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-13 18:34 , Processed in 0.108521 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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