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

2781 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 ~# a* D( }* w; @' B  T# P; P6 J$ c" u% g

  1. & H; ]+ d1 ?. e* q! o; g
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ) B5 }  U2 @& }" f4 k
  3. : G: c; l' l- j+ w0 |7 z! ]
  4. ### What we need ###( J7 E: i. Q8 a, W" R* D! T
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + d; {7 G1 |4 ]$ K( T9 ?' a/ b" r
  6. will not explain how this can be done - there are documents out there for the # M9 J: v( w) `' D, V- F. ?7 N
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - W4 E+ o/ e: `( G$ k  F* m! g* _
  8. and a user account (username + password) that has the permissions to do stuff8 ?+ O  x- }& b. C" @
  9. with the database. Additionally, you will need a vendor library installed on the
    ; j. K7 Z' ~( k! r( B
  10. local machine, this came with my MySQL install.
    ; ~8 a+ m  T: d/ H+ [
  11. These instructions will not tell you how you might transfer your data from the0 J9 H7 a' H! C% b+ [9 D* P3 [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) ~" ]/ k1 D4 L3 r0 J- x( f$ O
  13. database.: c1 [/ H2 ^1 \5 T) W
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ( W% v. O' a- E; q; \$ q
  15. the time of writing, there are still too many issues - check the current status
    # ?5 v2 T) F0 v- `8 M+ {' L
  16. in the TeamSpeak forums if you are interested.- a: j1 E! c: L- \- R' `
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from( X. p% d2 k9 s7 M' u
  18. Borland was used. This driver can only interface with the client library that " \, A8 k. H. ]7 v
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this) f  W: @; ~' P, _- ]
  20. client library - basically all you have to do is to use a 3.x client library as + Y2 h6 S" M8 a( O
  21. "VendorLib" and a 4.x database to connect to.8 E) O7 f, w. H
  22. If you need more info about dbExpress, you can contact Borland.
    + `+ Y6 h8 l" E, c; E5 k
  23. , U8 b' C' Q/ _9 G" s. i  G, M7 a
  24. ### Doing the work ###) p, U5 T* L* P6 I. k, N+ Y  N! M  ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 b% Q  n* Z; z3 ~$ h4 f
  26. the perquisites right, just open your server.ini file, and add this section at# Z: F0 {* }+ z0 P4 l4 S$ I
  27. the end:
    5 W, [. n3 L8 U6 A
  28. ---cut here---1 M9 N$ J, U8 U
  29. [DBEXPRESS]
    4 h% {9 f2 Z) l) e
  30. sqldir=mysql_sql
    6 S% z& x: ?% Q. K% A, f! I- }) {4 Q; M; H5 S
  31. Drivername=mysql
    ' X3 c8 h  {+ o; b# v. Q
  32. Database=Your_Database_Name_Here
    , S* v, V0 u: [6 z) `
  33. Hostname=The_PC_the_MySQL-Server_is_on9 A' A$ |7 n7 T; W; g
  34. User_name=User_name_on_the_MySQL-Server0 H5 p+ f1 Q5 ?1 C; `1 ^* p, Q  E
  35. Password=Password_to_go_with_above_user_name
    5 B# u- t2 e9 p+ L% C
  36. GetDriverFunc=getSQLDriverMYSQL+ I; z2 O9 u. a: |( I2 E
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 [  @  O! }9 v5 l3 o# u3 m7 I8 X; ~
  38. LibraryName=path_to_libsqlmy_libary) T- j$ [9 s- n- A
  39. Active=1
    ! z1 r5 A8 e( {% |; l& E
  40. ---cut here---# c$ y6 q& i2 }
  41. In my environment (a linux box with a MySQL server running locally) I have:0 I6 f9 [! u$ W9 ]: e, g+ Q
  42. ---example---( W, e( @$ t/ t
  43. [DBEXPRESS]- M8 I: t. r& o& a0 M$ v& B, y
  44. sqldir=mysql_sql1 p2 t: ?7 ]8 `2 p" t& `, w
  45. Drivername=mysql
    ; f& m, i" n4 ]- a$ w/ [
  46. Database=test; f* Z( z2 E' D* K9 R) C( L8 G
  47. Hostname=localhost
    - i' |7 I5 E3 g( I+ B( x* M
  48. User_name=testuser
    " T' ~# v# T1 k5 {. r! h) G, q, z
  49. Password=my_password( V7 O  i3 B  M- b: W1 X5 f0 i
  50. GetDriverFunc=getSQLDriverMYSQL
    " e. V+ _3 t. C9 j+ S  v0 C
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , {& H3 M# H2 r# Q7 s
  52. LibraryName=./libsqlmy.so
    ! z. z; L0 k! M. l4 ]: D+ P! c
  53. Active=1
    ( f' k; E# C4 \( g9 _8 Q6 V
  54. ---example---
    ! E5 o- }( d- F# ^4 x, S
  55. " _5 N. v5 b; I% V  ^- b9 O. M* K
  56. On a windows box, also running the MySQL server locally, it would be:& }  N# R. _. U6 C9 [1 u
  57. ---example---7 [& j2 H. g( H$ Y1 C6 g" u! }4 T
  58. [DBEXPRESS]9 Q% H7 L0 s; J7 w
  59. sqldir=mysql_sql
    ( b( w) W* P5 [: a$ n1 w  P
  60. Drivername=mysql; Q) B$ j+ q  ~2 q. Z2 x; m* l2 M! Y8 X
  61. Database=test
    6 T; B  s1 b8 Q! }
  62. Hostname=127.0.0.1' K- @8 `: f- |$ @! t  `) s/ L- p
  63. User_name=testuser
    ! _& g& z6 P, f/ _8 l4 [
  64. Password=my_password* {. i2 k5 J2 b8 a$ B
  65. GetDriverFunc=getSQLDriverMYSQL) F2 ?" t; L! a2 ^/ e4 y; P1 I
  66. VendorLib=libmysql.dll" i2 w: l8 Q( K7 z
  67. LibraryName=dbexpmysql.dll) y2 U: ]2 V( d5 J% m
  68. Active=1
    ( a  x1 P5 L- x$ u
  69. ---example----
    6 V: O% i& W$ P; ?
  70. - written 02.03.04 by pwk.linuxfan+ b4 y% n, a( Z
  71. - I4 z5 A2 l- D. N9 U3 [5 L( E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看3 S) S6 [$ I' }$ c" K

  1. $ `# v/ L/ j: f( J8 M$ f
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      l9 ?. o0 |9 ?4 V8 f# _) T
  3. , e. p7 X( F7 N$ j2 w' W! |
  4. # # #我们所需要# # #
    % g3 c5 L7 F6 Q/ C
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件: M8 y- L$ y/ X7 d2 e
  6. 不会解释如何做到这一点-也有文件存在,为
    : g/ v5 W# |8 ^6 f/ d
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 B% Q, M9 h2 J5 s, T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西* {5 q+ p7 G3 |# F. q' J' D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于7 W7 d8 P# b5 n# \
  10. 本地机器,这是我的MySQL安装。 0 k9 X( Y/ ]1 j* Y% a5 r. @% b
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从: L; U, K! @2 d9 ]* b  N
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 L$ u/ f' ~4 e4 L: L. J- E
  13. 数据库。 8 ~7 w3 Z9 \5 W2 v4 v8 R# v
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    2 _% e2 Z( N" U( o5 U3 @% ?$ U
  15. 编写本报告的时候,仍然有太多的问题-检查现状( N/ m' ~6 s& G8 ?
  16. 在teamspeak论坛,如果你有兴趣。 8 Y( e: v' i6 Y3 ~+ l* S
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 H" g( m8 R" r8 [
  18. Borland公司使用。这个司机只能界面与客户端库
    + A- P& v3 p- y% Z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这; R; Q2 u, W. I; j: z  C0 @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为+ M. k9 I9 k, ^
  21. " vendorlib " ,并解数据库连接。 . I) u+ u3 q- i" m& o
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - i  H! E) ]+ y. C) ]; L

  23. ! T2 N8 m2 K; C- o
  24. # # #做好工作# # #
    # m( }% @  F* R+ H  Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 H" V2 t& z7 Q. B- i6 B$ u% t
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# F; S: ]- R* `. U
  27. 结束: - X7 L$ E* W( B8 _' ]
  28. ---削减这里--- : V( H( w; |" T+ {( N' ~" [
  29. [ dbexpress ] 6 R6 `0 [9 ]- ?2 i$ Y
  30. sqldir = mysql_sql
    " K. I+ D8 b& x
  31. drivername = MySQL中
    ' Q' M: F, H9 a- |* X" C8 s
  32. 数据库= your_database_name_here
    4 k5 M  k9 q9 v5 w  t+ x4 j; Z( [
  33. 主机= the_pc_the_mysql - server_is_on $ X9 B# P/ A1 z& l0 A
  34. user_name = user_name_on_the_mysql服务器
    : u. S% d$ y* o
  35. 密码= password_to_go_with_above_user_name
    ; h3 {  x9 P+ t7 X. t9 W4 ^5 _
  36. getdriverfunc = getsqldrivermysql
    % w  w. c! G% [" Q" t( c
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 0 Z( [2 H7 K2 ~) x' I; c
  38. libraryname = path_to_libsqlmy_libary ' C6 T6 f! ]+ ^- O5 \- v
  39. 积极= 1 1 d7 N. T2 d" }1 b2 v" L% I+ E
  40. ---削减这里--- 0 Y& A& M( Q; Q2 G' t: H% E
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 B0 ~' E# \, Y) {
  42. ---例如---
    4 D8 w5 f6 k3 y8 I5 K
  43. [ dbexpress ]
    0 i$ n1 K% L$ Z. n# c4 G3 E
  44. sqldir = mysql_sql ; H8 K! m7 d4 ~/ l
  45. drivername = MySQL中
    + z- @; y" z0 g
  46. 数据库=测试. t  E* A5 B1 o+ O6 P2 _
  47. 主机=本地主机+ H9 [. T. m/ d
  48. user_name = testuser 7 \, }! M  }& p2 Y
  49. 密码= my_password
    : h! |6 q8 p2 G, f
  50. getdriverfunc = getsqldrivermysql
    3 o4 U, R1 z7 S3 x7 H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      k3 w6 }7 _9 _4 D. H
  52. libraryname =. / libsqlmy.so - G, L9 M0 f6 R% G$ s0 x
  53. 积极= 1
    ; W0 a& ]* |0 @2 n
  54. ---例如---
    ! P6 K! O) O- ?- E5 h
  55. " l7 R% R1 t% e1 O3 w- j- v
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    : S6 ~: s" ?" g' H7 M
  57. ---例如---
    - r: R0 b) e) C
  58. [ dbexpress ]
    5 T" O0 D% [- R; e9 Z7 b! p$ `
  59. sqldir = mysql_sql
    : X/ g! n9 A* z
  60. drivername = MySQL中% m: B' n  p8 e" p5 u5 J+ d$ W
  61. 数据库=测试6 u8 S; @$ D& V& e: P
  62. 主机= 127.0.0.1
    - S  {1 x9 w7 r0 z+ I% ?
  63. user_name = testuser
    1 l# J4 u( Z" `" T: t" x: i8 P
  64. 密码= my_password , V& F% z6 \4 F+ g% j
  65. getdriverfunc = getsqldrivermysql
    1 X6 c+ c9 l' U; ]) t) N
  66. vendorlib = libmysql.dll在* B! t; ]7 N  w! |- _7 c( V
  67. libraryname = dbexpmysql.dll
    " L; |: R; v! a  u; ~
  68. 积极= 1 ' F4 \9 m! k8 W/ a( \6 w" o
  69. ---例如----
    $ X# @7 j4 m4 t$ r/ q
  70. -写在0 2.03.04由p wk.linuxfan
    & F9 ^; g/ ~( j+ ?" c
复制代码
发表于 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
; f; ~4 C; z( q% u& _" e- H! {/ @. O# |% @4 N$ b# G
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-20 05:50 , Processed in 0.101325 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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