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

2881 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
- S+ r0 o9 K) R* A* }" g; w; o
; r( B3 J5 T( _2 ^$ u  C

  1. 6 ]. ]$ @4 \. q" I: j
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 F# f% u) Y0 h

  3. , H) e. U+ w' Q7 D7 p
  4. ### What we need ###5 W4 m3 f/ @1 D4 c% o6 o
  5. Naturally, we will need a MySQL server to store the data for us, this document . q0 q0 }# B+ ^( M8 h5 l* |+ f
  6. will not explain how this can be done - there are documents out there for the
    ! m; g7 p& I; N. }4 W0 O% |1 }
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 L! X0 r% S6 z" W2 {1 Y' C
  8. and a user account (username + password) that has the permissions to do stuff
    / C5 L3 b9 S/ ]$ {
  9. with the database. Additionally, you will need a vendor library installed on the
    8 J6 E1 y7 W& K7 q1 P* ~! h) X
  10. local machine, this came with my MySQL install.% L& T9 b+ t* w5 {1 O
  11. These instructions will not tell you how you might transfer your data from the$ ]8 B! F6 c. j1 P6 E& X' f
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 z! u- N; m7 t- }8 r4 ^
  13. database." A2 [; R; R7 D1 Q
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! o$ }, q& {" }- E3 q# I4 O" ?8 {" @
  15. the time of writing, there are still too many issues - check the current status
    6 R$ M' Z# E7 E' n! C
  16. in the TeamSpeak forums if you are interested.
    - e3 G7 ^, A* i2 [. T# d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from* V. O% S' T9 S2 i) {
  18. Borland was used. This driver can only interface with the client library that
    1 n6 ?: I6 `4 P7 L& P% u% f( v2 K
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" g0 p: d* X% S- m
  20. client library - basically all you have to do is to use a 3.x client library as
    ' M$ W: s% w% u0 U- J* N# s1 I/ D2 y
  21. "VendorLib" and a 4.x database to connect to.( T) i% I# t1 Q; h  [. W
  22. If you need more info about dbExpress, you can contact Borland.
    " c% O1 Z7 I. O+ I' E, q

  23. * [- I& l7 ]6 p6 g" c# A
  24. ### Doing the work ###
    4 B# ?  {: c4 d' h
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% @! H- b. o6 Z0 Q
  26. the perquisites right, just open your server.ini file, and add this section at
    ' ^+ J0 @/ N9 \+ K% l+ s
  27. the end:( L9 j  m, u: Y8 h! D- m
  28. ---cut here---" v/ \- Q" M3 ]" v4 n9 g0 q
  29. [DBEXPRESS]
    ! @/ ]/ j0 p$ j! d1 Z# Y
  30. sqldir=mysql_sql  t" K$ u1 e3 f# V' W
  31. Drivername=mysql
    % d# @# ~6 ^6 E
  32. Database=Your_Database_Name_Here
    $ Z! J/ f" I4 Z0 m: w# c: z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    . G7 m$ n# E9 c+ ?# |' B4 w
  34. User_name=User_name_on_the_MySQL-Server
    + l1 w5 ]4 Z4 Z5 v8 @9 I2 D
  35. Password=Password_to_go_with_above_user_name) J' G7 A* t; g1 J
  36. GetDriverFunc=getSQLDriverMYSQL
    : w) e4 e- D/ `! ~  @
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & `+ ], J3 U. r0 ]1 h
  38. LibraryName=path_to_libsqlmy_libary+ h8 I& w, r; p; F$ ]
  39. Active=1, V4 `" @6 e7 Q; g
  40. ---cut here---6 z3 W% G7 F% c( g% f! U
  41. In my environment (a linux box with a MySQL server running locally) I have:& h) p, n2 E/ ?) A9 d5 _7 w* g7 E/ V# a
  42. ---example---& c% E; ]) u. h6 ?2 H( I; T+ {
  43. [DBEXPRESS]
    0 Z! Y: s: U$ P5 l+ {$ ]( W
  44. sqldir=mysql_sql
    . D' r1 v5 |' h! k% Y
  45. Drivername=mysql
    : Y1 |2 ^4 d: V3 s+ Q5 T
  46. Database=test4 ?4 O- @- @7 P  C. K
  47. Hostname=localhost8 P$ l! F' v$ I# h+ Y
  48. User_name=testuser
    $ x3 u. h0 x0 `- N
  49. Password=my_password
    + J+ t" {  {; p
  50. GetDriverFunc=getSQLDriverMYSQL
    % Z  T7 T) v9 D9 M0 o- W5 h0 l" S
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 q0 P$ i7 F5 T% x! l# T9 K4 j
  52. LibraryName=./libsqlmy.so
    5 n! I' d9 o7 @8 F, x% M& {5 V
  53. Active=1
    ( H4 v' w1 }5 @& i; d% V8 s! u
  54. ---example---
    - Q( t/ F1 y' i6 T7 N: x

  55. 5 c/ A' E3 W& I! `% n
  56. On a windows box, also running the MySQL server locally, it would be:# `& A: }% M# o9 [
  57. ---example---
    8 e1 M# @* D7 o4 p
  58. [DBEXPRESS]. G! d0 O6 @: y+ N+ y9 E5 v
  59. sqldir=mysql_sql& U1 z. Y' x: D" E5 Z9 l& L8 J& |
  60. Drivername=mysql
    4 ?" I, J4 W  x( d$ ]. Z8 g5 C
  61. Database=test
    4 m1 O2 c1 w3 a3 M+ Y
  62. Hostname=127.0.0.12 f( \9 H* L+ W- J8 j* Y
  63. User_name=testuser
    ; E# w0 l0 W* N9 {
  64. Password=my_password% @) W& @, l! s' w  f) e
  65. GetDriverFunc=getSQLDriverMYSQL
    2 C% ?. v4 j  ~3 r- J7 W1 o8 Y& c
  66. VendorLib=libmysql.dll8 \1 C* r1 t" T% ?6 }
  67. LibraryName=dbexpmysql.dll0 w1 j, U+ z0 P3 L
  68. Active=1
    # ~) T, W6 f' ~$ H0 G& u2 I
  69. ---example----
      i& w7 M" A$ G; T
  70. - written 02.03.04 by pwk.linuxfan. v6 k8 t7 k* S$ M
  71. 1 N+ I) v! Q* x. S
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看" _) \3 G1 g3 H$ G# N" D# ^5 P

  1. 3 w) J7 r% _3 m! k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 o1 h( }- i% ~( S+ s

  3. ) B2 E+ n: O  U6 f: I' M
  4. # # #我们所需要# # # 2 U& S* q( C* Q4 f) X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: F' l: N4 p  W
  6. 不会解释如何做到这一点-也有文件存在,为
    & B$ W1 j& ~2 X* h/ q) ^5 `" U
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    " I* l& g) l! w$ G! M- h# n. z4 |% E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) U! |+ P2 j' _/ K+ j  C, C
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 ]( e9 J. r# O- Q) U+ J: `0 J; h) v
  10. 本地机器,这是我的MySQL安装。
    1 m3 I1 ^$ l8 i! ~- f( C
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    * b1 }. p, ?, Q  g, g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 6 M8 r8 ^* @' W' N
  13. 数据库。 / i- G/ x$ }) d& ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. G% w1 ?2 W# d8 r
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 M$ [; H3 l: \* l- q; i5 B1 T* @! Q
  16. 在teamspeak论坛,如果你有兴趣。 : A! p" w6 ?2 x9 s2 w% q, l8 a+ e4 k% E; |
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机4 Z% m& Q- G2 i0 R  h' S5 T, r" u! ~
  18. Borland公司使用。这个司机只能界面与客户端库
    9 A! Z  U8 m! E! }
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 e. s7 N; C; m/ j
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ( X% F: C. A7 }, o' G
  21. " vendorlib " ,并解数据库连接。
      H* c& c! Y' w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 % u2 M+ i7 H5 L1 X

  23. * o5 M% s6 [7 J: d4 G7 j
  24. # # #做好工作# # #
    ( S0 z! b6 h( i: Z% `5 N# v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ! c$ o4 J9 k3 ~" k! u
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - i2 s6 I' H! R- R- p3 @
  27. 结束: ! I2 ~* I4 g+ p& d
  28. ---削减这里--- 3 i3 N, L( @: h- E  E; i
  29. [ dbexpress ] 7 z$ y1 ]/ ~1 T% u' |
  30. sqldir = mysql_sql ; F. u+ u$ K5 d7 X# f) K
  31. drivername = MySQL中4 j5 M& u  X; i6 P5 l
  32. 数据库= your_database_name_here + N" g1 q3 e7 s
  33. 主机= the_pc_the_mysql - server_is_on
    - e  @- x) z; ^- m/ T7 N
  34. user_name = user_name_on_the_mysql服务器
    0 B$ K4 ~- |/ x* n; H
  35. 密码= password_to_go_with_above_user_name
      A# a& K4 W7 Q  x* k  I  v
  36. getdriverfunc = getsqldrivermysql
    ; F) @+ V+ q1 n
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ; K- h; S3 _8 r( _/ \* L0 I
  38. libraryname = path_to_libsqlmy_libary 7 d# f% u% u8 ~& p
  39. 积极= 1
    * d$ A/ s- v5 Y
  40. ---削减这里--- - O/ Y& {8 o( f( J) d8 Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , [9 F% j! Y: N4 ?' S3 r
  42. ---例如---
    7 T3 X/ B' T7 v. r) Y
  43. [ dbexpress ]
    " m9 A/ D# N1 g/ y8 f) Z
  44. sqldir = mysql_sql
    6 k7 k, D, p, ?- P$ g6 w
  45. drivername = MySQL中! Y. v3 a- t/ ^
  46. 数据库=测试! G& g* [' u- X# H3 ?
  47. 主机=本地主机; _6 h- H2 V) u6 t3 f# y
  48. user_name = testuser $ E' F" ^! U7 `5 E5 X; e
  49. 密码= my_password " X* Z! |2 ?/ n3 I2 O
  50. getdriverfunc = getsqldrivermysql
    . e7 w3 b9 D/ ]4 G4 ^/ r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 , Z- F# W2 E2 f9 H. z
  52. libraryname =. / libsqlmy.so
    ( Z: o- u- C: M3 g
  53. 积极= 1
    ; j7 H. P0 r; Z$ L' X! u
  54. ---例如---
    9 c' R% ^: n$ [
  55. 2 X) p! P7 f- s" }+ X
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    2 ^. M. d% a: J
  57. ---例如--- 7 c7 @9 W8 ~" i6 M8 \% u
  58. [ dbexpress ] ) C. @5 W6 F& Y; A
  59. sqldir = mysql_sql
    ( J0 b* }: z' y( q; y& }; p
  60. drivername = MySQL中  [9 b% X+ `8 u+ y0 c0 b, F1 d; g
  61. 数据库=测试3 R4 t) t: @2 h! L" m0 O- F. j* m6 A
  62. 主机= 127.0.0.1 2 r/ w9 {. u% i
  63. user_name = testuser
    * w5 X- e& D8 ?4 |+ F. N
  64. 密码= my_password . Q8 k" T) D4 e, F
  65. getdriverfunc = getsqldrivermysql ( t2 `7 ~9 i6 y
  66. vendorlib = libmysql.dll在
    ; Y' V3 m6 @& s7 ?0 L1 P- F
  67. libraryname = dbexpmysql.dll
    ) s6 X3 E& g" ]) }
  68. 积极= 1 1 E2 S9 j, e$ ^, M
  69. ---例如----
    6 E8 E' z: p- n/ t" x, N( U8 \0 [
  70. -写在0 2.03.04由p wk.linuxfan
    ! X6 h1 D! J9 F2 D' t* L" [! \2 ]
复制代码
发表于 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! F9 {9 Q# m* f9 \8 P/ `- H

0 m# K2 {- H, j4 ]" L; Dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-12 11:56 , Processed in 0.109740 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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