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

3341 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
! s$ w9 {, G2 X1 C1 A* ~1 g& S9 a' F+ G6 X  }- j

  1. + t! t' A+ Q8 ?
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######* e# `$ Q( k9 y+ f+ D) h2 D
  3. ' f3 ^& m9 W. L' y+ t# t
  4. ### What we need ###9 ?# [1 I6 V5 E* E5 W
  5. Naturally, we will need a MySQL server to store the data for us, this document
    % p1 F# P" Y+ g! _
  6. will not explain how this can be done - there are documents out there for the & k$ F- L3 Z4 }6 H. w
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 a+ c5 e& T, I& |( R
  8. and a user account (username + password) that has the permissions to do stuff! J" X( E: }( W. G& }- D5 v% i
  9. with the database. Additionally, you will need a vendor library installed on the
    / w6 m& J& q; R9 c8 t* N$ Z, Q$ u
  10. local machine, this came with my MySQL install.# z7 T/ j( Z$ F  h) a  l6 D& f
  11. These instructions will not tell you how you might transfer your data from the
    ' K; _% b+ `$ w: P2 g3 h" n  _
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; ~- G8 ^0 i! \3 O1 w8 H
  13. database.& l6 i3 Y, b! S! P/ c; v
  14. Some users have reported ways to import a SQLite database into MySQL, but at( G# b" H" r" @$ N4 C/ h
  15. the time of writing, there are still too many issues - check the current status
    - N1 r% v) u+ K
  16. in the TeamSpeak forums if you are interested.5 A4 H. ^' [! T& F) I3 x  v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    3 T+ ~: ]9 `2 r3 e& q) M
  18. Borland was used. This driver can only interface with the client library that
    ) G+ }" |2 q2 e1 N1 K/ Z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 O( c# k1 }, Y! F+ N; A3 R
  20. client library - basically all you have to do is to use a 3.x client library as
    + j* g. [+ q" N# u
  21. "VendorLib" and a 4.x database to connect to.( t& y" L% p- m9 p% L
  22. If you need more info about dbExpress, you can contact Borland.% e: j# O- S+ V& w' c; R
  23. 0 h( h* a& O2 c  C' M1 C0 ~2 ~
  24. ### Doing the work ###
    ) f, P( V% `% o
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all* U8 }$ L5 m4 I7 E, W
  26. the perquisites right, just open your server.ini file, and add this section at1 ]. {) c  |' y5 ^: q
  27. the end:2 e7 w; R; L; M  s! C/ O" R, M
  28. ---cut here---0 |7 _  \/ y. \) f# P8 O2 `  w
  29. [DBEXPRESS]+ n6 H# b  P) [. V# t
  30. sqldir=mysql_sql: |. _, K' F& G2 v& Q9 z0 F) k
  31. Drivername=mysql
    9 v! i* {" A  P8 o. R
  32. Database=Your_Database_Name_Here
    , C4 U* [& Z8 d8 I; N
  33. Hostname=The_PC_the_MySQL-Server_is_on9 O% P* Y2 c+ V. ^7 p7 \
  34. User_name=User_name_on_the_MySQL-Server
      B" y# C' y! b
  35. Password=Password_to_go_with_above_user_name2 M* \8 M3 f) W8 z
  36. GetDriverFunc=getSQLDriverMYSQL
    % I. g: j3 G/ X1 z5 L1 p
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib+ k, p  J6 z; }+ V1 i( B# M
  38. LibraryName=path_to_libsqlmy_libary  D. [; P6 p! k4 Z
  39. Active=1, _3 O) x4 m% A0 L0 ?: f2 `
  40. ---cut here---8 [; k4 ~* [' w$ R# n# n6 {
  41. In my environment (a linux box with a MySQL server running locally) I have:. q& n9 P0 H/ \6 y$ |3 k- {
  42. ---example---# b% ?! h# o4 L; g  `: g
  43. [DBEXPRESS]
    ! y: H! I2 M  k9 o. U* ?
  44. sqldir=mysql_sql3 s6 z! E9 b1 b! T9 z
  45. Drivername=mysql: F# i# ^% X& T( }$ Z1 q- t
  46. Database=test7 @  }  ~  `7 H5 c0 G  e
  47. Hostname=localhost! B7 s5 q, v1 m8 [0 O+ ^7 N# D
  48. User_name=testuser% s* T; F2 m, p/ p* v( O7 d9 q
  49. Password=my_password
    # V& J8 k/ j$ W* f, R( a* Z8 \
  50. GetDriverFunc=getSQLDriverMYSQL
    & b( ?5 W' N% ^/ D9 }( N  ~5 V9 Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    1 v3 o/ T% e: l; `/ f3 k1 @
  52. LibraryName=./libsqlmy.so
    * H1 @; G& u0 F5 T
  53. Active=1! R# _4 _7 R# ?+ G8 @( j# t+ g
  54. ---example---
    * Y  z1 }9 W* V, `8 K% o; u  b
  55. $ d4 s9 a& z% N8 [+ V
  56. On a windows box, also running the MySQL server locally, it would be:
    - F6 w& p. q& W; ~
  57. ---example---
    4 Y. @1 `. ^/ c& i/ |/ `) f
  58. [DBEXPRESS]
    % |5 r- ~' n6 m( |1 _
  59. sqldir=mysql_sql
    & i" d; {# |2 j5 v# ?5 p
  60. Drivername=mysql
    # J% I# b! S6 x0 F: V
  61. Database=test2 l# N+ H% g0 b& T
  62. Hostname=127.0.0.11 D7 U1 d& f3 q0 w7 ?+ X, t2 x; Y
  63. User_name=testuser% I$ E4 f! D6 g( p& J
  64. Password=my_password
      j7 X6 D! F' R0 J9 c
  65. GetDriverFunc=getSQLDriverMYSQL4 i  c3 r, L7 u& t3 t; F
  66. VendorLib=libmysql.dll  w+ R" T# Z$ r9 h3 _6 n& J. p
  67. LibraryName=dbexpmysql.dll5 S. v; I$ ^$ e3 M( }* x: l
  68. Active=13 x* @4 [4 ^" k& {9 x
  69. ---example----4 T+ _8 h# p6 ~0 u( R- A
  70. - written 02.03.04 by pwk.linuxfan
    , Z2 n) C6 `' F  m

  71. 2 ^6 j* R& @/ f' y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% b2 Q% }3 b9 `7 m1 Z/ N) J

  1. $ ^4 }" O, y0 K9 |. Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' X% p- j4 u- Z' y; N6 |! ]6 X

  3. ! X. T) w) R# T: F
  4. # # #我们所需要# # #
    8 M9 j* p( D& ~0 _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; f3 A  v% n4 }: V, `
  6. 不会解释如何做到这一点-也有文件存在,为
    3 d: G( O- j; H! e7 U$ J- N' L* ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : t2 {; C, q: ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    . i: O) y) v7 ~8 w( ^, |
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 a+ z9 o- V% P) c% y; \
  10. 本地机器,这是我的MySQL安装。 2 p7 F8 p$ s; v; {9 `$ W4 Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . L0 o4 L5 {$ {5 D" d; }& q
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ! R0 }5 r- A( p: |; V8 g- a" t" k
  13. 数据库。
    / k; V4 o% y5 x/ G5 x. r8 K
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 H) p9 B: ?' h' D! T' v3 l3 A* q
  15. 编写本报告的时候,仍然有太多的问题-检查现状" O0 `3 J6 k3 f: S/ H& }1 m; B
  16. 在teamspeak论坛,如果你有兴趣。
    & h& C& G+ }% k2 T7 p( v' q, r, r
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机/ T+ B& t  }5 q8 \& X0 J& a: h
  18. Borland公司使用。这个司机只能界面与客户端库
    5 q) H% |0 J  a! t4 o: Q, T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这" S' t2 [* C' x3 w
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为7 A4 W0 D  y! ^0 U
  21. " vendorlib " ,并解数据库连接。 4 F. I6 J$ E: u& l4 J) n
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 p) j& W0 T5 W: Y- {9 m  ~

  23. 3 S7 t4 k5 F' ^3 N1 Y
  24. # # #做好工作# # #
    + I. W, s- Q: U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都+ n9 Y1 L- V( b: B# U: f
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , L5 c  d# c+ G5 d3 ?& x
  27. 结束:
    ; Q8 S7 N5 T8 Q0 R7 w  i2 T
  28. ---削减这里---
    9 }! i5 n" A+ p( ]+ |
  29. [ dbexpress ]
    9 f! ~: [7 q, A, @- J4 k6 W
  30. sqldir = mysql_sql
    4 P1 u6 Z, h  T5 C
  31. drivername = MySQL中
    ' f& N* P' C, J% {) b5 q
  32. 数据库= your_database_name_here
    9 u7 H; U+ G$ i7 l6 B
  33. 主机= the_pc_the_mysql - server_is_on
    ( z! c% e; B* F6 d$ {
  34. user_name = user_name_on_the_mysql服务器2 y1 E% s1 m( @# o' `; }/ k
  35. 密码= password_to_go_with_above_user_name 6 ]; L( G  I0 x6 b1 Y
  36. getdriverfunc = getsqldrivermysql   e( K  t% ]5 s1 y( V0 H2 i
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 9 w9 m5 ?' b* [
  38. libraryname = path_to_libsqlmy_libary
    0 l& e  V& O, l8 }1 U" K) D" W* S
  39. 积极= 1
    % J, U7 g% r; r! O2 J. ]
  40. ---削减这里--- * g/ A- e; f3 l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 2 J. G$ t9 E/ J* S. j# N1 G
  42. ---例如---
    6 v: M8 H4 ]! {7 a2 X
  43. [ dbexpress ] 7 M+ f" y, a% J/ h' c$ b
  44. sqldir = mysql_sql * B: L' a) ~- A6 T- o) G% H
  45. drivername = MySQL中# ?8 h; x" z' Y% J* o
  46. 数据库=测试
    ; j# u$ p6 s5 m1 ^
  47. 主机=本地主机
    2 p! ^5 M* }. R) M/ \
  48. user_name = testuser & c) L! L  H5 k/ W3 O' \
  49. 密码= my_password 9 q& n0 X! d* \/ r2 |
  50. getdriverfunc = getsqldrivermysql
    8 _: [7 c1 P9 y- e
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : }5 D& A* w* l) [; \& y  s/ h5 |( J
  52. libraryname =. / libsqlmy.so . k$ U. d& X9 z" j( V
  53. 积极= 1 ) r# I& O# u+ j1 {, G' {4 r3 g
  54. ---例如---
    3 ?; |( n7 s. Q: j4 J8 ?! x1 }

  55. ) J% ]. j  O  u3 _% U
  56. 对Windows中,也运行MySQL服务器本地的,那就是: % X, T- _9 M" t; J: l
  57. ---例如--- 5 ~5 I9 I( W$ Y: v* H: z/ t
  58. [ dbexpress ]
    0 a% o4 p5 n+ w& O
  59. sqldir = mysql_sql
    # |; t! s# w" M0 s# ~! T
  60. drivername = MySQL中
    # k, R& v2 K4 h
  61. 数据库=测试
    ! _9 `* _  K. J
  62. 主机= 127.0.0.1 9 D/ `  q# R  [# \( s' l- D6 D: H, ^
  63. user_name = testuser
    + {: w. g; E- L0 y1 c, d
  64. 密码= my_password
    - E: S6 U* W. T  F$ Q, g
  65. getdriverfunc = getsqldrivermysql 8 J! I/ x2 u* V. [
  66. vendorlib = libmysql.dll在
    . q4 }  B$ u) E# i( D% [4 T
  67. libraryname = dbexpmysql.dll 9 v4 V  {4 c6 \+ V+ @# ~) g
  68. 积极= 1 , u1 S& q( P* C9 R% b9 A' p
  69. ---例如----
    . Z8 y) p, c8 P# }
  70. -写在0 2.03.04由p wk.linuxfan7 n+ V/ K- z5 J% A
复制代码
发表于 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
3 Q  ^( e5 I" m  z& P) b- `/ k% v, _+ ^4 ]- M' {
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-16 14:31 , Processed in 0.107897 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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