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

2278 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 ~( l& H! E9 b- v- Y% ?; `2 S7 h. p" P; ^% m

  1. ) U& s" L2 E  Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######3 C6 ^9 O3 Y3 g; R
  3. 3 Q4 n0 ?7 x, g: |
  4. ### What we need ###
    ; [# s8 E5 E! w
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * K2 P- F7 O+ S2 N
  6. will not explain how this can be done - there are documents out there for the
    2 W/ B; I; J! Q8 I
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ( j% |  g# _3 [8 m4 o; O6 G
  8. and a user account (username + password) that has the permissions to do stuff, d0 G" X0 _& F" T( W
  9. with the database. Additionally, you will need a vendor library installed on the
    ; a5 o+ p4 \. f/ w% x, E# u
  10. local machine, this came with my MySQL install.' y$ l/ E7 Y5 k' V+ ^) X& F8 n
  11. These instructions will not tell you how you might transfer your data from the8 D7 W+ \% I9 o8 [( E" M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      x! d: k/ _; q  u+ `" k
  13. database.$ {4 u% _& L& j
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ e. X* r& K6 Y
  15. the time of writing, there are still too many issues - check the current status& i2 ^9 J5 H( Y, E+ K1 Q
  16. in the TeamSpeak forums if you are interested.
    ; O& I% l; }4 W/ C/ Q( F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    0 T0 Q0 A/ n1 x4 u: B
  18. Borland was used. This driver can only interface with the client library that
    * v& R# ]) V& K$ n: x. c% R& o
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this1 [& N/ R# I# A
  20. client library - basically all you have to do is to use a 3.x client library as 7 n/ v2 e+ T8 r3 m8 z7 t8 B
  21. "VendorLib" and a 4.x database to connect to.9 V# }1 Y4 x- \( \2 D% r' [
  22. If you need more info about dbExpress, you can contact Borland.
    0 N  J" _& i- L$ }8 o1 G: N
  23. 4 ^& f3 {7 E" ~( Q, w
  24. ### Doing the work ###* U7 y. C$ G' t1 c1 Z
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ E4 \& i' `& g# H6 X1 P, x2 {
  26. the perquisites right, just open your server.ini file, and add this section at0 a& g) a) D; ~; `+ D
  27. the end:
    & [/ r3 E8 H# y% x; O1 |3 S
  28. ---cut here---9 j2 w) @0 B; K3 k& d
  29. [DBEXPRESS]4 P& E$ m/ r* C: C' h. u1 s) b
  30. sqldir=mysql_sql- I) ^! r  R  Z. p+ K
  31. Drivername=mysql: F: B' v6 u& i
  32. Database=Your_Database_Name_Here
    . T* M3 v7 ?8 B- D. @/ [# n
  33. Hostname=The_PC_the_MySQL-Server_is_on4 ?$ K7 f; }7 _
  34. User_name=User_name_on_the_MySQL-Server: [: p7 u5 ]# g; F5 O4 L
  35. Password=Password_to_go_with_above_user_name' L; P# [7 f' A! R4 K  m
  36. GetDriverFunc=getSQLDriverMYSQL
    ( w& {; L( g0 X* N) G% ?& K
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * h+ ~" D, V  J
  38. LibraryName=path_to_libsqlmy_libary
    ! W" I( \# f8 g; W
  39. Active=1
    8 f* E8 s1 a* v+ x/ j/ n
  40. ---cut here---! ?6 f- x& p2 W8 W" W# `
  41. In my environment (a linux box with a MySQL server running locally) I have:5 e  {) N- G( \$ l  v. R
  42. ---example---# ^1 x' ?% E6 T  x" m% A) A1 Z
  43. [DBEXPRESS]) T# V8 Z, p- k- @, z
  44. sqldir=mysql_sql6 m* C( Q9 p5 D. L3 ]
  45. Drivername=mysql
    6 m" q9 U# D5 ]7 C! e% [
  46. Database=test
    2 |7 x: [- G+ t* N: M7 M1 X8 a
  47. Hostname=localhost
    ! T$ ~: D! c' q4 c4 Z
  48. User_name=testuser/ X; G. q. k8 V6 B5 N3 W
  49. Password=my_password
    8 Y% Q$ r  N) \$ k' H* @/ J6 x
  50. GetDriverFunc=getSQLDriverMYSQL/ l# k, [# a- o, {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , Z/ L2 M( A! [9 O( |
  52. LibraryName=./libsqlmy.so; G; a# W, F3 |! \" |
  53. Active=1
    " t6 M" y& _( b" R8 z7 V4 d
  54. ---example---
    4 R) \+ C' Z$ y9 h/ T
  55. 3 X. Y4 g% t' B8 F5 C
  56. On a windows box, also running the MySQL server locally, it would be:% a4 s; G" e. E4 ~
  57. ---example---  I4 h. c( S/ L, f3 C
  58. [DBEXPRESS]
    7 a) X3 O9 o: {: x' n
  59. sqldir=mysql_sql$ U) ~- N' \' G" a7 c9 t5 ~
  60. Drivername=mysql
    " z! h, `* C5 b7 u: s% U' d7 l; ?
  61. Database=test" {  i8 o; z% B; p
  62. Hostname=127.0.0.1) E0 n# F5 m# l0 g, b& O9 F
  63. User_name=testuser/ Z/ P; F! N" k
  64. Password=my_password
    2 \  u) P, \% ^( J0 u5 c$ f
  65. GetDriverFunc=getSQLDriverMYSQL
    , W8 j7 T2 ]! T0 L  G) N1 N
  66. VendorLib=libmysql.dll
    ( j% q$ A# P4 X# ]4 I: v, y
  67. LibraryName=dbexpmysql.dll
    ( U1 N. M2 Q5 w* V# |
  68. Active=1& g, \' I2 @( G3 g* F6 V
  69. ---example----5 [3 D: T2 a. C- ~, G4 y
  70. - written 02.03.04 by pwk.linuxfan
    $ _7 Q# h* {9 e) w8 q4 l
  71. & ^9 k7 {  S+ u3 z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
8 c6 u3 R7 T3 m+ x: R
  1. * g2 [; r: r! W8 K  F) w+ J( V% t
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### " c7 k' }' L6 y( v$ _" a

  3. 8 g- ]/ n! u) z3 a7 v1 ~
  4. # # #我们所需要# # #
    : t# x/ _/ b/ x; \
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  S7 s- S  m" F$ y
  6. 不会解释如何做到这一点-也有文件存在,为0 L$ X' U0 r4 v2 n- l0 l4 c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    / ^2 `, L; p' m. ?9 r; [8 p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ( k; i; K- S/ b7 [- \
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ Y, X" J, v( @! `# R1 n& D
  10. 本地机器,这是我的MySQL安装。 & p. M1 O( ^. x9 Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; f3 i. v9 C* K! T: E" O" K- Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    8 B* w+ e3 D) O; s* F$ ]
  13. 数据库。
    2 B$ b% F. n' F1 r- I% _& Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
      Q" o8 h' h8 d
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 M  D8 M9 R6 s
  16. 在teamspeak论坛,如果你有兴趣。   K& \- S$ z- u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机8 j4 \' T) j% ~# @. a8 E
  18. Borland公司使用。这个司机只能界面与客户端库
    . N9 M* j0 _/ N, P6 z  b
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 o+ N1 I" s* S% O9 Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 H  L' q$ [, @  _; K1 a" B
  21. " vendorlib " ,并解数据库连接。
    ; q: |2 l9 Z( D3 g: H+ w% z7 m
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 U2 b# A9 L' w8 M

  23. 4 g5 V2 t& r/ Y5 N
  24. # # #做好工作# # # 7 y1 C$ {: x. d& t6 ~( M% g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " D2 s6 l! i, |9 G
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在) V3 n% `! y! ?; ~: \7 G
  27. 结束:
    7 U( v. A5 W) ^% U* @: Z% `
  28. ---削减这里---
    4 K& O( b8 e3 c! `
  29. [ dbexpress ]
    ) Q! ?+ S- B8 ]. J+ X
  30. sqldir = mysql_sql
    9 l! R# y; X  j1 E: \3 W3 r. K- h( b
  31. drivername = MySQL中
    ! I9 u2 C. S* a4 c) b, @
  32. 数据库= your_database_name_here   M( Z% U: l9 p( E% p1 w7 X: a- K
  33. 主机= the_pc_the_mysql - server_is_on % {0 G7 {( x6 n% q3 b9 i* y
  34. user_name = user_name_on_the_mysql服务器* r9 v  h- [' {, n% A1 W5 u
  35. 密码= password_to_go_with_above_user_name / m  g0 x3 h  ~# Z
  36. getdriverfunc = getsqldrivermysql
    + y; z! _! u5 g# H  a
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    9 O6 y  J  c) a" f! R
  38. libraryname = path_to_libsqlmy_libary
    " W, o! M0 x  ]: h% f! f# u
  39. 积极= 1 3 E  W  u, Z6 N& v& C
  40. ---削减这里--- & E8 F9 a  M: }8 T* k. }
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    2 a3 }, ?3 k- }/ S
  42. ---例如--- 9 k& H" J3 j! w; W& ~: x0 i* V6 B  P
  43. [ dbexpress ]
    3 B* [  G) c5 Z+ X/ Y8 a
  44. sqldir = mysql_sql & Q. t. C# |( ^7 m: w
  45. drivername = MySQL中+ F, f8 Z2 Z7 e: H9 ?( p0 A
  46. 数据库=测试8 ^: ^4 d; k1 w3 |! _
  47. 主机=本地主机+ K8 m& D6 c) Q3 {
  48. user_name = testuser
    : |. j$ H* U+ q7 x
  49. 密码= my_password
    5 F1 D/ V4 M! G8 t! T! l
  50. getdriverfunc = getsqldrivermysql ( H5 u5 G: e2 A% r- T
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; g- |5 |4 Z2 i7 W. v- h
  52. libraryname =. / libsqlmy.so 6 t% @4 ?" \, k( Z
  53. 积极= 1 3 ]/ |2 ~1 Q8 N7 p2 N& {
  54. ---例如---
    ' l, j* W: h+ p7 H5 `

  55. ' S( W, Z# `6 a% e7 c1 H
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    , X: G9 ^4 i: j1 D/ R. \0 A
  57. ---例如---
    ' ^3 k4 Z* s: ~3 ~8 c
  58. [ dbexpress ]   R# ]2 A7 n: L5 ~+ A( B
  59. sqldir = mysql_sql , B$ F/ G7 d6 v8 y$ A6 j2 w4 b9 `2 z
  60. drivername = MySQL中2 p) n& k" ^: N" \1 l6 P
  61. 数据库=测试9 a  b* C8 Z$ S" s" q- H
  62. 主机= 127.0.0.1 9 p4 R+ w2 c' ]3 N0 b9 j% @2 n: g
  63. user_name = testuser - L+ J8 s! j6 a6 L
  64. 密码= my_password
    , Z* J, y! c# D! V: B
  65. getdriverfunc = getsqldrivermysql
    0 f/ l3 V$ b5 x9 L+ N! J
  66. vendorlib = libmysql.dll在0 t% Q: [/ w/ y9 m5 `; ]: \: z
  67. libraryname = dbexpmysql.dll
    ' ^" \) f5 {& g5 {* F
  68. 积极= 1 6 h$ H2 D6 g7 f7 ^1 V- x4 I
  69. ---例如---- 1 t$ \3 t# O- m/ `/ |+ Q" o
  70. -写在0 2.03.04由p wk.linuxfan* d5 F* F" Z5 R; Z3 M' y; 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" q( O2 ?: D0 n8 x+ k0 [
- x% X% i2 M' N8 V
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-9 18:36 , Processed in 0.098396 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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