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

2954 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 2 L% u! H. I; H/ R0 K% h9 |

  X7 N: M8 K& R  \  z: v
  1.   t& S2 g) f& T& @2 P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    0 T9 G) s* o2 g1 F3 p$ V% t- u

  3. ! L8 I# d: k; f
  4. ### What we need ###' _& e& o  k/ f/ y0 |0 R# ?
  5. Naturally, we will need a MySQL server to store the data for us, this document 6 @) c8 @8 Y- [3 P
  6. will not explain how this can be done - there are documents out there for the
      v7 ~& D3 \, p" S3 s4 f+ E
  7. interested. The requirements include a (empty) database for TeamSpeak to use3 _: Z/ x1 r' e4 q
  8. and a user account (username + password) that has the permissions to do stuff! z; v$ J& m; b! j( F
  9. with the database. Additionally, you will need a vendor library installed on the/ V4 u; m$ _5 o
  10. local machine, this came with my MySQL install.
    ; I* h- v0 r" o
  11. These instructions will not tell you how you might transfer your data from the
    # T' w1 D9 g. S; x: W* M1 j
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL. Y) `/ m0 K/ o) @. S) J
  13. database.
    0 H2 U3 f$ {9 T+ Q
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ B3 k$ }6 L3 `
  15. the time of writing, there are still too many issues - check the current status) U  A9 K; R0 g" @
  16. in the TeamSpeak forums if you are interested.$ j* y0 O% d$ n- C1 {% d
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    $ P3 [) Y+ o. f$ h! j
  18. Borland was used. This driver can only interface with the client library that # K; m# q: X6 r# S/ H
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ a0 N! s; N! z& r1 Q7 N
  20. client library - basically all you have to do is to use a 3.x client library as
    3 i( i5 D$ x# o" ?. x9 o* L
  21. "VendorLib" and a 4.x database to connect to.2 A# ?0 x  g- \  {
  22. If you need more info about dbExpress, you can contact Borland.
    1 ?: _: Y9 M) @  w  m

  23. 7 e$ q. b" T- F; u
  24. ### Doing the work ###
    - C. C- O" m/ y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    2 q& Y" L5 N2 e
  26. the perquisites right, just open your server.ini file, and add this section at
      G5 H. [8 ]0 A, Z8 ?
  27. the end:
    2 g' [( ]1 J2 C( T5 Q) z
  28. ---cut here---4 G* n; u" s- a8 U& p1 K
  29. [DBEXPRESS], z6 P# c1 X4 K8 B% L8 l# v
  30. sqldir=mysql_sql* R5 y: _6 c. V. V3 f, b
  31. Drivername=mysql
    + C, k3 }+ _8 M( c) H" r& U( V
  32. Database=Your_Database_Name_Here, o" Y9 t& E: f% o3 M; T
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 @- R) R5 E) A( F0 }
  34. User_name=User_name_on_the_MySQL-Server( u1 x1 `# G8 s# v& u
  35. Password=Password_to_go_with_above_user_name
    , S8 ^/ Q# |, @  H
  36. GetDriverFunc=getSQLDriverMYSQL
      Q7 _, ^) U3 d: {8 I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    5 o, E& |5 r& C7 p( f
  38. LibraryName=path_to_libsqlmy_libary
    % l1 M# }1 s1 @6 y# U! A& f
  39. Active=14 ?- {: ]' U" v) X) N
  40. ---cut here---/ C% R/ h0 W; _* y' |  o3 W
  41. In my environment (a linux box with a MySQL server running locally) I have:' N3 p: Q+ ^' N5 g9 @
  42. ---example---* s7 r3 Y, M4 l" Q9 Y- F1 a
  43. [DBEXPRESS]
    / l- H5 `% x3 L: P  v! `5 N" y7 V
  44. sqldir=mysql_sql2 B4 P- [- ?: k7 ^
  45. Drivername=mysql" H( ]: K  i3 u* O. x& s( c
  46. Database=test
    1 p7 c" h$ P  d) {- {
  47. Hostname=localhost
    1 f7 c; s1 j+ p( i& N# I2 b6 R: }
  48. User_name=testuser
    ' S9 l1 U" }3 i0 e1 Y! y+ M
  49. Password=my_password- W& I& U$ n" F4 V/ k$ V0 x
  50. GetDriverFunc=getSQLDriverMYSQL
    . s9 x. T  t# k- S, m/ \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( V6 p6 w+ h$ D1 P8 Z
  52. LibraryName=./libsqlmy.so3 M* N( z; J) E6 S5 M7 O# }& J$ ~
  53. Active=1. N. ?+ n: `6 g1 |
  54. ---example---. W0 W6 v# b0 d* z. [- ^
  55. & h1 v) a+ w5 h
  56. On a windows box, also running the MySQL server locally, it would be:9 Q; U: \5 D2 G6 m* J, v
  57. ---example---7 I& e7 @* c6 E, C1 w. S1 x4 O
  58. [DBEXPRESS]
    3 b3 I. S" b; I5 w
  59. sqldir=mysql_sql) T0 V$ s" L6 D! u0 e# n5 g* }6 \
  60. Drivername=mysql
    7 f  i- n$ b2 Y
  61. Database=test: h; D2 F  p* K
  62. Hostname=127.0.0.1) ?. e9 S) u6 v) w: ?+ f6 P
  63. User_name=testuser* M7 w) k9 }- y8 K- M+ d; ^
  64. Password=my_password
    . P% B5 e* Q; M+ |4 ?* z  ^$ R
  65. GetDriverFunc=getSQLDriverMYSQL1 P* p0 Y8 O+ w+ f: ^
  66. VendorLib=libmysql.dll
    # ~! ]2 r: Q. T/ ]4 G6 h
  67. LibraryName=dbexpmysql.dll8 {" E4 k# d. w, _) r
  68. Active=1
    : y" v2 p9 P: C3 m$ e
  69. ---example----
    6 o7 V0 W$ g4 D" |/ y  k+ h
  70. - written 02.03.04 by pwk.linuxfan
    ( I& B$ R; F3 m, f8 N! ^

  71. ( f# H. c# `7 I; a' Q( Z+ p1 m
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: L/ g) R  _) h/ b% E% Q
  1. 6 }6 O7 |: o: C: x( _: x' ~8 B8 Y8 n
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 o1 D; L  v0 C$ u0 k) Y% g! w1 o
  3. * m$ U! o+ C6 v/ {1 r, l& e
  4. # # #我们所需要# # #
    # V, ~. ~: J6 {
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    8 s( g# d& A2 ^$ q$ V
  6. 不会解释如何做到这一点-也有文件存在,为  E& W* u: J9 t" ?/ C4 q- n7 S$ N
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ l3 k6 k9 I% K+ e: a9 F' r
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    - f, ]- Y3 M  P' w: _# d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    * f/ r+ u+ C# ~# w7 j" G
  10. 本地机器,这是我的MySQL安装。
    3 f! P: x6 d' A. Y5 P& ^& {; i
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从# n! K% Q- [3 `  J/ S1 E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ' h( @' [+ q1 }
  13. 数据库。 * n) N# Q9 m  q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在! X3 O0 q' U( ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状
      u0 `4 Q6 J9 j& ]( a* Q
  16. 在teamspeak论坛,如果你有兴趣。 ( a+ O' Q7 I6 |; x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机- f1 F4 j! ^" {9 ^3 A
  18. Borland公司使用。这个司机只能界面与客户端库# @* E# }$ x* p1 J% E+ o
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 @3 h) y" P& U3 V3 |
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    2 o' Q4 V# u/ F+ R8 y
  21. " vendorlib " ,并解数据库连接。 ) \2 Z& i6 G+ R/ p' P$ {; J
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    . V+ B9 F4 {; S

  23. 2 h% h4 K& s6 d# S
  24. # # #做好工作# # # ( @0 W. V' t% B7 Y( `: ^/ @& N- r  ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都' m5 i" R& E) M" P8 {) _# a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在% {0 w! h& w) y) k8 J& Y
  27. 结束: 3 }/ K7 h& x# s6 d( C
  28. ---削减这里--- : r! i  }  A% E0 D. Z% k- v- k
  29. [ dbexpress ] + M# [/ D( [# Q2 e- i' [
  30. sqldir = mysql_sql
    0 n0 O4 W# @8 w, w9 N& z
  31. drivername = MySQL中
    # z! N) Q" v* B# c' ]% \
  32. 数据库= your_database_name_here ; b5 ?, d) I+ Q7 K2 W
  33. 主机= the_pc_the_mysql - server_is_on
    * S* R+ e' P3 l* g2 x
  34. user_name = user_name_on_the_mysql服务器7 a7 h# t% e5 `+ ^# c6 W
  35. 密码= password_to_go_with_above_user_name / f6 |/ {8 z3 s. t" |- s6 Y
  36. getdriverfunc = getsqldrivermysql " c8 N+ {  f6 M! i6 [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib + @, p' v0 f6 J7 S6 v5 {' Z
  38. libraryname = path_to_libsqlmy_libary
    3 ?4 Q) V# f% ^1 Z2 q
  39. 积极= 1
    $ b& e4 Z9 L4 p- I4 T, c8 T
  40. ---削减这里--- ' e8 ^# Q# z' k: j# S
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 u6 e' `5 ]! N2 r( \4 |
  42. ---例如---
    / @# x3 w! t, c' l3 u
  43. [ dbexpress ]
    6 t5 A3 P5 F5 M, f6 c* ?" p
  44. sqldir = mysql_sql / Z5 w/ Y4 A3 e9 [" e8 Q+ b: f' [
  45. drivername = MySQL中
    & [- ]0 {9 Q  i
  46. 数据库=测试) d, U* U  O# ~# D
  47. 主机=本地主机
    ( v# q/ R* U4 s
  48. user_name = testuser ; p" G5 T& }. X) f9 m; l# r; f- Q+ h
  49. 密码= my_password + e3 g& ~" Z2 _: }9 \
  50. getdriverfunc = getsqldrivermysql ; P; L0 t* d. U; x% d( C' p
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 m1 o( \* R. ~
  52. libraryname =. / libsqlmy.so # Y$ H2 k; E. y5 V4 a1 u! H
  53. 积极= 1
    , I! L* Y& U+ C, Q! R. w
  54. ---例如--- + S- u9 |1 J# O7 U4 `! O

  55. $ t; B" b+ S4 W( B5 B& {8 ~; H
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & d% G& d+ F& a4 M$ T+ E% Q
  57. ---例如--- 0 M* m4 f: B8 J
  58. [ dbexpress ] 5 j1 B# v( _* n3 f% Z3 R
  59. sqldir = mysql_sql % S5 j" o7 [6 b4 T. z
  60. drivername = MySQL中
    7 }) m5 N6 }- s  m
  61. 数据库=测试
    : q0 H! ~2 g* w6 W% ]0 U  n) k
  62. 主机= 127.0.0.1
    4 {$ h6 z$ C4 [" I
  63. user_name = testuser
    $ X: X+ W- l2 U; t
  64. 密码= my_password : S, s" }4 _- ~. G) B% @/ W( z# F
  65. getdriverfunc = getsqldrivermysql
    + J2 o2 s& I! M* H) [, d1 k" z
  66. vendorlib = libmysql.dll在' _# ~- P# W7 w0 \! }' _# C
  67. libraryname = dbexpmysql.dll + T5 U' Y+ ^; x5 \1 t, l4 a& k5 J5 K
  68. 积极= 1 ( |: D( L, H- F  [3 E
  69. ---例如---- 3 ?9 R# z  x: d5 C! ~. h5 Z9 Z( A
  70. -写在0 2.03.04由p wk.linuxfan4 i4 A, u; X" e7 B* ^5 s
复制代码
发表于 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, }, T. g6 K+ z: w
7 Q2 c0 u7 X! H: \7 Z
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-30 11:57 , Processed in 0.106745 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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