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

2754 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
' B# h& J) H. h. K
) Z! v: s3 b6 m$ j1 H/ f) g1 z

  1.   D( @! r$ X5 C
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 O! [- r  ^* O/ ^6 M. I

  3. 1 E& j3 L. v: c. M9 z6 o3 m) [
  4. ### What we need ###- V& V; T0 q$ j# b3 O6 q' z
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; }! Y1 j6 \6 ^6 C( z
  6. will not explain how this can be done - there are documents out there for the
    ' d6 u2 S$ b7 M
  7. interested. The requirements include a (empty) database for TeamSpeak to use: D7 g4 y% \( y9 j8 B
  8. and a user account (username + password) that has the permissions to do stuff( _# Y. x: o( s, J7 X+ s4 Q
  9. with the database. Additionally, you will need a vendor library installed on the$ b7 z3 u8 `+ f) r! B; ~( q6 A
  10. local machine, this came with my MySQL install.! x; M* m: \# x! ~# g" [
  11. These instructions will not tell you how you might transfer your data from the+ H! o' m* U' v) N7 W
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& P3 E; r) Z+ O, h2 j
  13. database.
    8 ?4 }/ s/ {% N+ M! }) c
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 L  K4 A  V% y" u2 X$ I1 K
  15. the time of writing, there are still too many issues - check the current status
    0 z( c7 p3 Q2 z  V1 B
  16. in the TeamSpeak forums if you are interested.9 a+ Q( h" Y7 m: w* t- D& c
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 Y+ J0 R/ \, v" u; T  B
  18. Borland was used. This driver can only interface with the client library that
    ' z6 s7 v& [+ v: S- P. |
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this0 }- T; B) o8 L
  20. client library - basically all you have to do is to use a 3.x client library as
    : Y1 Z, S4 X5 G
  21. "VendorLib" and a 4.x database to connect to.
    0 R# z7 ?' }9 v& Z" E5 ?2 i) ~
  22. If you need more info about dbExpress, you can contact Borland.
    $ V! a% h  v9 w( h

  23. $ }, x5 E/ g& ]# G
  24. ### Doing the work ###
    4 P. r9 N6 u. b9 R/ ?6 A3 G
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% U; X" u0 x5 O( b$ P9 \
  26. the perquisites right, just open your server.ini file, and add this section at
    ( K8 y& P! g& ]3 o
  27. the end:: v9 u1 d# B. P5 k
  28. ---cut here---+ J0 w) v" x) H
  29. [DBEXPRESS]
    3 E5 ~( i0 Q7 w. I
  30. sqldir=mysql_sql
      V4 y" P8 T% }/ I* t0 q' H
  31. Drivername=mysql1 [) i* H! o3 B+ k5 |
  32. Database=Your_Database_Name_Here" M( r! f' X" e1 _3 N- w  I& l+ i, j
  33. Hostname=The_PC_the_MySQL-Server_is_on
    5 v9 B5 a' A5 d2 ^
  34. User_name=User_name_on_the_MySQL-Server4 L! H3 }$ M* r( d* y& R
  35. Password=Password_to_go_with_above_user_name
    ; \( n: r" Y9 z$ \7 R0 {
  36. GetDriverFunc=getSQLDriverMYSQL% D1 B2 g  k0 }$ h1 a
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib4 M8 Q. Q1 D4 O! y' B; ~0 f
  38. LibraryName=path_to_libsqlmy_libary( }  f8 B  G6 ^
  39. Active=1) _; S, Z4 H% F  v8 V
  40. ---cut here---3 P$ T5 ^' ~/ v& M# |
  41. In my environment (a linux box with a MySQL server running locally) I have:# _% H0 r! a" v% V* D6 [/ l
  42. ---example---$ i6 b+ V9 y5 o! e3 Z' B& q
  43. [DBEXPRESS]
    " c$ n. ~, B7 ?
  44. sqldir=mysql_sql  S) W0 e6 n  [0 \+ J( c  }
  45. Drivername=mysql' s9 ~+ q& s* ?0 W9 ]0 ?7 ~
  46. Database=test
    : t' n+ U. n4 h2 [) f
  47. Hostname=localhost
      T* M* h" ?' p4 p- j& ^9 z0 D
  48. User_name=testuser
    4 E; |& d2 u! P  S. V
  49. Password=my_password
    ; H9 R& X) a) z7 i" e, T' L
  50. GetDriverFunc=getSQLDriverMYSQL
    ' b6 }0 B6 N0 v0 z3 [
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( R5 l) b) R2 h5 K* \. R
  52. LibraryName=./libsqlmy.so
    3 D4 @3 j) V7 A/ ^3 L
  53. Active=1' X2 l8 T; ]; o  t; Q
  54. ---example---" R) D! |, i3 A7 O& d( e- t9 q" _
  55. * m! x0 ?: `. b! u
  56. On a windows box, also running the MySQL server locally, it would be:/ w) z. ?7 H9 }( S
  57. ---example---
    ) t4 S& ~3 ~- f4 @% i
  58. [DBEXPRESS]
    ' L) m! }  S  Y/ t/ E/ n
  59. sqldir=mysql_sql  J* o+ k5 d" @+ w% [8 R, Q
  60. Drivername=mysql% F. C$ U" v* h3 H
  61. Database=test7 {: T3 f0 \9 c! X* C
  62. Hostname=127.0.0.1: ^% ?- Q9 u6 }: B$ u3 h: w7 @
  63. User_name=testuser% p  E! e, e* Q' U
  64. Password=my_password# D5 p- }4 p# o9 s# _
  65. GetDriverFunc=getSQLDriverMYSQL
    7 U' q( A& G4 o2 n% A+ W
  66. VendorLib=libmysql.dll8 M8 T6 Z# Z, f
  67. LibraryName=dbexpmysql.dll- X; ~3 P& z7 E; J* l+ m
  68. Active=1- ]$ x2 ^2 s5 z8 F: s
  69. ---example----
    + ^+ X0 X! ?1 n. F
  70. - written 02.03.04 by pwk.linuxfan( y' |5 {; d3 z" |

  71. 5 t) C6 f$ t, O1 \7 a8 e
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
( `# @4 d3 T6 @3 L, D

  1. 5 |, ?8 M4 J6 Q* d# N; l- H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    5 d% a# \$ n9 k- H6 E+ }" U
  3. / u* l2 b& \# q6 L' O% P* j% Y
  4. # # #我们所需要# # #
    / z: a: M* J/ o3 w' E8 W
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件% s) @1 w# F- z
  6. 不会解释如何做到这一点-也有文件存在,为" W1 ^5 I8 B% X3 s& p
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    % t9 y" v( K# b( m% J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 W+ X+ y8 j8 m  ~, D  _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , Y, j1 _- K, M6 \
  10. 本地机器,这是我的MySQL安装。
    8 f/ B4 A8 U/ {& p" ?
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) D. s: m, x/ T4 u0 \6 x: A
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 n- y) G, x% R% ^" W0 p; `2 O( `
  13. 数据库。 * I0 X3 ]6 I( A% J' v% n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    4 `: l& M  M+ j/ j$ T
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    0 _/ R8 |8 J1 s) p
  16. 在teamspeak论坛,如果你有兴趣。 $ u+ q" M: o. h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机9 C. t- d0 Z5 N! e
  18. Borland公司使用。这个司机只能界面与客户端库1 c; \* M- ^" H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: m0 p) J+ }7 A/ V& q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' K+ s& I( W) ^4 T+ F& i2 s+ e
  21. " vendorlib " ,并解数据库连接。 ! M1 S3 l8 W/ ?0 @
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    3 a$ q+ K; w- i+ G6 D, m
  23. - Y" _5 w' z4 V4 s
  24. # # #做好工作# # #
    % d0 R& W3 m) @4 x, o2 d
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都! \+ t" |4 o- I8 ?2 l# s0 C" s
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    3 q. K$ K8 G' G+ M5 s; ^
  27. 结束:
    ( O3 o4 v/ h/ ~3 U: z- B
  28. ---削减这里--- % l) P3 P) o) a; a
  29. [ dbexpress ]
    ( J) D+ ^2 e! v0 @# L
  30. sqldir = mysql_sql
    + K6 V# x! w# P- s2 k! R
  31. drivername = MySQL中
    , i1 N! N# x* y1 p4 ^6 x
  32. 数据库= your_database_name_here + B) {' X, c/ w2 L6 b' L( j# p
  33. 主机= the_pc_the_mysql - server_is_on
    : V- E( q7 g$ ?2 P' @0 D2 U
  34. user_name = user_name_on_the_mysql服务器
    7 C; {) j# I9 P
  35. 密码= password_to_go_with_above_user_name % |8 A0 K' Y. [, o* g# Z& w
  36. getdriverfunc = getsqldrivermysql
    2 r# D( |& N' H- z% w7 |# {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    . j6 E) H, ^" V( ~4 S$ n4 j6 g5 c% i) c
  38. libraryname = path_to_libsqlmy_libary ! a4 [9 {% g0 z" D5 u0 m' A
  39. 积极= 1 . |+ q" n  r/ V, L+ R5 O9 C
  40. ---削减这里---
    # l' O' Z4 K" z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 S/ \$ ~/ X9 r% o- B
  42. ---例如--- . @; f" k# u/ S! f+ w2 ^7 U" T
  43. [ dbexpress ] 1 R5 z: d  d) N
  44. sqldir = mysql_sql
    & R. P- b' ^. c' B8 U
  45. drivername = MySQL中
    ; T5 l$ n+ c4 W$ G
  46. 数据库=测试/ f* ~" y9 ?/ ?9 r! b9 S
  47. 主机=本地主机
    6 r1 }' k2 d; d" i' M! |8 a8 U
  48. user_name = testuser 0 |- x! P8 t( g* l( M
  49. 密码= my_password . ~) @8 J4 Q5 I, Q) \. \
  50. getdriverfunc = getsqldrivermysql 1 v6 ]# U6 h  N( J% }* b& \" Q
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    8 S3 `- E9 Z# d
  52. libraryname =. / libsqlmy.so - j( M  Y* |/ C% ]5 {
  53. 积极= 1 0 B7 X$ O6 H5 m5 O7 Q& {
  54. ---例如--- 8 y8 y9 t7 @5 g
  55. / z% ^0 J5 M# `1 |) }* {8 d
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / R3 b, W2 J2 r
  57. ---例如--- : n& y$ ?% p, [$ A: w' ^8 b' `
  58. [ dbexpress ]
      P! l2 M( H* Z* u* @) F
  59. sqldir = mysql_sql
    + |2 Y) P  B/ s, @3 p
  60. drivername = MySQL中# K; @) M* Y$ p7 s/ H% N
  61. 数据库=测试; w* {0 S9 M. X6 L( i" J
  62. 主机= 127.0.0.1
    / g! P" {- a" S
  63. user_name = testuser
    * w* q. ~- }" d7 s. v1 }
  64. 密码= my_password 9 l: X, E* V/ `2 |! f& {5 n9 d
  65. getdriverfunc = getsqldrivermysql
    , b7 C5 T+ |$ b' E6 a/ u8 w! F
  66. vendorlib = libmysql.dll在' V. ?$ F9 j0 d
  67. libraryname = dbexpmysql.dll
    / \* `+ w4 y* L# m& L, m, x
  68. 积极= 1
    4 K# d& B, e$ J: P$ u
  69. ---例如---- 3 {* C: F0 |2 ]- i2 _8 D+ ]3 ^
  70. -写在0 2.03.04由p wk.linuxfan# P: U* \8 }4 O6 }2 W: a7 s; z  `$ O
复制代码
发表于 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
& g( l( P3 f  a% E- m" C% a/ ^
8 n) V4 F: ^+ M9 l, P$ kbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-13 01:44 , Processed in 0.097026 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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