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

2941 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + g3 z9 o' k: V: R

; ~5 U* ~6 t. f) T2 [1 }# [
  1. ; a2 W+ X9 ~4 R6 _$ M8 e" Y
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    : K" K* W4 T  c: J# D' V9 g

  3. 0 p9 Z; f' O  d/ }
  4. ### What we need ###
    ; g* t+ H  M! V, ]) y1 |" U) ]3 K
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ; h! U$ A1 `, R- A; [3 Y0 o
  6. will not explain how this can be done - there are documents out there for the
    # W8 E6 U( J  H+ c* X, P, C# Y3 J
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 r/ x1 I- }( w" J
  8. and a user account (username + password) that has the permissions to do stuff0 Y0 u& U3 N1 W
  9. with the database. Additionally, you will need a vendor library installed on the
    9 B8 e9 G1 J8 O  K( b
  10. local machine, this came with my MySQL install.
    8 S3 V' j1 Q, S( w2 ]8 u
  11. These instructions will not tell you how you might transfer your data from the
    - [/ C. R0 x# g& p. I* k0 r4 e
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL: h; s( \6 @. M/ q
  13. database.8 ~$ p; q: W7 C' q8 T1 `$ Q5 ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at$ Q5 ~5 L- X/ x, V& B4 N
  15. the time of writing, there are still too many issues - check the current status' I7 n' f" {  I" g0 s! {1 u& ]+ H$ ]
  16. in the TeamSpeak forums if you are interested.3 T& a$ V4 g% P" {4 M
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ V$ f4 V' r& M4 {0 s& P8 a
  18. Borland was used. This driver can only interface with the client library that
    ( Y1 T4 [: F4 w# v- G. L
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % S; \5 \2 W& _5 C  J1 h  u0 B( ?2 S
  20. client library - basically all you have to do is to use a 3.x client library as
    6 M) t0 P* _% m/ i! ]
  21. "VendorLib" and a 4.x database to connect to.
    , x6 w& g) i0 I# J: B
  22. If you need more info about dbExpress, you can contact Borland.
    2 ?2 k1 a7 v5 |3 E5 b- u

  23. 4 u! B+ s* t) x, j& `6 b% x
  24. ### Doing the work ###
    # s% Q7 X5 B# B; P: ^1 d. E( _
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all7 p) c/ `& F! ~( u5 r' j
  26. the perquisites right, just open your server.ini file, and add this section at
    9 v. |$ {& }- Q' h' v, J) q
  27. the end:
    7 z9 d  Z+ ]- u, z/ A7 V" M% i
  28. ---cut here---
    ' p9 x% u( i: {+ e( m% Z; v
  29. [DBEXPRESS]* N8 E8 m) Y6 v1 X
  30. sqldir=mysql_sql
    1 K' Q8 s* @9 E
  31. Drivername=mysql  l# E0 K6 K2 `8 J  \4 q+ z: T) I- S
  32. Database=Your_Database_Name_Here( x% l; \; U/ H# `9 {/ P
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ' h4 i* L6 ^& q; Q5 \2 A
  34. User_name=User_name_on_the_MySQL-Server! ^) m# a9 F7 g$ C! \
  35. Password=Password_to_go_with_above_user_name3 j: |* ]: i& H* \% D  x
  36. GetDriverFunc=getSQLDriverMYSQL7 c1 Q# [8 D1 C2 J9 \  k4 o
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    & l0 N+ h9 T. U$ O% Y
  38. LibraryName=path_to_libsqlmy_libary3 P% W0 O' _; }/ k& k6 b* T
  39. Active=1
    8 K, a( a$ ?: p( R$ S' j* \9 u' a
  40. ---cut here---) p/ x3 X4 [; F
  41. In my environment (a linux box with a MySQL server running locally) I have:) ~0 h7 F6 Y. x. |2 x
  42. ---example---( _7 g) M9 F5 z1 ~; t
  43. [DBEXPRESS]
    $ R' G; O4 J' M1 b( @- G
  44. sqldir=mysql_sql" w, ?7 {& o% A7 f: m- b6 j
  45. Drivername=mysql
    - I7 V3 G/ ?7 r# G$ A
  46. Database=test
      \1 s3 Y$ p1 V9 n; W: r
  47. Hostname=localhost
    6 e2 H# I' s2 F) i# p6 i
  48. User_name=testuser: {- Q7 x2 a8 R- q& H* C' W
  49. Password=my_password
    4 z5 Q+ B& Y  R
  50. GetDriverFunc=getSQLDriverMYSQL& D! _& F* b8 }( s! A+ i; Z5 `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0! z5 j$ w. [' l- o( ?2 o4 g' v
  52. LibraryName=./libsqlmy.so# q5 B  B9 Q* L& L& S
  53. Active=1  u& j) n9 O3 ~1 j; i, H
  54. ---example---0 _! @5 B' a, L" L7 K. j' D: ^
  55. 3 K  q9 ]. d- l: G$ t) Q+ A
  56. On a windows box, also running the MySQL server locally, it would be:. u8 s7 T8 f9 O' s: [( C
  57. ---example---- m( q3 y, V$ J8 W8 q% M# d  @) m
  58. [DBEXPRESS]
    * ^( O& }" p9 l6 }( G
  59. sqldir=mysql_sql
    & n' D, ]2 g" d4 X
  60. Drivername=mysql
    $ W; e- i: ?+ `: k8 B0 i7 c4 `( B+ N
  61. Database=test; b0 r# U2 _+ f8 Y, X# N
  62. Hostname=127.0.0.1
    ! Z6 L7 _5 y9 v0 \! C; d- W0 k# A
  63. User_name=testuser
    . D# N' [! t" F5 M4 J& [
  64. Password=my_password6 u4 n) X7 k) D* x! @
  65. GetDriverFunc=getSQLDriverMYSQL9 i: _9 w- Z+ Z' q" |
  66. VendorLib=libmysql.dll
    , L  G+ F: [7 x7 n/ N7 g. P
  67. LibraryName=dbexpmysql.dll
    3 O) v$ W) E" Z+ R( R+ |5 Q9 g8 x
  68. Active=1" E  w- {( |' u" N  k, v
  69. ---example----
    % ^3 x1 u* A, W; ~
  70. - written 02.03.04 by pwk.linuxfan
    # K2 ^- p, G* ~- P1 X0 ~( S: S6 H& O1 s

  71. # U4 U9 p$ l8 m3 I. K# |- c8 b. s/ z
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
% U7 }( n7 }' b- P6 V
  1. . J- t- N, ]5 T; ~( h$ Z2 P5 {. G( f- c
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    1 p5 o& I7 U" Y6 E  @3 n( E) P

  3. + g' P5 p) t7 m' l4 ]
  4. # # #我们所需要# # #
    $ B% {/ X# K* ?' C# z- O2 H( D" x7 t
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    7 W1 q1 v4 f- d) I1 F) n# \7 @; C
  6. 不会解释如何做到这一点-也有文件存在,为
    6 b8 m6 j3 P1 s' B- w! ~4 v3 R, j& b' c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    / s# @: }! q, u+ |6 T
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& G( t+ h8 c/ F' X: H! f% z
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: ?: t* O* b: V% l: X
  10. 本地机器,这是我的MySQL安装。 5 \# j* ?; G+ K$ A9 m5 c# d# ?; j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    # w2 g' g) y  B
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : ?* \/ M- ~! U* G* k" r
  13. 数据库。
    & ?# ]: ^& V2 p7 P& U9 f5 x- c  r
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在8 `0 a, y9 w1 E* p! @4 m7 B4 [: O
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 \3 U4 L. s: M, A
  16. 在teamspeak论坛,如果你有兴趣。
    1 [: T" k5 [6 b" D3 R9 ]
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 _1 g; {- h; e, L, r4 F
  18. Borland公司使用。这个司机只能界面与客户端库$ U3 c: y5 ^% t$ j4 {9 I
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这  ]5 R% N" {; U7 \8 ^9 `  W" {  q9 F7 l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    : N2 ?1 U9 l& f- T6 b# I2 X6 i3 J; o
  21. " vendorlib " ,并解数据库连接。 * p4 k# l, j2 O( ~3 i
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . q- B% v6 H' W& Y* H
  23. 4 K- d9 o' V) `. j, b- H$ w
  24. # # #做好工作# # # 0 l0 m' E( a; G
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 `4 \. o7 H$ f0 c+ O9 ^
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ d$ J: r3 U+ |3 t0 F2 }7 n8 s
  27. 结束: - ^5 M' v, d2 h5 i% Y: w: E6 I
  28. ---削减这里--- ) W" b1 a* I1 C- s; w  V, q
  29. [ dbexpress ] ) D6 M: k3 b3 O& B7 n8 T- J& y
  30. sqldir = mysql_sql " z5 ~8 Y5 h- ?- Z6 E/ k7 b
  31. drivername = MySQL中
    . U* m1 {/ R; r% p/ J
  32. 数据库= your_database_name_here " I# f: g7 h/ T8 P' _
  33. 主机= the_pc_the_mysql - server_is_on * k) ]+ d. _, m" D
  34. user_name = user_name_on_the_mysql服务器
    , M) E4 a: ^4 `* B) z5 M. S
  35. 密码= password_to_go_with_above_user_name , A* Y; _$ ~2 Z; x) ~. Z7 X
  36. getdriverfunc = getsqldrivermysql
    5 Q+ h4 L2 p6 Y" m( m! T8 q
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 R4 K+ p: K; i
  38. libraryname = path_to_libsqlmy_libary
    " Z* Y, t7 p0 q) w- ~% I( {8 B( p
  39. 积极= 1 9 \5 D8 d. |6 l9 h" ~2 _7 u
  40. ---削减这里---
    8 h' n& `4 W+ z9 q6 w
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & V" t$ G, |$ v$ A5 m: ^
  42. ---例如---
    , n( T# g$ t" H, W8 Q* \! S+ }
  43. [ dbexpress ] - {* b: w" z( _  [4 w
  44. sqldir = mysql_sql . y9 n& L5 U( P, [  B! N
  45. drivername = MySQL中
    , c7 P" \- i  p* Y7 ?7 ~. l( M
  46. 数据库=测试
    5 [' T$ Q' t) q
  47. 主机=本地主机. H9 e% m- H+ c
  48. user_name = testuser
    3 M* P2 }. j- B3 |$ c+ o
  49. 密码= my_password
    5 ~2 F: N/ P' Z9 M7 h1 @
  50. getdriverfunc = getsqldrivermysql
    1 b2 A. f  f, @2 B  l/ P, o8 G
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 r2 Y4 x- Y9 a8 r* |" a; |
  52. libraryname =. / libsqlmy.so
    9 K" c, ?( N* C+ o& s$ T9 V
  53. 积极= 1 9 U  }( t0 O9 I; y- N
  54. ---例如---
    # f  Z" ~" J5 e3 a$ t) e
  55. - x+ {0 u9 h' ?# _, c
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    9 C4 W' r! H1 \/ b, v# s$ P7 ?# r
  57. ---例如--- 5 i1 C0 `5 \, q$ r' r7 Y) w. ]( U
  58. [ dbexpress ] ! Y: a* @5 V( Z# i
  59. sqldir = mysql_sql
    0 d8 k: t# j: {8 L
  60. drivername = MySQL中" t8 d2 J& {( B
  61. 数据库=测试
    + p1 w+ l  I  d
  62. 主机= 127.0.0.1 / E& Y- A) U' p3 q" q
  63. user_name = testuser
    . I$ ~0 m  o0 r
  64. 密码= my_password 1 w* w' X+ |% \* y
  65. getdriverfunc = getsqldrivermysql
    ! F5 _& v9 g3 a0 [
  66. vendorlib = libmysql.dll在9 Z7 L- H+ g- g# e
  67. libraryname = dbexpmysql.dll " \& M/ j( T' i* U& w
  68. 积极= 1 5 H+ U& W# c7 x2 W" q. U6 H& _7 e
  69. ---例如----
    & A( s, j" e" y$ V& E+ T7 t
  70. -写在0 2.03.04由p wk.linuxfan
    ( l. r% a3 s. K$ X7 d
复制代码
发表于 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
# a! D( |8 A4 h. e  p# @: y. e9 k# Y" }0 m! k9 P
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-27 01:15 , Processed in 0.104666 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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