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

3206 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan . p! J/ t. _0 i, }2 F0 J/ O% I
0 b6 K7 Q: t! `! S. H( O* z. i' [0 x  m
  1. " ]+ y9 _& `) T. d  t$ g4 @8 d% c2 N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######8 H2 p9 P& Y9 j6 E1 ^, z1 b

  3. 5 g" E. T" ]4 X; Y( G
  4. ### What we need ###
    : B" `  y% B/ z( {# z& X
  5. Naturally, we will need a MySQL server to store the data for us, this document
    5 {. @6 R; y6 Y' e. i" f7 P
  6. will not explain how this can be done - there are documents out there for the + @7 J, {& c) `( {8 a
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 o  N6 V: @' S; ^7 B
  8. and a user account (username + password) that has the permissions to do stuff4 B* ^* c3 f' m/ A6 L( u9 C/ {
  9. with the database. Additionally, you will need a vendor library installed on the
    # c2 ]! o& \# N8 h
  10. local machine, this came with my MySQL install., V" E. m0 J; e1 `
  11. These instructions will not tell you how you might transfer your data from the
    0 F. v- t  [2 O5 ^
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    7 o8 X# {2 w# q3 `8 G$ {
  13. database., }1 E9 g  M, P
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ) [: b% a% y# i) e  R( h2 }
  15. the time of writing, there are still too many issues - check the current status+ ]9 [: I2 w, I: I) H
  16. in the TeamSpeak forums if you are interested.& F* v7 a6 \4 ^4 i8 ?
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from; r% ~$ o# C. K( `" g- t( ]
  18. Borland was used. This driver can only interface with the client library that 2 K* v+ T) A: s
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    : p! k5 F' G! M* V  z" n$ N; }
  20. client library - basically all you have to do is to use a 3.x client library as 0 R, N, ^. U2 l8 g, e% \* E
  21. "VendorLib" and a 4.x database to connect to.
    1 _6 b7 F- ?0 J% E  B
  22. If you need more info about dbExpress, you can contact Borland.
    3 n. K6 u) y) c9 }  O; }6 X  S

  23. 8 i. c/ ?+ f! ~+ z6 @
  24. ### Doing the work ###' i. W! C3 q2 p+ s8 I
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    , W7 G( _; M3 `8 [+ T
  26. the perquisites right, just open your server.ini file, and add this section at
    ; u, f! y- t. w# I& T2 J) \$ P
  27. the end:
    / J0 x) O" r1 q3 J0 I  n2 l7 V
  28. ---cut here---7 c; g  N% ~, r9 o1 N6 a4 I
  29. [DBEXPRESS]2 U, s5 V/ L3 O, d
  30. sqldir=mysql_sql0 C, [( m8 f8 Q7 x. ]
  31. Drivername=mysql7 {$ N/ p1 A* m
  32. Database=Your_Database_Name_Here0 O# v9 o; G5 T; [( q' }
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 C: w& \/ P7 b
  34. User_name=User_name_on_the_MySQL-Server
    # X6 [& ]4 \! L8 B$ e$ s" a
  35. Password=Password_to_go_with_above_user_name
    4 d- f$ [* j* K9 P; ?( X
  36. GetDriverFunc=getSQLDriverMYSQL
    . s! D& a! E. V- Y3 ?5 P
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib$ r( I) _( f3 N$ P
  38. LibraryName=path_to_libsqlmy_libary! \' Q1 _8 z% n* j; @0 M+ L7 L
  39. Active=1
    3 p6 N; Y- r' ?" D! t
  40. ---cut here---
    0 R9 O/ O  p+ J* \# o; x0 o5 Y
  41. In my environment (a linux box with a MySQL server running locally) I have:
      I  i4 [+ e+ c+ N# A% e' `
  42. ---example---
    ) [( U; T/ }+ ^" k1 W: L- ]
  43. [DBEXPRESS]
    0 U. Q+ Q! D% T) m
  44. sqldir=mysql_sql
    ; B$ W0 T7 M% V, R$ h4 T+ B$ h' y
  45. Drivername=mysql
    4 P  i' a, f$ K. S7 U
  46. Database=test
    1 l! `' C* i; ~  M! R
  47. Hostname=localhost
    / T7 w" |0 T$ D  H1 x) @
  48. User_name=testuser5 O+ m2 Z# t! L3 ?4 p/ c% X
  49. Password=my_password! e  y! M- r, _' r5 K2 \- p) S
  50. GetDriverFunc=getSQLDriverMYSQL3 O# H6 p5 D% F5 u1 B
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.02 I8 |+ c5 m4 d
  52. LibraryName=./libsqlmy.so
    - ]# D) L3 x' F9 X
  53. Active=1: a7 L. c1 H+ ~3 f- T/ b, A) S4 O
  54. ---example---0 D5 @. P, X) [$ G

  55. ) v& Z! V/ F) |- M! j$ D/ O1 ]6 N2 q; A
  56. On a windows box, also running the MySQL server locally, it would be:0 @8 r# d, W; ]4 o; _6 V7 K
  57. ---example---& p: P5 R% h" \7 K
  58. [DBEXPRESS]
    $ o0 I: a3 q8 h5 P* g' r
  59. sqldir=mysql_sql/ {3 i. E+ O' J
  60. Drivername=mysql
    " F+ I6 a" r+ Z2 k
  61. Database=test
    ' D  ^4 S! e% T6 h1 m
  62. Hostname=127.0.0.1
    $ ?0 J- S1 }. v: ^
  63. User_name=testuser( ~& G( |$ {0 L$ @( F1 x$ c8 k' N
  64. Password=my_password
    8 E' F1 g6 V$ `' F% K& F% r
  65. GetDriverFunc=getSQLDriverMYSQL
    ! w# @& X2 e7 y0 [; ^9 t, V. t
  66. VendorLib=libmysql.dll
    * P8 O( P9 ?9 n5 W
  67. LibraryName=dbexpmysql.dll7 `6 G8 j! R( Y
  68. Active=1
    & B6 G' R7 J- P* t  r
  69. ---example----; C; r0 M9 I0 b$ `+ a0 ^: w
  70. - written 02.03.04 by pwk.linuxfan% A" ]1 `8 \5 J, c  w& z
  71. + u: O; }, J* l2 g5 l+ q9 f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% A1 O2 w+ u9 W% S  J- Y

  1. 7 n! q% b, F6 ^7 y, h! _: |  _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    * a6 U. _" [" p9 @" M

  3. 1 a4 G$ D, }: b/ l# T  K' a
  4. # # #我们所需要# # #
    7 T; h, y, ]% |# v
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件; N% n% i1 l6 ~! u  z: b* A4 D4 y
  6. 不会解释如何做到这一点-也有文件存在,为
    * G& c2 |/ U/ L
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    + z0 W) j  s$ }# B5 I( j
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : b/ l4 Q, l" {- g* m
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ Y% E3 p8 B& N0 ^9 `
  10. 本地机器,这是我的MySQL安装。 " c) i: O! ~9 S' L. s  s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; V" [" g# a8 r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 \' b& q& A+ ^8 `7 h
  13. 数据库。 ! I# H# b6 ]; c9 t8 s8 d7 H" X3 L
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在( }/ f/ m1 O/ U
  15. 编写本报告的时候,仍然有太多的问题-检查现状! S5 g  f, D" W" v
  16. 在teamspeak论坛,如果你有兴趣。
    / S- W" {. i+ @* P
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机+ c, q0 o$ H8 \5 f  B6 `
  18. Borland公司使用。这个司机只能界面与客户端库
    8 Z. I" v+ t. B+ K, v( ]/ D
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这8 A! _8 n) j0 {2 S' \8 D% v
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" b& G% }" i6 C2 H8 O1 ?
  21. " vendorlib " ,并解数据库连接。 . t9 w2 H* `9 ?% _1 t1 q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    8 D' Z1 z8 m: M1 n% r
  23. # N0 {" Y8 t( L: X& u
  24. # # #做好工作# # #
    9 i& s+ x" s; J+ u0 e
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
      Q! u7 J8 B& q, [
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    : i! w1 _$ \7 F3 u% R8 ^
  27. 结束:
    ' S9 m. }& ~7 W) W' E
  28. ---削减这里--- & A, L* E5 V8 b8 O
  29. [ dbexpress ]
    4 p1 T3 }. H' b
  30. sqldir = mysql_sql . t2 e* _* ~7 N" p" R
  31. drivername = MySQL中" ]/ K+ V# H: G2 x* J
  32. 数据库= your_database_name_here
    ' y* C5 S) _. a% v% _
  33. 主机= the_pc_the_mysql - server_is_on * A/ p: U* r) ^8 v3 K
  34. user_name = user_name_on_the_mysql服务器7 ?+ A3 d" o) d1 f
  35. 密码= password_to_go_with_above_user_name 6 ], ]6 u/ C3 d4 n6 w* a& ]% F
  36. getdriverfunc = getsqldrivermysql 5 R& k0 z. Q: B+ h; h" V( E# r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 f- r! y/ S- z3 H
  38. libraryname = path_to_libsqlmy_libary
    ) g) P! E3 y, T  v
  39. 积极= 1
    / M0 ]% j9 G+ X) e: x
  40. ---削减这里--- . C+ A9 ?* M8 d! i- k
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ U# O  D5 T$ u/ y6 K& v3 Y& V
  42. ---例如---
    1 t0 z8 p/ B2 F% z
  43. [ dbexpress ] " |: Q9 r+ d4 N& {
  44. sqldir = mysql_sql
    0 W: x. j5 U3 m9 [# H
  45. drivername = MySQL中/ t0 R+ `" Y' W* M  v' o8 K
  46. 数据库=测试+ F9 }$ x0 {3 e6 z, H
  47. 主机=本地主机
    4 \! x3 l# z, B5 y3 K
  48. user_name = testuser ( i: Q% {( |+ s2 H* O
  49. 密码= my_password 2 z) x2 m8 w& o! o1 P
  50. getdriverfunc = getsqldrivermysql $ v( ^- H! y( N. b2 z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & y, [" B* F, J$ W+ s, J  s* A
  52. libraryname =. / libsqlmy.so
    4 l0 U) Z  N. c1 i/ I
  53. 积极= 1
    : P# O0 @+ {& t+ I: j, M  q) v0 Q
  54. ---例如---
    ( l& @) o8 ~& R( E5 ]3 o' y
  55. % K' D) b3 h: [( b
  56. 对Windows中,也运行MySQL服务器本地的,那就是: * Y$ f+ _( |: M/ [2 E' ?
  57. ---例如--- 7 @5 b9 I; p$ e$ Y; A* l
  58. [ dbexpress ]
    * A5 P4 o0 h  Y
  59. sqldir = mysql_sql ! p. P, A9 c8 \$ a  k5 @! x
  60. drivername = MySQL中
    " w, J. \; H  [, @: ~
  61. 数据库=测试
    ! k+ R( a5 E) m
  62. 主机= 127.0.0.1
    ; f( G$ i6 u  J, d& K. h
  63. user_name = testuser
    $ [$ }" Z6 Z, q) L$ V, o3 S& v
  64. 密码= my_password * u( q, `  |$ @7 }) X
  65. getdriverfunc = getsqldrivermysql
    & R" H# F9 K/ a! E( x
  66. vendorlib = libmysql.dll在* R4 P4 q" U" ?" G+ N( w9 K1 Y
  67. libraryname = dbexpmysql.dll
    ! s; E6 E* N+ C. J
  68. 积极= 1 ! \% F0 m# E6 k8 J2 s
  69. ---例如----
    , K& J# O, F+ C
  70. -写在0 2.03.04由p wk.linuxfan# W9 A. z' j) ?( f' z
复制代码
发表于 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
6 Z) r7 x% g, a) A) y% o% l" d
0 W' E" F/ c: W( X7 g: U) `but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-22 14:29 , Processed in 0.085368 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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