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

2790 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
! C' O+ X- H5 S! Z/ ^. M
. {% g( w5 v& I8 b5 ]' A* T* _+ O
  1. ; H6 w, O, W" f- F8 q# s7 g2 [
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 W( g* P5 Q" V% ^: ]3 [- W
  3. : V$ h6 V& V7 P3 U
  4. ### What we need ###
    5 e4 Z& p2 J. ^5 H& ^
  5. Naturally, we will need a MySQL server to store the data for us, this document # m4 G" R0 C/ [, o
  6. will not explain how this can be done - there are documents out there for the . F1 a; J* s  `2 P+ u
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; g, H! N/ w5 S+ y; H+ ?
  8. and a user account (username + password) that has the permissions to do stuff
    3 h- Q1 B. I6 k! j2 ^
  9. with the database. Additionally, you will need a vendor library installed on the
    # E* M+ L! y# W- E% E( D  b
  10. local machine, this came with my MySQL install.* c2 i' Y! s2 N! T- L0 N
  11. These instructions will not tell you how you might transfer your data from the8 o$ `8 F  Z, t" {
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL0 S* D% N; D! v* m4 l8 }8 e
  13. database.+ _: I4 G9 y+ ]# u* |* Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at5 _8 D& i7 ^# O/ {  B* c
  15. the time of writing, there are still too many issues - check the current status
    6 E+ h3 o9 w9 X+ x8 T
  16. in the TeamSpeak forums if you are interested.
    + ?( X0 H& e1 o( P. Z+ B5 }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    5 V3 j3 T, J$ L8 r0 `
  18. Borland was used. This driver can only interface with the client library that " G" n, Z) k) t; I6 E
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 E# y5 M$ Z3 `; t: g/ Y% c5 o
  20. client library - basically all you have to do is to use a 3.x client library as
    & g" _+ U% C/ i- h7 z
  21. "VendorLib" and a 4.x database to connect to.2 _' [  C7 C7 j* B. D9 T
  22. If you need more info about dbExpress, you can contact Borland.
    0 q# ]' k5 Z0 b9 U% ]7 r3 \

  23. $ o5 U0 ?5 b* c4 [* b$ D" @; ]6 \; c
  24. ### Doing the work ###. J( i. y" T, b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 A& J" `/ f. R0 a9 I% C
  26. the perquisites right, just open your server.ini file, and add this section at
    : w3 O- T7 v+ i1 `; X0 G+ @7 }9 G0 b
  27. the end:3 Q1 u3 I6 S, ]) u* f0 [% a" u( l
  28. ---cut here---
    3 S4 O7 W+ ^: T! {# J5 |
  29. [DBEXPRESS]5 \% k4 q  |& V. k$ m! v0 ?5 j
  30. sqldir=mysql_sql
    7 y/ j" n- Y8 t) N9 u+ F* p& c# x
  31. Drivername=mysql3 J4 m: {& ]/ H; }
  32. Database=Your_Database_Name_Here1 H# n) f; V9 S' w4 f- K' n
  33. Hostname=The_PC_the_MySQL-Server_is_on  a& z! F4 R- {/ d
  34. User_name=User_name_on_the_MySQL-Server
    " Z! E) \$ h( w3 u5 w( q1 u
  35. Password=Password_to_go_with_above_user_name0 X6 J" I/ P1 o7 e7 s9 s, Z, c# |
  36. GetDriverFunc=getSQLDriverMYSQL
    $ y2 m2 U( R. i6 m/ J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib9 A! e! [% R, g/ ^
  38. LibraryName=path_to_libsqlmy_libary
    " u# f* T$ d6 ?4 w( H/ r  |* _
  39. Active=1
    ' t9 k0 M& @% I
  40. ---cut here---
    + b( P/ n. P; S$ e1 K
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ! Q7 V* N7 N4 H7 K4 z' E8 [
  42. ---example---8 H# N3 a; q& {, e' T
  43. [DBEXPRESS]& n. s' w! q. a6 V$ o$ T
  44. sqldir=mysql_sql
    & K& z* Y+ C' L6 m: X/ q
  45. Drivername=mysql% C7 m3 Q+ U9 z5 E3 ?7 @& d8 N- L
  46. Database=test! \* `1 K9 q8 P% f8 k
  47. Hostname=localhost
    & Z7 d* Y7 m: F1 w! W) p+ K! |+ k- y; c
  48. User_name=testuser
    5 \! o. z9 C" N# X
  49. Password=my_password
    " U3 V1 t! E' h) O
  50. GetDriverFunc=getSQLDriverMYSQL
    & `6 D  Q) g& n; L( \$ Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 g0 y' x) o5 @
  52. LibraryName=./libsqlmy.so
    ; C; ~/ s# E6 b
  53. Active=1
    " }& _& T* M. `6 M$ x
  54. ---example---
    # ~  e1 M  T  {9 c
  55. + ^1 O( F: T2 O4 P# d
  56. On a windows box, also running the MySQL server locally, it would be:2 b( w  ~; p. ^9 B" p+ x6 a  Q* _, e! A
  57. ---example---
    - p9 }7 L7 o; V8 p7 y
  58. [DBEXPRESS]
    6 y' ]0 V! e8 k+ g) [1 Q
  59. sqldir=mysql_sql) f+ L: F- x/ Q* I1 u, [6 v
  60. Drivername=mysql
    : }! k6 V6 d' J* K9 S$ N' P) O1 A
  61. Database=test$ H; S9 [% ^# w% T9 N* l
  62. Hostname=127.0.0.18 p% L) r3 u' R2 H
  63. User_name=testuser, c! E' F5 z: v& k$ Y0 b8 q
  64. Password=my_password
    " {1 n  p' J. u
  65. GetDriverFunc=getSQLDriverMYSQL2 [: \$ E. _: T9 c0 Q$ N9 L. J
  66. VendorLib=libmysql.dll) X( z0 J! E  {- A8 V  [& u4 v
  67. LibraryName=dbexpmysql.dll7 r$ D; G. ~! a* ~" Q0 L
  68. Active=1
    4 H6 C: f/ e% T! F
  69. ---example----
    3 p- N  n* m- a6 x
  70. - written 02.03.04 by pwk.linuxfan( g: V+ B7 Q) a1 J

  71. " \- C) t* A8 m2 b) r! G; f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 r: I9 D. l& G# k6 p7 V

  1. 9 Q7 |2 b, f, }% |: m8 |4 a
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 w5 M3 i, r0 T6 t* q

  3. ! r' ]) c6 c0 B9 }+ m% P1 W8 Y* U
  4. # # #我们所需要# # #
    , k% `: }% c$ Y4 }6 i5 e& X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件6 S% q: Z0 ^, j8 y/ G! L
  6. 不会解释如何做到这一点-也有文件存在,为4 C, o: G  h, G& W+ m7 z7 V# @
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& u2 V3 l3 x- D; L5 T7 X" `- R
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西; T0 }# }; t* r$ T$ U
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 ^/ G1 d8 q8 a( Z# M* w4 U
  10. 本地机器,这是我的MySQL安装。
    ' b9 K& g2 A" I# h. G8 Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ! \# H9 I2 G! W0 |
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    3 v- q; @) r& W3 f4 {! W
  13. 数据库。
    1 z2 M6 ?# U- U
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ( A1 G* o" `* u# ?
  15. 编写本报告的时候,仍然有太多的问题-检查现状. f( r, ^5 ^5 L1 a: P
  16. 在teamspeak论坛,如果你有兴趣。
    0 B& c& B( A4 O' V9 x3 c* c
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* t- ]- O6 w0 m* G
  18. Borland公司使用。这个司机只能界面与客户端库7 u$ S! l8 M' K# A% f* Z/ c
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ T( y# N/ i+ g" J0 C! \2 W7 m  p
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ |- {  n3 X8 x6 w# r; o
  21. " vendorlib " ,并解数据库连接。
    $ J8 U1 j$ {4 ~+ }0 u) |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 S+ i; E: }6 F6 I5 G8 E+ _
  23. " O( W8 X1 v7 H5 T; i, ^
  24. # # #做好工作# # #
    0 V/ R3 B1 o' W# L
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    / _) P' }' D+ ]  g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 ~3 X, x# x/ ~  d
  27. 结束: + G, j0 e$ x0 k0 ?/ l) H$ J+ _: a
  28. ---削减这里--- 4 {5 V0 X- Y0 E/ M6 m% {
  29. [ dbexpress ]
    + m# x& v' s3 p2 u
  30. sqldir = mysql_sql , z! O3 M" W' b: O
  31. drivername = MySQL中) T4 u, R9 W* w/ w1 Y6 ?
  32. 数据库= your_database_name_here
    * u% F( o5 `: Y
  33. 主机= the_pc_the_mysql - server_is_on ; r" o3 u7 U) Q# |8 b
  34. user_name = user_name_on_the_mysql服务器* b3 [- L$ Y6 g
  35. 密码= password_to_go_with_above_user_name 8 N/ t0 |2 n0 q. Q, K5 j
  36. getdriverfunc = getsqldrivermysql ) G- S0 b3 ^) T) @& z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    5 ~. \2 l. s! ^3 g3 q4 u3 C& L
  38. libraryname = path_to_libsqlmy_libary 0 S+ e0 f9 p7 G; t" S8 ^; ?5 F
  39. 积极= 1
    7 o3 b9 ~0 H2 c
  40. ---削减这里---
    2 q4 @' X: G: d& s& R% }
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 p+ ?) Y7 B& M$ o' G, R
  42. ---例如---
    6 e) l7 X* g; Q( S
  43. [ dbexpress ] " ^+ j: _) I$ z
  44. sqldir = mysql_sql ; \; ~, }3 L+ q/ t# ?! @7 \8 M
  45. drivername = MySQL中
    + R5 i8 ^' ~  P  v
  46. 数据库=测试
    : p$ x" O( T" n( |, d* P  |$ g
  47. 主机=本地主机
    ) G/ b! r+ v) B# n& }8 t( n+ N5 g
  48. user_name = testuser
    7 \8 ]+ N6 N, [9 `
  49. 密码= my_password
    , ~( F" n' B% ^5 F. M) G( U2 U  [3 a
  50. getdriverfunc = getsqldrivermysql
    4 O* f2 {- H; ~9 N! ?; m  s
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 4 p, o" h) n6 b# U/ i3 C
  52. libraryname =. / libsqlmy.so
    : S+ Q1 ^4 v1 t% o) n
  53. 积极= 1 : n, ], C# Q  M9 n
  54. ---例如--- # l' c* V: W9 c$ q8 v

  55. 9 i6 Y: z3 p" F
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - u# C  S) h; v" T% x$ n
  57. ---例如---
    # b  d# n. C# S0 ~8 k/ L" F/ `
  58. [ dbexpress ]
    % S& ~( b$ |7 C
  59. sqldir = mysql_sql
    0 T# M7 v( B/ Y0 |
  60. drivername = MySQL中6 B. p5 F# P" H7 ]: H; C
  61. 数据库=测试
    ! a3 [/ M' j4 i
  62. 主机= 127.0.0.1 " E8 t; M' W* e* K
  63. user_name = testuser
    0 Z4 ?5 x4 u. a* a2 I
  64. 密码= my_password
    2 y6 Q  c, {6 t5 F& K* l8 n( g
  65. getdriverfunc = getsqldrivermysql
    " q( W; S: G6 a) g2 t9 C7 [3 Z
  66. vendorlib = libmysql.dll在' ^' R- \3 M! o/ v: h5 W% j
  67. libraryname = dbexpmysql.dll
    ( [0 m; ~0 P- S# x" J6 e1 c
  68. 积极= 1 ' r+ o& x( U6 A6 B  t
  69. ---例如---- ; I% F! K; f6 x# m
  70. -写在0 2.03.04由p wk.linuxfan+ B( h! M) R* p
复制代码
发表于 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 words2 B/ \1 b# h! ~8 u5 }5 n
# T' N+ r) H. j% a! x, F* n( Q
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-22 05:55 , Processed in 0.090380 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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