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

3096 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
1 n- l) |. p) w7 V" _: G# i& F$ |1 G5 j# ~1 S7 v- P0 h
  1. 6 h# L; I; v' u. g" V9 ]
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    , F# ?: A; w; a0 `- [( W9 O

  3.   @- @' k6 o* h+ ]1 V
  4. ### What we need ###
    1 u- F7 g' U  E# V' m4 p* m3 W& B5 T
  5. Naturally, we will need a MySQL server to store the data for us, this document
    0 }: p3 X' [1 j% y6 R
  6. will not explain how this can be done - there are documents out there for the : Y" y0 [0 z. Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    " c6 l# w4 q* Q( P8 U: s6 j% J
  8. and a user account (username + password) that has the permissions to do stuff$ W. h( w5 F8 C  ]- Y
  9. with the database. Additionally, you will need a vendor library installed on the4 c. e& I- f0 V  F* Y
  10. local machine, this came with my MySQL install.
    ( @, z9 P; T' P9 I# B; m! u. D5 V: \$ g
  11. These instructions will not tell you how you might transfer your data from the  P8 E6 l; X9 M+ g6 [! E: v+ S& Z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . p5 g' F' d% I0 ^' d8 }# g+ E
  13. database.
    3 M0 {: P* h% w; l
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    6 d8 R2 h& C, f7 _
  15. the time of writing, there are still too many issues - check the current status
    % |0 K* c: Z, T, X1 N
  16. in the TeamSpeak forums if you are interested.1 p8 i& y/ @5 V. D$ }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from' D" O% a* {, D- z' e. b4 @5 \9 F! E
  18. Borland was used. This driver can only interface with the client library that
    * D/ Z+ E3 f8 N6 ?; g, v, R
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( z4 u2 M9 g2 _; t# h
  20. client library - basically all you have to do is to use a 3.x client library as
    * A! \: n5 A* y. J! O# r. Q4 o
  21. "VendorLib" and a 4.x database to connect to.' @2 c7 v4 o% n8 _
  22. If you need more info about dbExpress, you can contact Borland.
    5 }+ C) m) Y: y. z# x

  23. : g7 T$ F+ p9 w1 R* V/ N2 X
  24. ### Doing the work ###
    # f9 I0 v" U' z; _1 {% v- D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all0 n9 x" s3 G. T
  26. the perquisites right, just open your server.ini file, and add this section at
    8 j* d8 e0 t1 |1 ?$ [/ F* {
  27. the end:
    2 Y, c: q9 F. L3 ?/ ]' |
  28. ---cut here---
    # ]3 ^3 U; [" ]) \
  29. [DBEXPRESS]- ?. i) m; Z# l8 D4 V
  30. sqldir=mysql_sql) z2 e- a6 q) b
  31. Drivername=mysql9 E9 X* E/ U$ m7 K/ Q, n/ p
  32. Database=Your_Database_Name_Here
    * ~: P2 Y% ?7 `4 {
  33. Hostname=The_PC_the_MySQL-Server_is_on2 p4 N5 f  e+ w9 r
  34. User_name=User_name_on_the_MySQL-Server9 w9 Q: X  m) c. D! p' e
  35. Password=Password_to_go_with_above_user_name: c# Y2 Z! n8 {+ X! x8 w' i5 {
  36. GetDriverFunc=getSQLDriverMYSQL
      \) C7 E+ a% o; _" V% }5 N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- p* z' [: N9 p0 w5 q: G5 r- i- Z" f
  38. LibraryName=path_to_libsqlmy_libary
    7 o( v6 _5 {. N8 K
  39. Active=1
    ( @; t+ N/ k, p
  40. ---cut here---
    8 |% n. {. ?: y8 k
  41. In my environment (a linux box with a MySQL server running locally) I have:2 @; N* C- I# z. c" |
  42. ---example---
    : V9 ]6 K" S5 ^; m0 s; G
  43. [DBEXPRESS]) o9 K4 p7 x* M/ V9 Q' j% e; J+ A
  44. sqldir=mysql_sql" H7 f- c* o$ c
  45. Drivername=mysql$ ]5 k+ t# C: d; R% Z+ R1 k. Y8 X& q
  46. Database=test& G1 b% ?; T0 q3 q/ j
  47. Hostname=localhost# L( f# k1 q9 @
  48. User_name=testuser
    8 }6 Z- v/ U& ], d$ _$ D
  49. Password=my_password
    . y6 C; k9 H% ]( P# r8 _
  50. GetDriverFunc=getSQLDriverMYSQL
    / O. Q0 o' ~% z( {) C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0! J; R$ ]" S: I3 X% T! W
  52. LibraryName=./libsqlmy.so. Y( {7 b) }0 ^+ W- H
  53. Active=1% a5 d. ]5 j' H6 S
  54. ---example---
    9 r0 t: F$ m. ^0 W* _
  55. " @5 C) ^- D* o; k
  56. On a windows box, also running the MySQL server locally, it would be:
    3 e$ m& S6 v9 P& W" ], I2 l; U% F
  57. ---example---
    / }( E( O. U( u  X* y+ A: z  }
  58. [DBEXPRESS], x& F- J# r: e  k
  59. sqldir=mysql_sql
    : g& D# k; e. S. B4 e3 P# g4 |
  60. Drivername=mysql
    9 x# v' {! x% J1 N/ P- [" A* t' m- J
  61. Database=test
    $ D- t) C1 l& u: p
  62. Hostname=127.0.0.1
    : ?9 z1 j+ S; Q
  63. User_name=testuser- a6 Z5 R2 v! ^, i' E% _! V
  64. Password=my_password
    ) i4 z8 w3 Y, G8 L& `7 H
  65. GetDriverFunc=getSQLDriverMYSQL" ]! Y4 ?1 \3 }( N
  66. VendorLib=libmysql.dll7 L& F0 y2 ?: v) V  W& @
  67. LibraryName=dbexpmysql.dll" l+ C6 ~; F8 i) W
  68. Active=1/ u4 r. {( Y% b/ a1 f7 ?* D8 F) {
  69. ---example----
    , A5 Q$ j7 U" z# \0 ~0 t# ^
  70. - written 02.03.04 by pwk.linuxfan& y, y9 x' B4 l8 K1 f' j
  71. % K  B9 e; I. i2 g* p* I
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' q2 J& z( ~5 g7 q& _
  1. - ^$ E) Q/ N* T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & W, A2 g; V' |
  3.   R+ w1 A# t: p; f( p
  4. # # #我们所需要# # #
    8 O! P) H* ?+ ]3 K1 l# }
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件+ @& x# g% N4 a1 a5 M1 ]/ m7 @7 g$ Y
  6. 不会解释如何做到这一点-也有文件存在,为
    # L7 o/ _) D7 x5 r0 ]  X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 M" G0 @( k8 P! Y. ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    / H2 C# U) q( n) b" z! M
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    # d& Q% a" u1 o' n& v
  10. 本地机器,这是我的MySQL安装。 7 u* M$ A: \$ X$ e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    , n" M4 j6 k% p! Q( b" u
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 n+ |) y3 X3 A) Q8 L. n
  13. 数据库。 0 v- _3 ]0 O+ N5 |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    1 A3 i( D9 d. w& Y  h
  15. 编写本报告的时候,仍然有太多的问题-检查现状8 S! i  u- ?: D! b
  16. 在teamspeak论坛,如果你有兴趣。
    0 n( Z: f0 v$ o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    . Z/ }1 z: v( F+ F1 c. l( s+ o: c8 s
  18. Borland公司使用。这个司机只能界面与客户端库
    . e0 ^: k1 n) l9 H/ l% e
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! j5 B" C& R6 i6 @; W, R9 V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 Y0 T4 j( `- z  ~6 d& _
  21. " vendorlib " ,并解数据库连接。
    + s( H. H, o- C4 N# w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ! H; ~. s6 j  W  l; z+ \

  23. 7 J) Y9 ?: H1 D2 g9 q$ m5 C
  24. # # #做好工作# # #
    + m% Z" Q% s3 q& y1 c8 H. l" g5 T
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & j& m  D4 V- a; e# k2 C* P3 g
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在, {8 D# O" F; R; U
  27. 结束:
    & K* |' P3 f" ~; Z
  28. ---削减这里--- 5 W" k9 m  z5 c
  29. [ dbexpress ] $ t9 L0 w8 V  l  y) U- \- W, ^2 {
  30. sqldir = mysql_sql : W& b2 k, H7 Y# l" c8 y
  31. drivername = MySQL中
    % K1 t; h8 o+ ]
  32. 数据库= your_database_name_here
    ! C4 o( B" I2 m3 J6 t7 A
  33. 主机= the_pc_the_mysql - server_is_on
    0 n8 O5 h! m7 h7 s
  34. user_name = user_name_on_the_mysql服务器( K7 }8 L2 R; P7 m! F$ k% _
  35. 密码= password_to_go_with_above_user_name 9 J4 C/ g7 P% t1 Q8 H0 ~" L7 V
  36. getdriverfunc = getsqldrivermysql
    5 q( B+ T7 U- c1 a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 t9 p  ]& B+ b$ k5 K- ?2 k' C
  38. libraryname = path_to_libsqlmy_libary ! _  I3 l) D# F& l' }. ^( y7 y
  39. 积极= 1
    * B, l% z9 E% S; k4 {* W4 L
  40. ---削减这里--- 5 |, [3 j; m# g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    - g9 h! H0 `; b$ o3 c% a
  42. ---例如---
    2 x8 ?- z( ^" G
  43. [ dbexpress ]
    : [7 t0 s9 B5 P- |
  44. sqldir = mysql_sql
    0 d9 ?3 H* I7 }) r6 B( S4 g, e
  45. drivername = MySQL中
    . R) r$ M# p6 @" D; T1 ]
  46. 数据库=测试
    % k, a& y! i* A9 }
  47. 主机=本地主机
    / z1 ~/ D6 P9 C7 q* |( ~( g
  48. user_name = testuser   S* p/ _0 m: h( X& ?4 Z, r
  49. 密码= my_password 2 g+ @, F0 _" A- C5 _( j6 L
  50. getdriverfunc = getsqldrivermysql
    & I1 ^. G; d) k) O9 i) t9 u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    2 g1 z  J3 Z$ M6 J' c
  52. libraryname =. / libsqlmy.so 5 u9 J$ B$ I. v. V  v
  53. 积极= 1
    $ {# S9 f2 i  j! O
  54. ---例如---
    + A- h: Y8 d! B: }/ f3 {! E
  55. 0 ]1 P% v. ~+ s
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * v$ \: h- ~* T) r" @4 \1 e
  57. ---例如--- 4 s# V* R. U& N9 Q7 |+ U4 v+ C
  58. [ dbexpress ]
    ; _+ ~8 h* @8 c. H  x  s2 N5 s
  59. sqldir = mysql_sql 2 B" l( r7 B' W& l8 a8 A$ Y  H+ m
  60. drivername = MySQL中8 ~+ E. H) q0 S% r" e2 K0 a. Z! `7 ]
  61. 数据库=测试
    8 ~! R: p  g- T- e: b! I$ f
  62. 主机= 127.0.0.1
    - Y2 ?7 }" Z+ F5 j, s* x5 P" i
  63. user_name = testuser
    ) e+ ?; l2 g+ D2 I4 Y9 R$ x
  64. 密码= my_password
    & {$ E3 P7 T6 g1 T* m- i' W( L
  65. getdriverfunc = getsqldrivermysql 8 I) N1 n* h( \8 r
  66. vendorlib = libmysql.dll在
    ( a6 I+ Q6 Y: p2 [. \# d( E2 Y1 `
  67. libraryname = dbexpmysql.dll
    % p; @- S6 r, E6 R5 T3 W
  68. 积极= 1 7 c! k& ], s' o
  69. ---例如----
    3 h) q7 t* o- P$ E8 S% X
  70. -写在0 2.03.04由p wk.linuxfan
    # B' `5 f. I7 H$ B' }" o
复制代码
发表于 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
1 B+ K# y1 W2 D/ R$ }% N
3 E+ @8 E- }; F3 o: dbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-31 18:47 , Processed in 0.110226 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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