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

2654 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
6 e( y: _- {2 b+ A' U
0 e3 m+ l5 D# V4 i* k) N
  1. - n( _! J8 F, R! M, B# B' j# D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    % v( [. g2 B+ h. L1 g: U
  3. : {! A2 [0 a' V% |# D$ G  r; A
  4. ### What we need ###8 j+ z  x. f; f5 X# w6 [
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & v8 {' }" k% I- f
  6. will not explain how this can be done - there are documents out there for the
    0 h( U/ P* j* ~; r( b0 ~
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 k' [- C) L6 V) P: e8 G: _
  8. and a user account (username + password) that has the permissions to do stuff- @3 X! k- j# ]" ?; m# P9 x6 k
  9. with the database. Additionally, you will need a vendor library installed on the
    7 }3 I) |! n' p7 ]
  10. local machine, this came with my MySQL install.
    1 P0 t/ B  V. I, {3 \& |2 l3 c' P# c
  11. These instructions will not tell you how you might transfer your data from the
    * Q- B6 Z' R5 z4 ^! _$ ]7 W
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    1 _! _8 c) _, ~, l9 A& M: Z9 r, v
  13. database.$ g/ p/ w* U6 {1 |, h
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ }  ?" o! \' J
  15. the time of writing, there are still too many issues - check the current status6 q' _7 d2 u! h1 k* M
  16. in the TeamSpeak forums if you are interested.
    5 @0 Y- h5 a  ], W( C$ F
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! {# ~0 R( P3 E9 b& D) i
  18. Borland was used. This driver can only interface with the client library that 8 b% N8 `0 ?% @, Z4 O: L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ' p+ W* H. M5 X2 u3 ~* p6 S
  20. client library - basically all you have to do is to use a 3.x client library as
    , m0 _+ a1 g5 M+ D# T5 s# @& `+ t
  21. "VendorLib" and a 4.x database to connect to.( _+ m; l/ t$ M/ ?4 A6 [
  22. If you need more info about dbExpress, you can contact Borland.
    0 \" n$ x* H2 m/ N! c7 F4 k% }" E

  23. - R: t7 f( T+ i
  24. ### Doing the work ###+ x! @4 R, P* P% z1 Z7 W! {+ |$ Y
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, e5 h- [7 K) f% a% Z6 J$ J
  26. the perquisites right, just open your server.ini file, and add this section at1 _1 v  ~8 ~2 O- g/ k
  27. the end:* a6 X; L" I9 c% _. ]7 J
  28. ---cut here---
    " {  o6 y5 u1 P
  29. [DBEXPRESS]% j- [% B3 J9 w* R: h% G' _% l/ C% t
  30. sqldir=mysql_sql
    $ L+ C, [4 Z9 Y
  31. Drivername=mysql& k$ H4 _' q2 H! p! M
  32. Database=Your_Database_Name_Here( h3 c4 o$ ~4 J4 P  G2 K
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ( H. Y, U8 q' q1 c+ R8 s
  34. User_name=User_name_on_the_MySQL-Server
    1 P" ]- a+ O1 y( A5 u' w: _+ w& B
  35. Password=Password_to_go_with_above_user_name5 m" S: S9 C( U; m
  36. GetDriverFunc=getSQLDriverMYSQL+ T8 \; R  q8 |: h( l0 m: y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib1 g1 v! p+ i; ~3 a  D. W2 Z+ u3 ?
  38. LibraryName=path_to_libsqlmy_libary
    4 {2 `2 a/ j) c
  39. Active=1
    - V. W7 f3 M2 V* g) a
  40. ---cut here---3 C8 z& F/ E- E; G6 r) P) P: \- Z5 [
  41. In my environment (a linux box with a MySQL server running locally) I have:" x' d% D# S" l0 b: i( M) p
  42. ---example---
    . c/ z7 c0 k1 ^
  43. [DBEXPRESS]
    ( q# F6 Q) l8 S! T
  44. sqldir=mysql_sql
    " c! n" O' K8 I2 t" g3 K- \
  45. Drivername=mysql
    ( |0 {7 a# ~% n2 f; v
  46. Database=test
    : Q. P3 a. m1 r' n; [
  47. Hostname=localhost
    ; b# ]  k$ x' s0 A$ U1 _
  48. User_name=testuser
    % D) Q% a$ r) f) r& t3 v8 _
  49. Password=my_password
    ) j: k! I% a$ G6 q
  50. GetDriverFunc=getSQLDriverMYSQL- D+ t6 t, q1 q3 a  v6 f7 ?7 \1 J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( U# H  E" Q1 R4 w5 b
  52. LibraryName=./libsqlmy.so
    5 S" {7 q$ [6 u9 L
  53. Active=1
    * h+ R' Z! T# p, O5 X
  54. ---example---! D3 J) D$ r/ _# R! w. T
  55. + `, d! J  D  d8 {1 t
  56. On a windows box, also running the MySQL server locally, it would be:
    & `2 o. \) h5 d2 Q$ ]- ~  z1 J
  57. ---example---8 u. m6 H5 C+ C6 X) [
  58. [DBEXPRESS]% q- Z8 T5 j$ r' _- J
  59. sqldir=mysql_sql; Z/ A% Z' q* a2 g' U
  60. Drivername=mysql
    5 E  L: u4 ?1 u0 ?6 N" ^3 L
  61. Database=test
    # [0 w) V3 O0 d% S6 D
  62. Hostname=127.0.0.1
      t" X' U& u+ E
  63. User_name=testuser. G8 s5 t, `, N% c. M- a& q
  64. Password=my_password
    # k/ w* T3 p0 _+ s, C5 {* U
  65. GetDriverFunc=getSQLDriverMYSQL
    ' m7 ]- b) k1 @4 |9 b
  66. VendorLib=libmysql.dll
    . h6 U- W% m% P0 u) c
  67. LibraryName=dbexpmysql.dll
    . c* y- z  ^9 ?! q
  68. Active=1/ E- s0 [# o# Y
  69. ---example----
    $ b. n  q) {3 w# X
  70. - written 02.03.04 by pwk.linuxfan
    , E: R7 L0 u! j3 R' F9 S

  71. 2 g% n( A. c& b! X1 C' M6 ~
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看7 V& I6 N/ c) t

  1. ! J# v4 V  B1 s3 t+ f; C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ' w/ Z+ i& X% i" n
  3. 0 H+ [- e; S3 Y$ k; I* m
  4. # # #我们所需要# # #
    & T5 s$ }) q+ z( `
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 N% I7 V+ w: g  ]
  6. 不会解释如何做到这一点-也有文件存在,为: V/ G3 g$ c6 i5 T. L' T6 s9 u
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 `8 |1 m$ p4 H+ t6 m& P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    . _0 G# c3 N2 v  v: J0 j
  9. 随着数据库。此外,你需要一个卖方图书馆安装于. w2 `7 C2 N9 h1 I: ]  ~. {. p: H
  10. 本地机器,这是我的MySQL安装。
    : i+ c% Q  ~9 [! t2 ^6 [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    % y$ [' }' [5 U7 n; ]; _4 Y% o( z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + g  b, Y8 y0 S/ G
  13. 数据库。 6 s3 K7 C/ r' C) z% H) g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在& u9 }% y  v( K2 W0 J3 k
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    . a7 T8 ~) S4 y7 h
  16. 在teamspeak论坛,如果你有兴趣。
    0 J7 L/ J! U* ?/ V0 l# K6 w: E
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# z& o$ H* X" `6 `
  18. Borland公司使用。这个司机只能界面与客户端库
    $ b1 i2 ?2 y/ ]4 ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ) u% p$ `# G9 A) q7 x
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( m  w) r2 P& [; @8 S8 N# |5 i
  21. " vendorlib " ,并解数据库连接。
    + p- ^8 c# E5 ]7 R9 P" r8 K$ C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    , B5 |. c' A6 L+ s' p& G. |1 s
  23. / R; s- T. F- C5 ^; _3 s/ ^! h, {5 A
  24. # # #做好工作# # #
    ; L, H, W5 z) @
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : U- t, g4 u. M! M* x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在. X3 T" T- o8 c0 a8 l/ d: T" i
  27. 结束: 5 p, O4 S/ u% s& O( Z
  28. ---削减这里---
    9 F- n0 C  A5 {2 P8 l/ I
  29. [ dbexpress ] % a* f' Q: F" e( q2 k9 i5 k$ n
  30. sqldir = mysql_sql
    # x% X3 ?4 Y3 m
  31. drivername = MySQL中
    - I- g$ l3 ^9 f6 T( ^5 X
  32. 数据库= your_database_name_here
      m2 ^9 V2 j' Z
  33. 主机= the_pc_the_mysql - server_is_on ' `6 W( z+ K$ z* @, X6 s
  34. user_name = user_name_on_the_mysql服务器
    % y8 l" B- C. y$ m5 ^! X
  35. 密码= password_to_go_with_above_user_name
    3 I4 o6 C6 ~+ E- ~
  36. getdriverfunc = getsqldrivermysql
    & T1 f& `% R5 A" @
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 2 `5 l7 @2 y9 ~1 c2 ^8 ~3 F
  38. libraryname = path_to_libsqlmy_libary
    " d0 W: ^9 q% m+ @
  39. 积极= 1
    2 Q! Z5 j6 z% r( w( I
  40. ---削减这里--- ! s7 I4 Z1 U- ]
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 w& S/ l  n$ h0 K
  42. ---例如---
    6 v" o* C8 O; h9 t6 V% ]9 `5 u
  43. [ dbexpress ]
    ) Y$ t0 R9 S0 p# X
  44. sqldir = mysql_sql
      g9 l" h1 q; N! k1 s
  45. drivername = MySQL中
    & Y7 q0 }; `5 F% C; X
  46. 数据库=测试# C8 V; O1 r) v* w9 ~3 m, P3 ~9 o
  47. 主机=本地主机
    8 v/ A. d& ?( U* J2 m
  48. user_name = testuser   U) ]' p' S, T
  49. 密码= my_password
    / Y# T$ ~4 R  F' x- j- s  ]
  50. getdriverfunc = getsqldrivermysql
    ' L7 q3 D9 |+ M2 M  o$ y( U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    . f  J/ K% z' c, y1 T
  52. libraryname =. / libsqlmy.so , t6 ^. |2 K6 ^7 \
  53. 积极= 1
    5 P8 q  u+ l* c' i9 j
  54. ---例如--- 5 t" `- d# F  N7 N' ]4 B

  55. ! [1 n7 x+ J  c6 X2 X& i4 j" S; a, w
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * o% o, w+ c3 Z& C+ B0 ?- [: n8 p
  57. ---例如---
    . A9 l' j9 ^. e4 j' d, T/ O, i% d! u
  58. [ dbexpress ] & Z" V! ?8 t' F$ j% x
  59. sqldir = mysql_sql
    - p7 [) j2 F( |( P3 z
  60. drivername = MySQL中8 L2 g# ^6 I: U) d1 M: `
  61. 数据库=测试
      i( w! O$ q; h8 F; h$ B
  62. 主机= 127.0.0.1
    " X& g0 m4 {4 K
  63. user_name = testuser
    % X# k. ~( D0 Z- e: F8 M
  64. 密码= my_password
    ( y- _9 Q5 E5 ~/ J( r
  65. getdriverfunc = getsqldrivermysql 0 Z  l  r4 R9 I$ y% a5 s
  66. vendorlib = libmysql.dll在
    ' t9 I% P& |, L( G6 ?! H
  67. libraryname = dbexpmysql.dll
    * ^* H+ O+ ^: u  u
  68. 积极= 1
    ) O3 m! K0 v+ L' {. o
  69. ---例如----
    4 x& o+ T! g1 P/ O6 A
  70. -写在0 2.03.04由p wk.linuxfan+ z# u2 {  w( {% ?
复制代码
发表于 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' S1 e/ _% s" c6 V

' Y1 b/ Z) v- ^7 Q0 A4 Kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-5-22 22:46 , Processed in 0.114259 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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