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

3483 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 3 k( l! J2 X; w1 e4 [

, D* G! y! p2 m8 W7 c) g2 B

  1. 6 L2 n+ e0 b) j+ I& B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######, A$ p6 T' v- f  Y

  3. ! f/ X2 [- C1 O9 ]
  4. ### What we need ###) C, x# L8 o7 h4 r  s) f0 H: Q/ x" p
  5. Naturally, we will need a MySQL server to store the data for us, this document
    8 z  t0 u# p# R* j4 z3 O- a( I
  6. will not explain how this can be done - there are documents out there for the
    1 z1 t+ M; `+ F. U8 v. o
  7. interested. The requirements include a (empty) database for TeamSpeak to use2 D, q4 r2 E( V  C, u/ T* N" }
  8. and a user account (username + password) that has the permissions to do stuff
    % l; m7 }$ f. Y0 d1 ~
  9. with the database. Additionally, you will need a vendor library installed on the
    4 }1 w, H& c- _! R6 N" _
  10. local machine, this came with my MySQL install.6 S. X6 x" k  y2 B3 w7 a; [
  11. These instructions will not tell you how you might transfer your data from the
    2 W6 [$ f! ^. C9 V4 s" w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 l/ s5 S! S, k2 m* d
  13. database.
    2 c* z! K% p: g+ n0 a8 \! u) R
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 t: v% ]' M( c7 H/ q" [
  15. the time of writing, there are still too many issues - check the current status
    2 [- q* R2 R: y2 }
  16. in the TeamSpeak forums if you are interested.
    : K) c& f- }7 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from5 \; B) o: K& T/ o7 t
  18. Borland was used. This driver can only interface with the client library that
    + L" m* ^- v! |. Z- A
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 j' F- J$ I& K' G; H+ n6 r
  20. client library - basically all you have to do is to use a 3.x client library as
    . E1 w. L1 N& h
  21. "VendorLib" and a 4.x database to connect to.; L- \! ]: I. B& l  h
  22. If you need more info about dbExpress, you can contact Borland.
    , u& ?4 J6 }$ p

  23. ! A- C1 ?4 Q6 w6 @' {+ l' c
  24. ### Doing the work ###4 f& K8 U0 _6 L$ M6 X- R* D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all$ u+ p! ~( r; q  _0 P- H) t
  26. the perquisites right, just open your server.ini file, and add this section at
    ! c4 N! J1 X( K% ^. `& A
  27. the end:, z6 D+ N" B+ ~# A+ l4 \
  28. ---cut here---
    / Y8 V0 _/ M3 n! M
  29. [DBEXPRESS]: ~: g3 e1 `! y- [5 g4 I; T8 K
  30. sqldir=mysql_sql  i4 N' a: o4 s8 J; a7 k) n
  31. Drivername=mysql
    , O, G+ s. z  q) i7 v$ l- e% o. T7 a
  32. Database=Your_Database_Name_Here
    % s2 l( J  f& c& {- W- M" U
  33. Hostname=The_PC_the_MySQL-Server_is_on* k/ J  V& A+ D
  34. User_name=User_name_on_the_MySQL-Server! X: P% Z) H- Y+ p$ x% `
  35. Password=Password_to_go_with_above_user_name
    9 z! U) N7 S( I
  36. GetDriverFunc=getSQLDriverMYSQL
    $ Y" n: J/ y6 F$ c  G3 x& a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    - J0 S4 `# ]. U0 d8 ]) o( t, ?  V
  38. LibraryName=path_to_libsqlmy_libary6 d$ X5 X8 o4 j
  39. Active=17 s, x% X& j1 M" y1 T
  40. ---cut here---
    1 i8 b& T7 _' r3 g9 [' D  ?) ]
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / a5 |1 ?/ k# l* v2 n
  42. ---example---
    2 q# K% T8 \5 Z% g
  43. [DBEXPRESS]
    * s; U. ?  Q" F: E
  44. sqldir=mysql_sql
    8 i' i% V1 {+ `; j% w, R6 C% x
  45. Drivername=mysql% @, i5 [) o" b9 l+ Z1 W5 u9 n7 [
  46. Database=test% ]& v0 A. E9 Q/ Z
  47. Hostname=localhost
    - r$ G$ V" e8 E5 u" F: ^! f& \
  48. User_name=testuser
    & s: y4 o% [* ~# S/ }6 B
  49. Password=my_password  a3 v6 v! G! Z$ a% M
  50. GetDriverFunc=getSQLDriverMYSQL/ ?& Q2 }- G: h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 c/ {$ v9 s' P+ c( k- m
  52. LibraryName=./libsqlmy.so
    & ~: @' C2 Y* r
  53. Active=15 D: S: p1 Y; y" e
  54. ---example---
    3 C/ S7 @/ v2 N* T2 ]* w
  55. . M/ i1 H1 t" `, n+ A  }% P2 p/ L4 t
  56. On a windows box, also running the MySQL server locally, it would be:
    * |+ m+ H$ |9 ^# h; e* N4 l
  57. ---example---
    - X& n  r6 M$ h! V* v
  58. [DBEXPRESS]
    8 @4 ?5 u' B3 C2 |. {8 K
  59. sqldir=mysql_sql+ B0 x) w  r  }& l* z
  60. Drivername=mysql( [' u2 H6 b6 A& J" }; z
  61. Database=test/ C4 h# @' o8 u$ O1 H3 u0 n
  62. Hostname=127.0.0.1
    * {$ X* l( H& I2 U- w
  63. User_name=testuser  a3 x4 b1 u0 r5 t3 W, R. n. T
  64. Password=my_password
    $ G9 }: s8 K9 h# y; h
  65. GetDriverFunc=getSQLDriverMYSQL
    ' L! |& d. u4 W+ {/ q
  66. VendorLib=libmysql.dll! k$ o' x; w8 r% @
  67. LibraryName=dbexpmysql.dll
    % {' V2 `( ~! d. \5 W- @% c
  68. Active=1  a0 U5 b: H& U; |3 Y2 @) M
  69. ---example----* U8 u1 n) x2 o& E
  70. - written 02.03.04 by pwk.linuxfan3 f% K' @7 z! b9 W$ n/ k( x
  71. ( H& l* W& t, e# J
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ \; d3 ^' G* U( [
  1. ( o1 X- G5 \2 ^6 S0 @- A7 `
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 2 m; Z+ O. U- l3 p7 q

  3. ) Y# H. L; Q. M* Z" d: J
  4. # # #我们所需要# # # / w0 a& G! n* Q. v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    5 W2 Z% ^& N5 J$ g) A4 @
  6. 不会解释如何做到这一点-也有文件存在,为
      `6 L5 A9 a; T" S- v* |+ h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用  P( h2 h) w5 V" I1 H
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) v  l' l$ y! r7 c  k' J
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 a% q1 E% d7 G0 ~
  10. 本地机器,这是我的MySQL安装。
    : c  @9 r1 A3 V6 K5 f: ]1 B
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( t! J. X: u# \* N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) b( U! J! F9 k1 ^0 ^
  13. 数据库。 ; T; f. w, Z8 @
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在: i- W( f5 K) Y/ ]
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 Q0 ~# _/ |4 Z
  16. 在teamspeak论坛,如果你有兴趣。
    - p& `5 z- Q$ x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    4 L! ^# R" X/ f) A9 F
  18. Borland公司使用。这个司机只能界面与客户端库
    4 f" O& M' w8 d0 r* v
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! q+ T* n0 n# j; h# ^7 Q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ' V4 w5 R! W. J
  21. " vendorlib " ,并解数据库连接。
    9 V6 ~: M* A; {/ R; y2 z% }8 `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 7 a& G( }* R( ^1 S" |/ V4 p
  23. ! e2 d: E/ t* ^, {! k
  24. # # #做好工作# # # 1 X. ~2 b, I  u8 q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " b$ {- R& p; L
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 O# N+ I. U$ G0 h
  27. 结束: 5 G, o8 ?7 O6 H5 K0 O  v; s
  28. ---削减这里--- 7 |) p2 @# E9 j9 F$ L
  29. [ dbexpress ]
    5 q. k4 j8 j* E/ t' j4 Q- m* K: ]
  30. sqldir = mysql_sql 8 g* D8 r& {3 v
  31. drivername = MySQL中# |$ N0 r% [, M# a
  32. 数据库= your_database_name_here
      A) }4 l2 V: q$ F
  33. 主机= the_pc_the_mysql - server_is_on
    5 m1 _8 ~( N0 f, g  J" m+ Z: E0 w0 G; @! J
  34. user_name = user_name_on_the_mysql服务器
    2 A" ~2 ~0 b4 r% M
  35. 密码= password_to_go_with_above_user_name
    , q) K  T8 |' Y
  36. getdriverfunc = getsqldrivermysql ; p0 M+ m9 M% {/ V& g) E& G
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 n6 J: [: P' F0 ?
  38. libraryname = path_to_libsqlmy_libary 2 ]8 u% m' S  J& J, @
  39. 积极= 1
    * j* N9 ]0 x0 X7 w) |
  40. ---削减这里---
    ( D! H! C" `" ?: y2 M
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: - P1 k) K( a8 B9 B5 d
  42. ---例如---
    5 @) H8 |+ _8 x9 Y! S; y$ Q
  43. [ dbexpress ] 0 k: \" U3 r( I! N  L  [4 @/ y
  44. sqldir = mysql_sql 4 x4 H, {/ H. v- U* N% h1 [% D
  45. drivername = MySQL中  @! Y) t9 A: e8 L0 K
  46. 数据库=测试* V8 ^$ Y' U, y
  47. 主机=本地主机4 C4 [( `% Z$ f0 J6 Q1 D
  48. user_name = testuser - R" j& e" D& J/ b0 O# ]* ~
  49. 密码= my_password 9 v* d7 K" Y& ?) a/ N
  50. getdriverfunc = getsqldrivermysql
    " U& m1 V, r" k* y7 x# z7 Z& @+ a
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ j2 h5 i9 I, q
  52. libraryname =. / libsqlmy.so
    + E( X+ p% E) q
  53. 积极= 1 / s; `0 |' A$ ?7 b1 Q7 W
  54. ---例如---
    . v% _2 J1 R6 w1 W4 Q: O% ?
  55. " X0 i: ~5 _2 \, @
  56. 对Windows中,也运行MySQL服务器本地的,那就是: ; w9 g* u* F5 z; O' g4 b& O
  57. ---例如---
    ' u+ |) f& a2 `" J. _# `2 r
  58. [ dbexpress ] + v% U- j6 N8 h! F# }
  59. sqldir = mysql_sql 8 w7 \; W% {( {' v% b; C/ t% Q
  60. drivername = MySQL中
    $ X$ a2 r0 t9 x* |9 c/ z, V
  61. 数据库=测试  i* w: R4 T( n$ j8 X  `) N
  62. 主机= 127.0.0.1
      `: k3 ~  V! v8 t' x
  63. user_name = testuser
    / q9 B$ i' _- f# x% H
  64. 密码= my_password % n) t9 K$ L7 N6 O
  65. getdriverfunc = getsqldrivermysql 0 {0 v) ~0 L7 J
  66. vendorlib = libmysql.dll在% L2 F& S& l% H, q
  67. libraryname = dbexpmysql.dll 6 j0 F( f/ F3 y% @$ Y. `# W' \
  68. 积极= 1 * [7 ?9 u9 H2 J4 E$ w
  69. ---例如----
    " R0 K  ?! n: g3 T
  70. -写在0 2.03.04由p wk.linuxfan
    9 k5 V% s& A- s7 ?5 _  H1 }' 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
# D2 g$ W3 T1 i
' D' j6 K% j# p. Y& |but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-6 21:52 , Processed in 0.076645 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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