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

2505 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
( J2 j+ {/ t  G$ T1 R- w" A) Q, S- T/ b! f7 v. G( l; c
  1. ! v  ?) ^6 c) C' u3 |# s( I/ ]$ u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    . Z& J0 D  c, y8 @$ K

  3. . W! Y- x. ?( }% D8 t
  4. ### What we need ###
    , {8 x4 _  D* o1 F$ y
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 x5 _0 K$ X1 B* `: D
  6. will not explain how this can be done - there are documents out there for the
    ) Y# j3 j! C1 n# z0 t
  7. interested. The requirements include a (empty) database for TeamSpeak to use7 z9 S- C: S7 b" J7 J+ ~0 N; Y
  8. and a user account (username + password) that has the permissions to do stuff) s& b, Z' F  D7 b9 R( o1 n& w
  9. with the database. Additionally, you will need a vendor library installed on the
    # S, \. p( J2 X0 o0 `
  10. local machine, this came with my MySQL install.7 d" t1 B( u# _: T
  11. These instructions will not tell you how you might transfer your data from the5 T6 }; j% Q" g
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . P. e- J1 s: `5 V! C
  13. database.
    " s3 d2 ^9 m+ R$ y2 ^
  14. Some users have reported ways to import a SQLite database into MySQL, but at7 r/ v8 x% F, j, Y3 n
  15. the time of writing, there are still too many issues - check the current status( Z9 S3 E6 I. w2 ]: w$ e6 t0 U
  16. in the TeamSpeak forums if you are interested./ z9 ^: _2 A# U3 w( {2 k
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 M& v! x1 X' a, c; Y- k6 U
  18. Borland was used. This driver can only interface with the client library that : E1 k* K3 h- m% j, O* a( r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ v8 T6 n: v4 O
  20. client library - basically all you have to do is to use a 3.x client library as
    ) {0 L) q! `/ L$ y
  21. "VendorLib" and a 4.x database to connect to.
    , |3 ?. X  u/ T, T
  22. If you need more info about dbExpress, you can contact Borland.
    9 K, }4 P6 B9 o) B/ e
  23. ! a/ k+ N9 m; E' [( H9 l- }
  24. ### Doing the work ###
    ; D' f( O( A' j7 {) z0 r
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all( m! c$ W" H+ C) a* m+ s, e. B* ?& A
  26. the perquisites right, just open your server.ini file, and add this section at
    0 ?0 x( P3 e8 K) _
  27. the end:* C: h8 S" H/ K. W- e+ t
  28. ---cut here---" R4 _- d! y! K% i5 _) B: R. G
  29. [DBEXPRESS]* A) a3 R  _5 [) Q
  30. sqldir=mysql_sql
      `! {6 d% ^7 K0 ?. m4 f7 `3 |
  31. Drivername=mysql0 {! |  K2 D2 S+ ?  h. f
  32. Database=Your_Database_Name_Here7 `. f2 j' y. [" d4 ^' @
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : M+ U  Z' G3 F/ M6 q8 y
  34. User_name=User_name_on_the_MySQL-Server
    ' ^% Y0 r: r: m3 y
  35. Password=Password_to_go_with_above_user_name
    1 z* A% L4 R1 R6 S" z, h9 K
  36. GetDriverFunc=getSQLDriverMYSQL
    & e; Y, ?8 _- V
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( m6 j, Y0 A( c' L9 \; E) ^% E
  38. LibraryName=path_to_libsqlmy_libary" `9 B- s7 Z' l
  39. Active=1
    0 y* G2 m7 {  Y8 f4 Z  N! S
  40. ---cut here---) s8 g: [. x  r" R4 x
  41. In my environment (a linux box with a MySQL server running locally) I have:( w2 L) z: p6 ]$ _* Z9 w! C  s& B
  42. ---example---* h# P1 J/ K$ z7 C
  43. [DBEXPRESS]
    1 m. d& [) x7 A3 m0 y% m
  44. sqldir=mysql_sql
    , t. Q3 f! }! U, B4 |, ]
  45. Drivername=mysql
    8 ~7 k' O: Q' F( L
  46. Database=test% @$ W3 b+ N- |' a/ R$ g
  47. Hostname=localhost) r/ Y' Y* w& Z, i( g
  48. User_name=testuser
    1 g/ P  I: q3 b- P2 X- C
  49. Password=my_password0 Z0 E, R: [2 i  [0 _6 V0 _5 @
  50. GetDriverFunc=getSQLDriverMYSQL5 l( K/ t: j4 H9 [
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0+ M  g& f/ z8 q) |; K6 h
  52. LibraryName=./libsqlmy.so- i* z" }* O* W: H1 ^( ~
  53. Active=1  t$ J) t! c1 f, A
  54. ---example---& o' i5 [0 f. m$ [  [6 |3 T* _
  55. 0 a* A$ B# {0 ^* m
  56. On a windows box, also running the MySQL server locally, it would be:3 O# ~7 Q! T" Q7 p4 S$ Z) [
  57. ---example---! F; W+ O* ~) q0 \' h/ h
  58. [DBEXPRESS]- c1 v$ k, D$ C; N- H9 [# S& B
  59. sqldir=mysql_sql+ I/ d) G2 ]" Q9 x: X+ Y
  60. Drivername=mysql
    1 _; Z3 N# ^+ K
  61. Database=test
    % A# e; n% D9 O" q) b
  62. Hostname=127.0.0.1) v4 }: L  Q4 Y6 z# l
  63. User_name=testuser
    - F3 F' ?+ r$ ?* D
  64. Password=my_password
    $ `+ W. g9 U: N# n0 l! o9 \
  65. GetDriverFunc=getSQLDriverMYSQL; Z% I7 C. L5 O! m6 N4 ?
  66. VendorLib=libmysql.dll
    ( h1 _# w8 O; m/ P* A  {
  67. LibraryName=dbexpmysql.dll
    : S" }  ]& v/ g% Y3 G0 E
  68. Active=14 f: x9 R( e6 c) I( ]! N8 o+ {
  69. ---example----
    4 K1 `( \; k+ A1 z; k
  70. - written 02.03.04 by pwk.linuxfan: I9 P, Q+ E. U+ g
  71. 7 F! P$ S/ \5 P
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 E* {4 [: \  D9 b% l( E( m' P0 K

  1. / L( b. E1 I, V5 m6 t) ^0 n
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; g/ u& I0 U0 m' _; `9 J$ e. j
  3.   J7 m$ V& V! d, I6 v% E
  4. # # #我们所需要# # # ) s+ K+ Y5 T+ |# \# o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + |. H; S, f6 V! e
  6. 不会解释如何做到这一点-也有文件存在,为
    , O6 l" m: U) \5 e9 N/ R
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : y# r9 T& ~; p& l
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 X/ x$ B; l" J" U( Y% Y+ `& w$ d
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    9 E; g7 o' L+ t6 m: ^' C% k; U
  10. 本地机器,这是我的MySQL安装。
    % I* Z' k& {% ]9 B6 x. Q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ; O3 b9 G! A0 r/ T$ i+ K+ ^; g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 T3 N* D% v; }8 }
  13. 数据库。 ( g; S/ @$ C* C5 n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在3 Y1 {+ }/ ~7 R9 v3 _
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    " m- u- j8 Y+ t0 D8 o$ _/ ^) }, d, L
  16. 在teamspeak论坛,如果你有兴趣。 * u# @4 @* @# a
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: [5 e  @5 m: P4 t+ R% |
  18. Borland公司使用。这个司机只能界面与客户端库, ^& A8 I$ B6 W9 U" f9 j5 }" s# |: w
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ; c8 h6 k+ U+ Y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - F3 h' D( i# o: i1 ]% y
  21. " vendorlib " ,并解数据库连接。
      G; \: m" _1 h$ v3 d
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 1 h4 m- N1 c2 L, j% {1 R% f
  23. : l, P0 y" Z0 y4 e: H  E
  24. # # #做好工作# # #
    , ^, N. v' c! ]0 d( o$ ~# `
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    3 n  G3 R; R( S3 e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在6 B/ _) ~7 I" w: y9 M
  27. 结束:
    * e; M5 ]" |! J( b: o
  28. ---削减这里---
    * C; [1 V; d; W1 g/ }9 K0 m
  29. [ dbexpress ] - @8 l$ g5 T, l3 T9 {4 D2 n
  30. sqldir = mysql_sql
    ! i1 j8 h. O! d9 z6 N7 i
  31. drivername = MySQL中
    / c! F; X7 q" c
  32. 数据库= your_database_name_here
    5 {" X% y$ K4 F1 }
  33. 主机= the_pc_the_mysql - server_is_on
    " f% a  R+ g- B  F; s, E
  34. user_name = user_name_on_the_mysql服务器
    , v% M5 p$ Q# U$ U1 R
  35. 密码= password_to_go_with_above_user_name
    9 i# m: m& {) [$ Q
  36. getdriverfunc = getsqldrivermysql
    1 K' v! g! ]- g. @. d
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 ~: z$ ^4 ?4 U3 N. K1 D
  38. libraryname = path_to_libsqlmy_libary
    " I* a0 P9 u! C0 u
  39. 积极= 1
    ) U* W" O' O6 b
  40. ---削减这里--- - y- X2 p4 U0 Z# G9 z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ( Q" G7 ~- [# x4 K
  42. ---例如--- ( u" y- ?- j" x
  43. [ dbexpress ]
    2 A! L1 h% o0 c& a4 h
  44. sqldir = mysql_sql
    ' s- V$ B( F7 O8 `( `  q4 ]
  45. drivername = MySQL中
    ; o; n, \0 U! D* n
  46. 数据库=测试% T( G8 J" O0 j2 u/ w& }! J
  47. 主机=本地主机
    1 ?4 r8 W+ O" s3 }& S3 v; G
  48. user_name = testuser
    3 b9 J0 M! D" U9 |' H
  49. 密码= my_password
    ) N/ f" |% J! p; x3 S# D- p2 I
  50. getdriverfunc = getsqldrivermysql 4 n. y  Y1 x9 C
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 H% F, |0 N% i
  52. libraryname =. / libsqlmy.so   |6 p3 a2 J7 I! E0 {, f8 D
  53. 积极= 1 7 i! P$ \% |# M  p! j+ b& I
  54. ---例如---
    4 a3 B1 a9 a3 Z. I) x) x
  55. * _+ o8 r! {! V$ B9 E" C* ?5 h5 Z: K
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 i2 C: L! K% A, T2 G
  57. ---例如--- 7 |5 e" |8 r: ?
  58. [ dbexpress ] * n; C5 K3 [8 S# R% p) q0 q
  59. sqldir = mysql_sql
    1 ~. F, ?6 b+ B) o7 Y- ]& o
  60. drivername = MySQL中
    9 r$ o# B, Q8 a+ U$ \
  61. 数据库=测试6 B% x$ k/ ~: {0 g. Q, t0 `
  62. 主机= 127.0.0.1
    ( T9 ?' c8 G* l7 v( K; t5 [# M. j
  63. user_name = testuser
    5 I7 P* f: r: O" d
  64. 密码= my_password 6 ?1 N) s( l0 \
  65. getdriverfunc = getsqldrivermysql
    - ]; Y. v& @8 F) A0 ]: A2 r* `
  66. vendorlib = libmysql.dll在) P& G3 A/ J# I/ f" Q# w
  67. libraryname = dbexpmysql.dll - g$ v' f) X( X9 v; }! B5 M& I
  68. 积极= 1 + J2 s' d1 v7 ~" {) e! {& _
  69. ---例如----
    # @! Z  k2 F; U
  70. -写在0 2.03.04由p wk.linuxfan
    * q6 r4 S' M8 i$ k
复制代码
发表于 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
7 W. ?' p1 h) a) E5 m) i7 }" T
  I) X5 t- t0 D; P3 v4 rbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-11 22:03 , Processed in 0.116840 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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