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

2787 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; z: X" S4 X" b1 i5 W4 h5 y" J$ @) b* k* t
  1. 0 R+ M0 `% X1 ?3 A) o* }( u" t
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    1 \2 Y; G, S9 k4 d# M% \9 p

  3. ) Y; d8 R' z% ~' }, r4 c' R2 c
  4. ### What we need ###0 a/ d8 t0 r; o( ^4 k* b
  5. Naturally, we will need a MySQL server to store the data for us, this document ! {1 y  X' k( {9 S+ Q, U7 j0 A. \
  6. will not explain how this can be done - there are documents out there for the
    5 \6 q0 o4 Y0 `; @! {7 Y
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 |! R# Z- a& e; o6 K2 a# ?7 [% X) [# j
  8. and a user account (username + password) that has the permissions to do stuff
    0 o/ b0 h8 a0 P4 u4 a* d5 q
  9. with the database. Additionally, you will need a vendor library installed on the0 V  F* b' _. K7 b- C: V
  10. local machine, this came with my MySQL install.
    + G: H  Y5 s* [/ s/ E# K
  11. These instructions will not tell you how you might transfer your data from the
    ( C) r. `: [  {1 t# G9 e+ S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( e% z0 ^4 E# v% d2 @
  13. database.; Q& n' W& v& I: m8 b: y( ^3 X& g
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) P! Y: @9 z! j) H$ W4 y1 D- e- o
  15. the time of writing, there are still too many issues - check the current status
    5 V/ W: B4 E! S
  16. in the TeamSpeak forums if you are interested.
    " v. z. O" L  g) q* Q. {1 ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 q3 Q# p- q  O, [3 d
  18. Borland was used. This driver can only interface with the client library that
      y( F/ x+ r; _8 a' y+ o4 A2 o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : b2 p1 O8 ]0 i; m- e
  20. client library - basically all you have to do is to use a 3.x client library as
    ) }0 H, V# I& h, ]6 p
  21. "VendorLib" and a 4.x database to connect to.1 w% ?* g5 I. H# Q) h7 I
  22. If you need more info about dbExpress, you can contact Borland.0 m6 y5 }$ e: w) L& q

  23. & D# T- y1 I- r! [. q9 |: I7 P
  24. ### Doing the work ###" X& \5 L6 D, \( |: R: c
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all1 D8 _- M7 j5 S) C7 n7 O
  26. the perquisites right, just open your server.ini file, and add this section at
      N, ~) E  |9 Y
  27. the end:6 j& f, a- ~' E* G
  28. ---cut here---+ M, d1 M( V" I6 W% O6 s1 E
  29. [DBEXPRESS]  q+ |7 t& l( V5 k6 A* N, O
  30. sqldir=mysql_sql7 y2 P1 F& P# _( \
  31. Drivername=mysql& d8 d- s7 h( R7 z4 _
  32. Database=Your_Database_Name_Here
    " p# n/ c8 `  x7 ~* s9 S) h- K  X
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + I4 a' S# t6 ~' Y- \* x: H+ r$ N& U5 D
  34. User_name=User_name_on_the_MySQL-Server
    * U9 v0 F: T) f1 t& I, H
  35. Password=Password_to_go_with_above_user_name
    & U, N4 X1 \$ R: ^- H6 z0 W0 C+ y. y
  36. GetDriverFunc=getSQLDriverMYSQL
    / M7 R2 j7 @- j: h. {# Q% T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    9 `6 I% S$ p3 ~0 |# }& u
  38. LibraryName=path_to_libsqlmy_libary
    : G- i7 u: n3 z' q5 s
  39. Active=1- H. V0 H  b+ q7 i: Y
  40. ---cut here---) F% A' M  M6 U5 w4 k+ J5 Z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    & R+ O# o2 G- r
  42. ---example---
    8 B/ @- [4 T) p5 K( E
  43. [DBEXPRESS]
    8 D6 V) G0 f: q6 L3 M
  44. sqldir=mysql_sql7 v, E1 B) N$ J# `0 q! f$ \& Q
  45. Drivername=mysql
    1 N2 p3 I6 x% b1 i& u' ?9 t4 ?
  46. Database=test
    : V' ]* i+ t: y7 g6 t
  47. Hostname=localhost
    ( T0 t, h" _1 J3 F. v8 o) f
  48. User_name=testuser7 F% b" J6 X3 [4 f# ^1 O
  49. Password=my_password/ a$ q, T* H& O6 i0 s1 |  p
  50. GetDriverFunc=getSQLDriverMYSQL# M% t5 `7 H. D0 f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; W7 I+ J7 n8 C! F) |2 M) `
  52. LibraryName=./libsqlmy.so3 f6 J0 [; R; _: O2 I9 R
  53. Active=1
    # v2 [/ m' W7 X" }
  54. ---example---: U# s# l& Q% C) w/ S) v( y
  55. 5 d% ^# ^: ?5 `0 A4 L+ U
  56. On a windows box, also running the MySQL server locally, it would be:
    & B& R4 ]# ?) m" y8 x
  57. ---example---
    7 I* }4 d' \& B4 u
  58. [DBEXPRESS]! A. S8 ~: p! u: z; ?% C
  59. sqldir=mysql_sql
    0 ~. q- h- A/ X3 c2 B, F
  60. Drivername=mysql
    ! v7 Y6 {! ^/ c& S/ d! |
  61. Database=test
    3 ?1 v" C: S9 `' `/ g9 H# |
  62. Hostname=127.0.0.1
    ! w7 f& k# x5 K4 F+ l
  63. User_name=testuser
    : E5 }1 F# h2 X6 ?+ ^# J# [
  64. Password=my_password
    # w! U1 e# r0 E+ m) w; ]
  65. GetDriverFunc=getSQLDriverMYSQL+ t7 |# p+ V, e$ ^0 e, I! `
  66. VendorLib=libmysql.dll
    ' v0 ]- l: o. R3 T5 V
  67. LibraryName=dbexpmysql.dll% Q1 P, K/ x' V4 L
  68. Active=14 V& s8 w* s$ O5 O( ?
  69. ---example----
    - Q: j. ^' q. |4 e
  70. - written 02.03.04 by pwk.linuxfan
    + E# a4 ?% E+ B: K4 a
  71. # r3 s' _% W& [" l! P7 w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
) G" C1 _, `/ y6 p
  1. ( [  u, K& O$ ^6 |- O3 o
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * [% e& T0 \) P2 \- c3 A

  3. * @( X; Q, M, A+ n9 _  I- I  K1 t
  4. # # #我们所需要# # # ! j. j! ?  O' @. k, N; A
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: \. c3 n# F+ ^( W* d7 Y
  6. 不会解释如何做到这一点-也有文件存在,为
    : e- q0 i" n7 d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' W. G! e) C0 B2 v3 }$ J0 ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 A; Z- v9 ?/ C
  9. 随着数据库。此外,你需要一个卖方图书馆安装于4 q& T1 [+ b- x- S$ y" q) n
  10. 本地机器,这是我的MySQL安装。
    2 `' Z8 K9 j3 }4 O$ P! P! s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从" \' \3 y7 u$ S# G0 O; q5 ?- K7 s
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   A9 J3 o* s1 O
  13. 数据库。 6 E  ?! {- G3 _7 U/ U: f
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 L1 F3 e; E- @% `
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . j$ f1 d  U% I# S% S
  16. 在teamspeak论坛,如果你有兴趣。
    & K+ A6 r$ j0 o5 R/ Q) h; @* }
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * E# L" _) ~! U/ P; f
  18. Borland公司使用。这个司机只能界面与客户端库
    ) L* H0 w( i' g- S
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) |7 \3 k) T, x" Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为. b) \, Y. f3 i
  21. " vendorlib " ,并解数据库连接。 : l. B; q$ z: `
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 & a3 {/ H5 s( V

  23. ; M- f  _8 M; `
  24. # # #做好工作# # # # m4 O, M9 R. j9 _& p2 ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都  O! |6 g- Q7 m
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 N9 t5 T$ B5 w7 _
  27. 结束: 2 _6 x* E% s  ^) F6 y7 y% q5 R3 I  |6 |; G
  28. ---削减这里--- / T! z7 S) c, M! f
  29. [ dbexpress ] " K. f3 ^4 r8 ?
  30. sqldir = mysql_sql
    5 L( x7 W6 {- u6 R% O7 X
  31. drivername = MySQL中
    $ C; ^; H# I* t( V/ \2 l
  32. 数据库= your_database_name_here
    ' w. L6 q, A, l! v, a/ x
  33. 主机= the_pc_the_mysql - server_is_on ' b! x" v2 n2 @8 {4 I
  34. user_name = user_name_on_the_mysql服务器' k% T* t) y" o: l! q$ c
  35. 密码= password_to_go_with_above_user_name
    * y* x+ Y0 k4 p+ C% I* u2 K2 M
  36. getdriverfunc = getsqldrivermysql
    0 [. R: k  n0 K6 y/ z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * S- o5 s* E' w- z  |+ P+ O
  38. libraryname = path_to_libsqlmy_libary . {( t. R7 }3 T* H0 w6 g6 j+ {
  39. 积极= 1
    6 U/ J% h. O) ~* X+ R' E
  40. ---削减这里---
    / {* I$ \) m6 p  r
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + w9 s; b+ L% P' F
  42. ---例如--- . p2 J8 h/ s) w& t) f$ n
  43. [ dbexpress ]
    ) C: r1 e* b$ b, ]3 R; ?
  44. sqldir = mysql_sql ! P5 y1 @8 W+ V" }7 G
  45. drivername = MySQL中$ M' x7 _8 F( e% D3 u9 w+ Z$ ]
  46. 数据库=测试
    7 h( L+ s  c" K" G' X
  47. 主机=本地主机+ T! }; [9 s5 ?
  48. user_name = testuser $ c$ Z' r" q6 Z/ r4 x3 L1 O' U1 Q! j( H
  49. 密码= my_password * x& E4 F' j9 s$ o
  50. getdriverfunc = getsqldrivermysql : D7 a( O* G+ c9 \3 d
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 % p  C! L2 C* G6 E. C* ^
  52. libraryname =. / libsqlmy.so
    2 U6 `0 g& k6 H! [. n) J
  53. 积极= 1 . A4 ?; a& h9 b* g
  54. ---例如--- 2 O9 r: a' \$ ?1 ^
  55. ! U# P& `: h% `) {
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    . ]8 M* B9 k8 E$ d! l
  57. ---例如--- + L1 Y: L! f0 q
  58. [ dbexpress ]
    : ]7 t- N7 @5 ]/ m1 v( o
  59. sqldir = mysql_sql 3 k2 o9 S% N2 b: M  `, B
  60. drivername = MySQL中
    8 o" }0 n, s; {/ A( {7 }
  61. 数据库=测试9 u- i& X) F/ J( n; ~
  62. 主机= 127.0.0.1
    , S: h7 E: R$ ^
  63. user_name = testuser
    " o  q4 o; B  Y
  64. 密码= my_password . a: U8 a$ ^; C1 c
  65. getdriverfunc = getsqldrivermysql
    3 ~! o8 Z5 A6 |  W8 d% {
  66. vendorlib = libmysql.dll在
    5 t! N- m1 F$ j* c
  67. libraryname = dbexpmysql.dll
    " z3 ]  U: u# C# J( `) D
  68. 积极= 1 ! b; C1 l. G9 H) j! F
  69. ---例如---- % f# T& U  Y. V  U
  70. -写在0 2.03.04由p wk.linuxfan  E* E8 I$ C4 s' v# I
复制代码
发表于 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
) A6 `8 ?. |1 ~7 V' \4 W; A0 E6 j% F
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-21 15:56 , Processed in 0.122631 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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