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

3463 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
0 r7 B+ L, B  M& X: Y: ~& _( J
. R" p, o7 x# d
  1. ; Y2 `8 V% ?, g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ! ^- E$ h6 K6 V- z3 B* J6 o

  3. ( W) L' _3 c7 P6 x9 S
  4. ### What we need ###- e# V9 B- t$ T! p# Y
  5. Naturally, we will need a MySQL server to store the data for us, this document * Y3 x/ o  s& z9 `0 r1 G/ v$ t0 E
  6. will not explain how this can be done - there are documents out there for the
    3 s6 e2 X/ V  G: M# X5 W( p
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 n' |% @5 Z. t- H
  8. and a user account (username + password) that has the permissions to do stuff  H2 |# i# f5 M
  9. with the database. Additionally, you will need a vendor library installed on the
    ' T1 v- S6 l1 R4 A1 x8 f/ {# R
  10. local machine, this came with my MySQL install.% |+ ^, j# Q) |; r; D- Z
  11. These instructions will not tell you how you might transfer your data from the
      q2 ~, {# V: l: x2 D
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL7 e9 D- l! o1 X* w* F2 a
  13. database.' i. \6 I. H" F, @, B1 o6 g
  14. Some users have reported ways to import a SQLite database into MySQL, but at0 K9 G! k' e9 _2 _; b$ I' k6 L
  15. the time of writing, there are still too many issues - check the current status
    : d- n% U4 L7 L' K2 U$ m* g. G
  16. in the TeamSpeak forums if you are interested.
    ! ^' m4 j; ~/ r
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from. y& f9 i3 {7 `& D6 h
  18. Borland was used. This driver can only interface with the client library that
    ) |  E& I/ L' w  V) m1 O
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' A, c, {8 k; j7 l
  20. client library - basically all you have to do is to use a 3.x client library as 1 L. T' t" L& v$ H. Z! Y0 @- m
  21. "VendorLib" and a 4.x database to connect to.& }- n5 j+ m# Q  `7 l# c
  22. If you need more info about dbExpress, you can contact Borland.
    6 L. U: g) U# ?- e- i5 {
  23. 5 {4 w5 q6 z2 Z
  24. ### Doing the work ###0 R% |& Z4 Q; Y# \* J) z" {# N5 N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) Z& s* |' x4 y1 H
  26. the perquisites right, just open your server.ini file, and add this section at* L& s" ?% ?% b. ~
  27. the end:
    3 {7 M( g% V& W$ D
  28. ---cut here---
    " M6 U6 D( e# Y, s2 q+ g
  29. [DBEXPRESS]2 K# O7 y1 {8 f- H/ V
  30. sqldir=mysql_sql. d, Y4 i5 @9 M$ @! K8 O" ^, [
  31. Drivername=mysql
    : a7 U+ @9 q% J1 s  ]
  32. Database=Your_Database_Name_Here
    " K6 c8 D* h5 Y
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : s  B0 Q. s) `/ M7 z, S
  34. User_name=User_name_on_the_MySQL-Server
    6 I& {) i% b# q3 u- ]2 z8 L* _
  35. Password=Password_to_go_with_above_user_name
    6 {0 t0 b* T1 A9 f% ]- f' J
  36. GetDriverFunc=getSQLDriverMYSQL
    % D7 ~5 r2 p" B) d+ P% o/ P4 B: @$ U
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; H# Y3 r  x( K' `- H! G) t
  38. LibraryName=path_to_libsqlmy_libary
      v+ E- r! a# E& [- a3 B
  39. Active=1
    5 I5 v+ m3 m5 s, `) c% v8 M
  40. ---cut here---+ u' l  B; ?& r- i/ `% C4 V4 i
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / ?6 r8 d* F2 c
  42. ---example---& `/ W+ |% A( M- i0 _$ e; f2 \
  43. [DBEXPRESS]" U* d: H2 X0 f/ e# m" s- ]
  44. sqldir=mysql_sql/ o* ?# {: {7 m! y: H" m
  45. Drivername=mysql6 ?2 z9 R) d3 K( i6 }
  46. Database=test# h9 c5 d7 }7 Z& s6 y; x! z
  47. Hostname=localhost
    2 D4 @4 |  o1 F6 i/ F, c+ Z
  48. User_name=testuser& z& L0 x" y& g5 _# A1 _" W; Y1 s
  49. Password=my_password. R; _$ ]2 E) p
  50. GetDriverFunc=getSQLDriverMYSQL
    % w# o7 N$ r7 o0 ]  @/ v/ Z4 U
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    * @3 k7 C! o- [7 g3 f! q. j! ~0 d; g
  52. LibraryName=./libsqlmy.so
    2 Y' z/ W/ C+ _1 Z& l$ {( e6 _6 X
  53. Active=1
    2 D# G* `$ y  f) N& S: F& [
  54. ---example---
    6 }! t$ `% C+ S
  55. + [2 w7 ?3 p9 R6 {! k3 ?
  56. On a windows box, also running the MySQL server locally, it would be:! @8 o, S1 z9 r9 O$ L
  57. ---example---+ }. ]& l$ ]' S& @" F' P
  58. [DBEXPRESS]4 L5 n0 h8 N' x5 G5 D: x0 p
  59. sqldir=mysql_sql
    + R3 G9 p! F6 u/ I9 }
  60. Drivername=mysql! G8 M; E# Z# Z) }) i- {. ]. D
  61. Database=test. F& L& N+ f$ n0 A  P+ O+ E' C% C
  62. Hostname=127.0.0.1, j" K( k( Y+ \" w6 j
  63. User_name=testuser
    5 l' {( D) ]9 L5 X1 x: _( p8 W0 V% N
  64. Password=my_password6 e5 E0 k* k- Q) z
  65. GetDriverFunc=getSQLDriverMYSQL3 o4 g- X# B' l2 A4 S7 ]. U. Q
  66. VendorLib=libmysql.dll! w( R. b# G. M, n% K
  67. LibraryName=dbexpmysql.dll4 n7 O/ d* }$ r  e
  68. Active=1
    & Z( J2 b! c. M& ]" p+ ?* @
  69. ---example----% {1 A6 Q6 i/ N3 `' C2 w' E& y
  70. - written 02.03.04 by pwk.linuxfan
    6 G- y1 z' a0 O8 ?# ~8 @8 O

  71. : [- H' m! k; |
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% E0 X5 _( I; k3 f" W9 S" `6 C

  1. . F; n6 X- T# H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; }+ T9 s7 A! `, y

  3. # y% [( ~0 V: `5 o9 |
  4. # # #我们所需要# # # % P, j, ]7 [5 z3 S4 n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# M! C7 Z* s. @0 \5 B" o
  6. 不会解释如何做到这一点-也有文件存在,为# `4 f; r( F- G( R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 F% S3 y1 C, h# |
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 X( k# E& ?0 R! E1 F/ K
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; {2 C( W. I: D- x- L
  10. 本地机器,这是我的MySQL安装。
    & s, y7 J8 G: n' t
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    + L, o& o5 e/ x- G- F
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 t9 R. D- |; v! l) Y1 _9 X
  13. 数据库。 + @% t7 V- I( o5 ]  a
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) Y4 `6 U; c, {/ Z; D6 \9 I
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 |$ L% m+ y4 s; s; V% S
  16. 在teamspeak论坛,如果你有兴趣。
    4 s6 t( D. Z$ \$ |7 M5 l5 z) g
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 h4 s2 b- S7 x
  18. Borland公司使用。这个司机只能界面与客户端库. I# C+ Q& }; V, |0 ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! f; D6 x7 t4 f
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% s& y3 F" p" n/ V! p
  21. " vendorlib " ,并解数据库连接。 ! M# L# S$ a: t$ {: _4 v: U
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 ) `/ ^5 Y' Z6 `8 O) K8 ?& |

  23. $ `& x0 Q7 Y- k+ Q* Z: u/ ]
  24. # # #做好工作# # # 5 w, j4 f+ @9 J2 j" {6 [% n4 i4 x
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 Z2 B* c1 `0 X/ a+ B. T" Z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    9 @, l8 B3 J. m% d
  27. 结束: ; v, }8 ]: h/ d9 A% d1 E
  28. ---削减这里--- 5 Q+ c4 w/ |& S. K0 u6 Y: s
  29. [ dbexpress ]
    ' `7 i2 D1 Q8 k
  30. sqldir = mysql_sql
    6 A* b5 i- q4 C& a* [
  31. drivername = MySQL中
    $ G7 o  Y8 V  J( x+ u) W# C
  32. 数据库= your_database_name_here
    / A. I; [5 R' V5 C! a. N
  33. 主机= the_pc_the_mysql - server_is_on
    / ]" g( b$ N- r" |* G+ Q
  34. user_name = user_name_on_the_mysql服务器
    6 D& a4 w3 p; m8 t! c$ }# H1 d: \
  35. 密码= password_to_go_with_above_user_name 1 D/ p. V. {% V
  36. getdriverfunc = getsqldrivermysql
    9 g; t$ L& Z. w  H+ I! K1 Y3 H
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * s1 E! t$ `7 j( D5 [8 e/ L: C7 j
  38. libraryname = path_to_libsqlmy_libary * k) ~+ E3 L1 G2 y
  39. 积极= 1 , M2 v. X1 k* R( H
  40. ---削减这里--- 3 D2 c, _$ J5 C5 v& f1 }' A3 m2 {/ w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ P# @4 v7 _. m) F- j$ `
  42. ---例如--- # x- K5 V. @1 i! B  ?4 ]5 |8 |
  43. [ dbexpress ]
    2 d  i; o# Q7 x
  44. sqldir = mysql_sql " k# p2 G: T' H
  45. drivername = MySQL中* y( X5 i; @& u
  46. 数据库=测试* a+ |2 r# O# i# u9 E
  47. 主机=本地主机
    0 G) E! d, x6 Z
  48. user_name = testuser
    5 J& \: K+ \+ l6 `, q8 M
  49. 密码= my_password
    6 F+ h9 g- h! L$ I
  50. getdriverfunc = getsqldrivermysql : i5 n. Y" h, d; K
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ; G4 c& |4 O0 U+ R
  52. libraryname =. / libsqlmy.so 8 G8 h! n4 ]6 b9 {; R1 `% q+ j! E) {
  53. 积极= 1
    $ l, s& s% b; P  @
  54. ---例如--- ; d" k4 |3 F7 Y0 k
  55. 6 A% t1 U5 c) ?+ Q" e! t8 n- g
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 0 S0 k1 ~4 @9 P
  57. ---例如--- " D2 P( m5 B" w3 P8 c
  58. [ dbexpress ]
    9 i$ y/ T/ ?1 E( r" E
  59. sqldir = mysql_sql & |& V# k4 J' j* T
  60. drivername = MySQL中' A3 e  R& D) Q% c" j0 d+ ]9 ^
  61. 数据库=测试; W% C; A8 g, h: h
  62. 主机= 127.0.0.1 4 G0 ?3 H; ]; X5 i; z3 O
  63. user_name = testuser
    ' t* b9 {$ ?* o, s, p  u
  64. 密码= my_password - U: M: C/ b, }4 P5 \/ U
  65. getdriverfunc = getsqldrivermysql 0 \2 ~& o+ ^3 w0 u+ U
  66. vendorlib = libmysql.dll在  U) K; x  m7 x# c4 V1 N
  67. libraryname = dbexpmysql.dll ' A" `1 A2 V5 `2 \* T! [8 C
  68. 积极= 1
    ( g4 Q$ h$ @# j' z; _& f2 X
  69. ---例如---- . Y; m! ?7 F0 C! i" A
  70. -写在0 2.03.04由p wk.linuxfan: s% I. |, s6 \3 f
复制代码
发表于 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( T/ A; l6 [2 t5 y

* q, L) N0 s, z* j  z8 Tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-2 08:57 , Processed in 0.053934 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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