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

2341 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan , D: v3 ^# k0 v
7 R7 h: u- ?3 W9 \3 x' _9 u- O
  1. 4 X3 V% l. H; R" |4 j% f  o
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ' U+ G2 q' z7 \
  3. 5 W& x+ P; m, q  P& O5 C
  4. ### What we need ###) a3 ^1 \# L' W  ]/ ]+ E( G
  5. Naturally, we will need a MySQL server to store the data for us, this document / y; G" U: l5 Z1 V
  6. will not explain how this can be done - there are documents out there for the
    0 Z* m) |4 ?  c8 @7 ~: t7 L" ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use, Q; L% {2 f2 W( |, z! G; |8 [
  8. and a user account (username + password) that has the permissions to do stuff
    4 s7 A# I2 X; v7 [& V0 o2 t1 p
  9. with the database. Additionally, you will need a vendor library installed on the
    3 O& Y, H+ q& @# f% E
  10. local machine, this came with my MySQL install./ I7 I5 G4 p% y. r  ^* W* {
  11. These instructions will not tell you how you might transfer your data from the$ ~$ T- K% F( U, m6 h% u% q" V
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ( a  Q1 E5 N7 {1 [
  13. database.* q2 T: U! j. l4 o' k
  14. Some users have reported ways to import a SQLite database into MySQL, but at% l8 A* q; L5 I* g) i9 z6 d( X9 f
  15. the time of writing, there are still too many issues - check the current status) C* [- F# b2 F; v; k. S5 P2 }
  16. in the TeamSpeak forums if you are interested., d$ [; d+ Q3 _+ ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from8 C( U  M3 V, w8 P
  18. Borland was used. This driver can only interface with the client library that
    : i9 w. e% j: K8 g" A) b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : ?% w( j2 X9 N( ]
  20. client library - basically all you have to do is to use a 3.x client library as + A- O1 e( |4 P+ z2 J3 n
  21. "VendorLib" and a 4.x database to connect to.% f. \2 t0 f; O) s, Q& `. ~$ \
  22. If you need more info about dbExpress, you can contact Borland.- s& E/ W8 }6 L' L$ n, M) Q

  23. " F1 E* V4 J  L$ J: X* \
  24. ### Doing the work ###
    2 O4 X5 }  I! s0 ^) g
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all6 E$ h' b0 U) {/ |
  26. the perquisites right, just open your server.ini file, and add this section at6 @1 V6 b& d5 ~' l1 q
  27. the end:
    & \  v' w/ ?' I6 K+ s- b- l# Y
  28. ---cut here---
    / a) L: Z( R, A5 B" Y7 C
  29. [DBEXPRESS]5 M8 `" Z  Q( K+ @. D) k/ Y- L
  30. sqldir=mysql_sql2 S3 n9 C" k  r- o. \
  31. Drivername=mysql: E6 G" E0 f) P. i% D
  32. Database=Your_Database_Name_Here
    + f( D- n4 p8 r' f
  33. Hostname=The_PC_the_MySQL-Server_is_on
    . H) k% M* l( L1 t% @6 }8 H; X, ]
  34. User_name=User_name_on_the_MySQL-Server
    * M+ ?! k7 P% |( l# `" X
  35. Password=Password_to_go_with_above_user_name
    & Q; L. e0 i' E5 Q, i
  36. GetDriverFunc=getSQLDriverMYSQL
    2 M! |1 n' g  O9 {) V/ V8 a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 Q/ i1 i& q0 [/ _; u, N2 ]
  38. LibraryName=path_to_libsqlmy_libary1 Y8 ~2 y, \0 i& T
  39. Active=14 K# Y' A. ~5 N2 t, z
  40. ---cut here---+ J+ x4 j2 Q) j/ t/ f- c" `- ^  N
  41. In my environment (a linux box with a MySQL server running locally) I have:5 M' _  ?0 z& {: c$ y
  42. ---example---
    1 A4 r) c0 @2 X4 t$ u: K
  43. [DBEXPRESS]* W: n3 ^! s& K. v: O* Z( Z
  44. sqldir=mysql_sql
    $ ~7 v8 H6 A% ]: C' p( g
  45. Drivername=mysql" Q6 g! W' o7 q% b' b
  46. Database=test9 j) Y1 m! k3 q
  47. Hostname=localhost
    ( r/ C$ q( T1 Z
  48. User_name=testuser
    / M4 L1 |4 m9 G! I
  49. Password=my_password, f& G5 L$ M: B; U# H9 K
  50. GetDriverFunc=getSQLDriverMYSQL# v2 x& }1 V7 E1 n
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + B% G% V$ |4 D; p
  52. LibraryName=./libsqlmy.so
    5 z& L+ C+ S3 p# Q/ B) L, h" Q( D$ \
  53. Active=1; O) j- ?7 ~' ]9 v/ S# j" g1 s
  54. ---example---9 h3 b$ m- r' n$ g- ?2 w9 B* K

  55. 4 ?0 w( [9 t; E- z7 {0 U+ c
  56. On a windows box, also running the MySQL server locally, it would be:. S* m" R" w+ B2 ~  u
  57. ---example---& J/ T( B! k* m  ^
  58. [DBEXPRESS]
    - h% M$ q- b. S6 e
  59. sqldir=mysql_sql' D$ O+ f# o* k% r) \8 Y
  60. Drivername=mysql- `6 d: @. ~$ I/ [. r
  61. Database=test5 O) g* @3 x" P. g
  62. Hostname=127.0.0.1
    ) M) {0 P( K7 M$ o( O
  63. User_name=testuser' [1 _" e" B0 D0 ], d) U" Q
  64. Password=my_password
    2 u: |* b4 o- L- {. g/ V
  65. GetDriverFunc=getSQLDriverMYSQL
    3 P6 o  R9 e5 V! r6 [% e
  66. VendorLib=libmysql.dll( `# ~; ^1 [, g1 W; l
  67. LibraryName=dbexpmysql.dll
    2 i7 f) D( s+ @; }# ~
  68. Active=1) P( w. I5 D9 }( e* R0 s1 N* C
  69. ---example----/ R9 A' X" t* g3 U" |' o
  70. - written 02.03.04 by pwk.linuxfan
    * z/ e3 X* Z! B
  71. + Y/ {* T( ]5 j1 z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 r! a% n4 |! m* F
  1. 1 f" v* c% e% w! Q, V) Q7 b+ v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    3 _) K; q7 _- E
  3. 6 V4 d& k7 G7 J; `% F9 o( D
  4. # # #我们所需要# # #
    5 P4 H* l- d1 y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件+ W7 h: l) E# G) w( @+ b0 Z
  6. 不会解释如何做到这一点-也有文件存在,为
    $ w. q& |0 r2 ?. y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 P8 p! r: g  a) x+ g0 E
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ! v5 ~" K4 ~, W" O. X* N; B
  9. 随着数据库。此外,你需要一个卖方图书馆安装于- V' l6 H& B5 q
  10. 本地机器,这是我的MySQL安装。
    ! P: p9 ^0 o2 c8 X8 f: V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; e9 A, Y! U# ]; C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) m7 Y# |* ^# Z5 l2 C" d' j
  13. 数据库。
    ) P) z# ^( {+ b* c1 V* H7 v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 X3 g% f" k1 `" n4 f# D
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 y: b9 r4 _) |, ~  k8 I
  16. 在teamspeak论坛,如果你有兴趣。 & M6 r# g9 S4 \+ K, I
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机, Q6 r3 G4 \: @  i  ~) Y7 @* X) z6 U- J
  18. Borland公司使用。这个司机只能界面与客户端库
    + h' X' O* c2 e' L0 @
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这+ J+ c$ e7 S2 d# S+ @# z6 c) Z
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 N& {+ Q6 L* Z& Q
  21. " vendorlib " ,并解数据库连接。
    5 [# ~) c# b: t- o/ ]: h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    6 P3 p9 k$ p, y) W, F

  23. ! \) W, L# ~9 X% G' B1 ?* ~! J
  24. # # #做好工作# # #
    ( k( N2 O  O8 T  a4 e: `% n" G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    + A* g( S1 r4 E: i3 R0 X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 m, f/ L' y) ]
  27. 结束: . d- G4 j4 I5 H0 l( ]
  28. ---削减这里--- . |' j) b- N- {9 X/ X  A' ?
  29. [ dbexpress ]   S" r, ]$ g4 ]# i  l
  30. sqldir = mysql_sql # m- m3 q8 ]' r" A; q8 y) R
  31. drivername = MySQL中
    ) J4 ~3 M* D# a) Z* z
  32. 数据库= your_database_name_here
    % J: O/ H0 r5 M1 y) k# ~; l) Q
  33. 主机= the_pc_the_mysql - server_is_on
    : P& ~2 \& m  P% ~( [4 t! w; G
  34. user_name = user_name_on_the_mysql服务器3 t1 @! N/ R  p9 }
  35. 密码= password_to_go_with_above_user_name
    ! S( j1 X+ R6 O* D1 E3 R( l: X" x
  36. getdriverfunc = getsqldrivermysql ( ^9 Y$ z: }9 ^' P: S) }
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    % \+ ?0 u6 Y7 [& t+ N
  38. libraryname = path_to_libsqlmy_libary   a: w) {4 H! J" S4 n
  39. 积极= 1
    4 f, s5 \' q9 j0 b- k: ~
  40. ---削减这里--- ! c4 }+ v4 I$ X% }" P. R0 F
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: + M  \$ l+ Q4 S+ [3 G( }5 M
  42. ---例如---
    3 O' x& f9 n# Z  \  Q  c- {
  43. [ dbexpress ] . F/ R" B  n" I8 e. g) K" z7 M5 T
  44. sqldir = mysql_sql
    , v9 n( n. S/ P! e, r7 Z; E) `
  45. drivername = MySQL中, a, u* q" m5 `" R( Q/ {
  46. 数据库=测试
    4 `5 s* `) o8 @) R& D
  47. 主机=本地主机
    5 C" G+ j) g. f
  48. user_name = testuser % ^/ }0 D9 M0 X% d( j
  49. 密码= my_password
    # h0 e" O$ p+ ^) q$ q
  50. getdriverfunc = getsqldrivermysql ' R1 o& V+ h; e5 X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ( T6 J8 }) ^/ p/ f1 S  F2 e3 P
  52. libraryname =. / libsqlmy.so
    " H9 G, g5 P2 K6 C6 t' F& Q; b" V
  53. 积极= 1
    5 D% }. b, n+ m% ?. }- x. E
  54. ---例如---
    9 S% q. U3 v) E# e2 `+ H

  55. 6 g5 c6 d6 W6 o- @/ X
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 l9 I  [; k% ]3 V
  57. ---例如---
    9 u- {* f8 ~1 J5 p1 a0 m$ R) ?
  58. [ dbexpress ] / A7 @* r2 A6 @  ]9 U0 Z
  59. sqldir = mysql_sql . ~( J& b6 K( D
  60. drivername = MySQL中8 I/ Z) p$ d0 {% I
  61. 数据库=测试
    6 W- f3 O* d3 k0 [* y1 a
  62. 主机= 127.0.0.1 2 C  Q# T, F3 W+ q, w# O
  63. user_name = testuser
    6 I8 {( s9 `. f4 t- y( |) }
  64. 密码= my_password * C, n% b# o5 w5 ?" C0 K
  65. getdriverfunc = getsqldrivermysql
    ' M4 b2 s( P& m% K  s; E
  66. vendorlib = libmysql.dll在
    2 g  r# Q5 ]1 O5 V9 ]" |5 v
  67. libraryname = dbexpmysql.dll
    ! c0 K/ }/ p* w0 |
  68. 积极= 1
    # h4 O  q5 |( [; z+ W# Z: c; X( S" A* l
  69. ---例如----
    2 {* Q1 J* ?$ R
  70. -写在0 2.03.04由p wk.linuxfan
    % r5 i+ ]# V% C$ V- _) O9 }8 R" 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/ H5 v8 }1 j+ y' Q# D/ B

- ?- G9 q4 e6 E$ A+ @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-27 00:39 , Processed in 0.242091 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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