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

2427 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * i2 X7 b3 R% D7 N- }" f

3 l8 ]8 ]2 @& G$ ~* V
  1. 3 ?: k8 [; Z- E2 K/ g& P( v* c
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    # `1 O. z$ I( C9 {# D2 R

  3. : v( c% y# ?2 J3 t/ o/ G
  4. ### What we need ###
    $ E5 |9 w# P6 N* R. P+ j
  5. Naturally, we will need a MySQL server to store the data for us, this document , g" g5 D  c1 c4 Y
  6. will not explain how this can be done - there are documents out there for the
    ) M- b* p( F/ y' h# X! ?9 n
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 e. H1 a2 p% S4 O3 r! G9 E
  8. and a user account (username + password) that has the permissions to do stuff/ W4 f5 T3 X1 U' f% i% J. o2 h
  9. with the database. Additionally, you will need a vendor library installed on the
      }. }+ a. }$ B* \4 {2 l
  10. local machine, this came with my MySQL install.- G' R5 ~, b/ l* i7 E3 M- ]
  11. These instructions will not tell you how you might transfer your data from the4 T4 ]0 I! o' a! E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! j& K. f7 Q, m# ^; J& z. p- C
  13. database.
    / X  a# V- B1 l! E
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    . Y, t1 K! d+ V( O- S9 s0 z8 b
  15. the time of writing, there are still too many issues - check the current status
    9 g' G3 d* Y/ V8 [( c* H$ ]. O4 R
  16. in the TeamSpeak forums if you are interested.
    2 O4 n3 I$ A: k0 a1 w3 O" }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from  S; ~  q+ b% c/ J
  18. Borland was used. This driver can only interface with the client library that * R: c! v+ _4 h: ~
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this& u9 B! C1 p. A7 O- b
  20. client library - basically all you have to do is to use a 3.x client library as
    " e7 q3 [8 l  n' F
  21. "VendorLib" and a 4.x database to connect to.
    $ x; U9 ~# N7 _  {% ?: C! }% y
  22. If you need more info about dbExpress, you can contact Borland.; b2 A6 ~' P: t9 q8 L- X

  23. 5 _( }+ R+ d4 t, I1 r
  24. ### Doing the work ###
    3 E$ u  T2 c3 x) z! K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all) F' \/ k& x- k6 S, K
  26. the perquisites right, just open your server.ini file, and add this section at4 D# z( }6 l/ V2 a
  27. the end:
    7 V, j. ~; U5 n7 Z4 Z
  28. ---cut here---% M/ j6 m9 z- h# ~* \8 @3 \5 o
  29. [DBEXPRESS]/ x- h1 d& L  a/ L1 i. F6 J9 U
  30. sqldir=mysql_sql
    1 Z2 U9 G5 j- i- _, p- C: [
  31. Drivername=mysql
    - {, t+ ^: {) o, a6 l
  32. Database=Your_Database_Name_Here
    + \' g3 M5 ~9 `4 e
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * X. R; T9 ?4 J# ~3 I
  34. User_name=User_name_on_the_MySQL-Server7 e% h2 p$ M  a7 _
  35. Password=Password_to_go_with_above_user_name! z  S2 J0 e1 Z7 v# J
  36. GetDriverFunc=getSQLDriverMYSQL
    % n; z0 N- V: F
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 A! Z9 s- `# o. f) Q" B5 H6 L
  38. LibraryName=path_to_libsqlmy_libary
    ( ^& A: y7 Q& Y! i  @
  39. Active=1
    ) M; E0 D2 b3 b3 Z
  40. ---cut here---
    0 B- N- o* \6 F! }; ~8 l
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 o; y. E" E6 q" b% e
  42. ---example---3 \% o) H! j. U
  43. [DBEXPRESS]
    8 O+ T; g3 R! t. x2 u* F; m
  44. sqldir=mysql_sql2 U( |0 O3 x1 |$ i
  45. Drivername=mysql
    0 D/ A8 z$ H. j  k& R: R2 v
  46. Database=test# F: ]* C( H1 K& N
  47. Hostname=localhost. P+ N2 r+ Q2 a+ I# E. c
  48. User_name=testuser
    9 d1 o8 e5 O3 t" b$ N
  49. Password=my_password
    - v, x/ ~' T. |4 a% q
  50. GetDriverFunc=getSQLDriverMYSQL, \! y) x& R, w/ \/ v4 h
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.01 U- w5 i" i3 t1 ?6 Z) B
  52. LibraryName=./libsqlmy.so
    ! q# R* |: D! F; @
  53. Active=1& M3 x% X2 N2 O& M* N/ D
  54. ---example---
    / h, H) V1 |4 g6 P- K. u
  55. 2 s4 C, \; n; Z+ [7 ]
  56. On a windows box, also running the MySQL server locally, it would be:
    5 V) [  X7 o/ G1 J/ V: x# I; e" ^
  57. ---example---( {8 C2 D8 _; f# A
  58. [DBEXPRESS]. x  _7 h/ h# r/ H% E+ Q
  59. sqldir=mysql_sql' `5 y% R& y/ J% [) N
  60. Drivername=mysql
    * b; M) l4 ]; E. S4 J
  61. Database=test
    $ d7 O5 x: ]6 }" ~( R1 V
  62. Hostname=127.0.0.1# D' q4 e" S1 S- G$ J
  63. User_name=testuser
    4 \1 y/ N. l' J1 e% o
  64. Password=my_password
    0 L9 k! W! R. d4 e- Z+ K$ ~: H
  65. GetDriverFunc=getSQLDriverMYSQL
    3 `0 ?; p7 i5 s4 |  P8 B
  66. VendorLib=libmysql.dll  \: `. W" J0 L! [; n4 ^
  67. LibraryName=dbexpmysql.dll4 D% Y" L, y7 z( x5 Z  k9 f) G
  68. Active=1
    ! ]2 m: g& k, e0 @9 ^
  69. ---example----; I7 f5 e/ A. G/ D
  70. - written 02.03.04 by pwk.linuxfan, c* ~+ S( l& f7 ]- d3 {+ U
  71. 9 F# ~  ?% d! }9 \4 l3 S/ d) B
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看8 d$ C) D9 b: o$ e

  1. ; s- i- ?! _+ u# r$ ]
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    " D' ?5 ^, O( D$ }% M  j; J
  3. 2 d+ n0 i7 L! S, A+ v5 Z
  4. # # #我们所需要# # #
    " ~8 h+ i' D+ q1 _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件) m3 Z/ q$ E% ^8 c6 P
  6. 不会解释如何做到这一点-也有文件存在,为; ?( d' G2 ?% Q# @) a' n
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用0 R; }5 @0 U, H" \) A& K
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : I. u2 N  d% n1 ]
  9. 随着数据库。此外,你需要一个卖方图书馆安装于1 G5 l& f0 F" V, L
  10. 本地机器,这是我的MySQL安装。
    % T& M4 Z3 L7 X; @3 ^9 s8 g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    2 A6 Q* d/ [0 D
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ' j2 F- J; \; F! ?
  13. 数据库。   V2 M" V( f9 H2 L4 Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 n2 S$ [4 N# c( h9 s; P: E# Z; T4 k
  15. 编写本报告的时候,仍然有太多的问题-检查现状) Z( d) Z/ W- G5 ]" W8 w8 D
  16. 在teamspeak论坛,如果你有兴趣。 9 y9 K7 Q( |9 c' A4 y$ t+ ~6 q, a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 P2 x4 }+ ~% |$ h3 N; {
  18. Borland公司使用。这个司机只能界面与客户端库! \; b! m/ D+ a( t  {/ }+ [
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这2 s/ n" U( d6 i# ]' T5 F; W, e# N
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ) }5 \2 T7 S# h0 G
  21. " vendorlib " ,并解数据库连接。 ' B: b0 ]% f/ b2 j3 C! y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # b. J! e& y" J* M# B
  23. 8 @* @3 Q. g. Q/ {3 `
  24. # # #做好工作# # # 3 U% T. u+ H* I  _/ k  M: U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 T  h1 m+ n) b, E
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    * R- N+ z" A! G  a
  27. 结束: 9 B. X! E% b# k( j0 e6 o
  28. ---削减这里---
    & }  L+ g  N4 M$ m; i6 T7 M
  29. [ dbexpress ]
    2 O$ d  W8 I7 j  g$ z! G
  30. sqldir = mysql_sql : |" M; N: n5 Z) [( U" p) H- e
  31. drivername = MySQL中2 z0 {* }2 H3 F
  32. 数据库= your_database_name_here   k6 L+ y) Y6 i+ @) A  o" q9 e: l
  33. 主机= the_pc_the_mysql - server_is_on % w. i& q2 C) D! a0 C1 [7 O( `
  34. user_name = user_name_on_the_mysql服务器% C5 b. v1 S0 `! o0 Q3 f  \
  35. 密码= password_to_go_with_above_user_name
    4 @- A' O4 f8 f/ n, x8 w9 x
  36. getdriverfunc = getsqldrivermysql 7 M4 x) V& N0 f1 H! L
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      [3 e+ z8 a6 f0 e. f; G
  38. libraryname = path_to_libsqlmy_libary ( \# {( q% b7 Q, a8 M
  39. 积极= 1
    . d/ c+ V, i& l$ C
  40. ---削减这里---
    2 j; M0 L# y! x- u
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    + K6 c, z" I% y- Y" i
  42. ---例如---
    + X1 X% J, F. A# z& \
  43. [ dbexpress ]
    * A8 w$ g+ y% t" i0 r# {
  44. sqldir = mysql_sql , h' G, ]; `, E& H& P
  45. drivername = MySQL中6 C( O+ T& y, ]. P; \0 V
  46. 数据库=测试
    * G4 `% W. J3 H
  47. 主机=本地主机
    # ^; U: V! M, ^) @
  48. user_name = testuser
    0 E" c# e) R, R" B1 H& v( r2 B
  49. 密码= my_password
    9 r2 C) Q. m) D0 @
  50. getdriverfunc = getsqldrivermysql 1 {# Z5 h2 m8 a: h3 x! _' I
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ) L( W+ K8 ^, A
  52. libraryname =. / libsqlmy.so
    4 u$ ]7 K. N3 C0 L9 [
  53. 积极= 1
    1 j+ f3 {+ R! V: r: X3 A( s- g
  54. ---例如--- ! l% s/ n, y& U5 ~8 e  w
  55. & ]! q2 j6 Y. g6 ^
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 u8 U' }$ H$ U6 }% N: I
  57. ---例如---   s0 Z* i3 W7 M3 D
  58. [ dbexpress ] # |' R! r! M' H, ?( n' X
  59. sqldir = mysql_sql
    2 f& p/ I1 d% W
  60. drivername = MySQL中
    % v" P7 \: Y" T' r3 T
  61. 数据库=测试+ o/ i" ~& D+ b# `: J3 B
  62. 主机= 127.0.0.1 & \7 e. g6 ]# |
  63. user_name = testuser * G, Y# s8 h+ t9 X! S( m
  64. 密码= my_password , ^% Q7 O6 i+ v/ k% O
  65. getdriverfunc = getsqldrivermysql
      f- u/ n! e; d" N& e
  66. vendorlib = libmysql.dll在
    / |; g6 U; f8 |& u! r8 v% o
  67. libraryname = dbexpmysql.dll / u! Z4 Q) Q2 G- B+ b* M
  68. 积极= 1
    ! {0 Q) E) E- p
  69. ---例如----
    % ?1 q5 Z. @( Q0 t7 x3 D) z6 P: G1 a
  70. -写在0 2.03.04由p wk.linuxfan
    # f/ M- w. X3 ?6 }  t5 Y
复制代码
发表于 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
5 C: d+ q: R& u+ m3 R/ ^8 l2 s) |& y3 q: T! 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-4-1 14:52 , Processed in 0.090843 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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