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

2934 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
" i' W  p+ _- B# k) Q
4 M% j' I: E- k( j% e0 m& g# q" A+ v6 w
  1. . b0 t9 b2 j: ^& q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: H0 n- |9 L% q  w' ]9 ?+ k
  3.   V$ L: k) C/ P2 |2 d5 ]* ~0 J& N3 ]
  4. ### What we need ###
    - K  e" s% I: H* N4 F4 M
  5. Naturally, we will need a MySQL server to store the data for us, this document ! r* R  }  O! z3 I
  6. will not explain how this can be done - there are documents out there for the
      v% J+ F& |1 _- O9 f# D0 B
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * f( i! W- ~4 w4 O% C, f
  8. and a user account (username + password) that has the permissions to do stuff
    : H8 d. j0 Z  O7 Z6 R
  9. with the database. Additionally, you will need a vendor library installed on the
    ' v$ d: V) X$ E) f% M2 F
  10. local machine, this came with my MySQL install.
    1 h3 I, c, B1 C6 |- R
  11. These instructions will not tell you how you might transfer your data from the0 a0 |0 T1 R* ~! d! e4 Q, l* X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    " v+ M6 [1 j, A4 F( d
  13. database.
    . Z, S2 Q& X# y8 j; @' l
  14. Some users have reported ways to import a SQLite database into MySQL, but at" Q  S) `1 Z- G. I
  15. the time of writing, there are still too many issues - check the current status2 @. t! n' A) `4 F6 \# r. |1 ^
  16. in the TeamSpeak forums if you are interested.3 B$ e7 x4 g& c# ]
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from, j7 g  ^8 l% r  Y1 _3 [
  18. Borland was used. This driver can only interface with the client library that & C- A$ q* H: j* J! B
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ N2 S4 C% p" U. F9 d; [) ~5 [0 }
  20. client library - basically all you have to do is to use a 3.x client library as 7 }6 H( y; d3 |
  21. "VendorLib" and a 4.x database to connect to.
    7 H* \0 R. U( x9 w4 W
  22. If you need more info about dbExpress, you can contact Borland.
    ' j6 e. v" w  n! W' p, m8 k, G: C

  23. $ k( K, n2 E! U" j3 _. |
  24. ### Doing the work ###
    % A1 i8 a' d/ G* J) v$ a
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 O' W% p( r' U0 O. _0 s, R" u8 n
  26. the perquisites right, just open your server.ini file, and add this section at
    3 u4 t2 B& ?' T9 H
  27. the end:* U( V) l8 b  N0 o' G6 ?$ l
  28. ---cut here---
    ; C! u. g3 S: D% r
  29. [DBEXPRESS]8 h7 @- F+ G* ]6 c: M2 H+ v' ?% N( }
  30. sqldir=mysql_sql5 d2 v: S2 B) b' Z
  31. Drivername=mysql
    2 Q$ r7 T  n: f
  32. Database=Your_Database_Name_Here! k1 r" H6 o, |# [( ]% b
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + v1 A$ F/ C" I, L7 g- M8 B
  34. User_name=User_name_on_the_MySQL-Server
    8 P  R; E: O8 J5 N' W0 a; {
  35. Password=Password_to_go_with_above_user_name, f& U' a7 Z, U/ l) m0 B4 H2 O+ r
  36. GetDriverFunc=getSQLDriverMYSQL- }% f5 W1 g# _4 V3 D, \
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib  S4 r/ `0 a2 g  l: e" a$ U
  38. LibraryName=path_to_libsqlmy_libary
    2 v; f2 v: I- F( l# C1 [, f
  39. Active=1
    + c- N+ b  R) L  V  }5 N
  40. ---cut here---
    6 }- r- l# o: |8 r/ b
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ) C7 A, m* }8 Q1 [, q0 }: ]
  42. ---example---1 V  W& L# Y- l8 Z2 G: {: M( b! D
  43. [DBEXPRESS]
    # d+ E# Y9 j7 j$ w8 t2 q
  44. sqldir=mysql_sql
    % \) Q( H$ K7 y
  45. Drivername=mysql
    3 b7 [; ^/ l" m/ W0 k9 _: M3 H" G
  46. Database=test
    ' A9 {0 a! Q2 b. X4 W1 v4 q
  47. Hostname=localhost
    6 G9 Q1 `0 n; e' M2 Y7 |% r3 e
  48. User_name=testuser
    * n; K2 i+ K6 n, c6 y
  49. Password=my_password5 v4 q4 s4 f0 Z5 R1 w8 r
  50. GetDriverFunc=getSQLDriverMYSQL
    4 B# ^$ V+ Z& o9 G1 i5 s# o  ^8 ]
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    " R* r; e+ E0 u/ L4 Q6 o
  52. LibraryName=./libsqlmy.so/ V# ?' l) V% w+ D
  53. Active=1
    9 D: J4 w5 p# M6 N2 V8 {( J
  54. ---example---
    # g2 e; L" a! R2 j4 _! l2 Z
  55. 5 k9 c3 U! i: S
  56. On a windows box, also running the MySQL server locally, it would be:- m5 h; F: d$ i' r: d9 m" D3 T, |' m6 b
  57. ---example---: T' a% n8 w/ `/ ^
  58. [DBEXPRESS]8 h) ^4 r5 w" m( D  W
  59. sqldir=mysql_sql/ z: m* @" j+ P. T
  60. Drivername=mysql
    6 w: D3 }: D. Q) q6 e* X6 [
  61. Database=test9 `9 c( c  L; h  i* V
  62. Hostname=127.0.0.1' a: X$ w9 @: U2 T
  63. User_name=testuser
    : Y4 M( m# A7 Z. r3 c! n
  64. Password=my_password
    % R  B4 J% n) H# L# L. r
  65. GetDriverFunc=getSQLDriverMYSQL
    ! p/ W! z( c9 M" T7 h. x
  66. VendorLib=libmysql.dll
    8 h  f# s7 }; H
  67. LibraryName=dbexpmysql.dll3 ^  e3 ^0 o3 g
  68. Active=1
    ( h2 a" L/ @* k9 M8 a2 \& e5 E
  69. ---example----
    1 ?# Q# n6 p/ T3 d7 s- A8 f% W' H
  70. - written 02.03.04 by pwk.linuxfan; G& w: ?0 ^2 N2 h0 G7 ?* N

  71. " h. j" @" T$ U$ `0 u  p; G" X
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
( a2 n0 K7 T" Y
  1. 9 E! c5 z9 ?  j- u' }
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' y- O. P( o8 r  [% I
  3. 8 m  V5 w2 B1 I
  4. # # #我们所需要# # # " {5 @' f7 ]. o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  Y8 o  i6 J+ J" Z
  6. 不会解释如何做到这一点-也有文件存在,为
    5 p" w/ g; _0 m; y
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 h# p: z0 P$ m# A3 c" \6 i( ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& p3 P" @6 S4 u" b( j: D
  9. 随着数据库。此外,你需要一个卖方图书馆安装于6 O7 ?1 t  t( S0 U
  10. 本地机器,这是我的MySQL安装。
    9 y  n6 N4 T  H/ a$ e- M
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) r0 \$ S9 K& [; F3 a1 \$ @1 [
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 _* A) _. {) w* o: }
  13. 数据库。 0 o7 u* w6 t; p/ k
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在+ V; P& T& H& W4 w
  15. 编写本报告的时候,仍然有太多的问题-检查现状: Z1 [. ?3 p( P- p1 s) ~: Z: T
  16. 在teamspeak论坛,如果你有兴趣。 ) A6 x6 ]* P/ ~9 _
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机. X: Q% R( k+ X& @& p! |- x6 u
  18. Borland公司使用。这个司机只能界面与客户端库
    ) t7 b6 |& C: V
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ; q  L0 K  n8 G
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为) s+ R. Q) q( X( O' g
  21. " vendorlib " ,并解数据库连接。
    * G5 h2 U7 i6 b* l( t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % ~9 \1 \' N( q! l
  23. " H! v' y; f* E; C% _% O- j& E) u
  24. # # #做好工作# # # + s" Z' s0 |$ I  Q
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ _8 h3 z6 M0 U* W
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在0 u4 q: N- _6 Q* V
  27. 结束: ) ~* C5 U; @) C; b
  28. ---削减这里--- * _3 Z1 L1 x7 G& }3 r
  29. [ dbexpress ] : E6 Z- _3 H. A/ G7 f
  30. sqldir = mysql_sql
    % c7 K" P3 c+ C7 P2 @( y' h( u
  31. drivername = MySQL中  s2 g! t' [, K4 R
  32. 数据库= your_database_name_here - u$ @! Y* R6 C0 C# y
  33. 主机= the_pc_the_mysql - server_is_on 3 F. }  Y4 b! B6 v& h& B+ ~
  34. user_name = user_name_on_the_mysql服务器8 G* \- h+ O4 e2 h
  35. 密码= password_to_go_with_above_user_name
    : e( a& [. E) `8 R( H! @6 x' n" l
  36. getdriverfunc = getsqldrivermysql ( ~  J6 [- r. f0 s4 f' p: S4 r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) @2 R$ o* |: Q0 B0 V( b9 K  T* G( D7 U
  38. libraryname = path_to_libsqlmy_libary
    & a# c, p- s  H7 b
  39. 积极= 1
    - I! n& l' ?  i; b% N
  40. ---削减这里--- - g' p5 ~, A2 t9 |. j2 v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    7 m% X- [7 o( L, ]& }% z
  42. ---例如--- $ C4 J$ u4 S  q$ N8 Y* @
  43. [ dbexpress ]
      ?1 `! W/ G% y0 Q
  44. sqldir = mysql_sql   w* f' K' t# |0 e$ O* ^# b) |
  45. drivername = MySQL中
    * M+ W- o$ N! q
  46. 数据库=测试4 m& U: e% P: K( t' D3 _+ M3 \( v
  47. 主机=本地主机- @  g) Z9 i' V' _: W, x
  48. user_name = testuser
    6 k- t2 f8 S3 r
  49. 密码= my_password
    5 R& ^9 Z: ~( G
  50. getdriverfunc = getsqldrivermysql 9 ]7 D, ]4 W3 e2 ^. N" y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 p( u( [1 p  ]* F7 V+ ^
  52. libraryname =. / libsqlmy.so
    8 z+ w( u$ K2 {0 o" q: A
  53. 积极= 1
    . Q) |9 ]# o4 F  B
  54. ---例如---
      [: ?5 ]. W8 d- t. p- b

  55. 5 z+ `+ u3 Z7 f  E
  56. 对Windows中,也运行MySQL服务器本地的,那就是:   P* e% s3 a8 C
  57. ---例如--- 0 ]: J( c1 `6 E
  58. [ dbexpress ]
    8 m5 m8 O3 u$ a/ o3 @% |, I( F2 L0 D
  59. sqldir = mysql_sql
    - G" J% i, U& _$ R5 U; R
  60. drivername = MySQL中
    * @4 \# Y- c) j
  61. 数据库=测试/ s# t' F6 l. g! A1 [2 ]% A
  62. 主机= 127.0.0.1
    ! [: x! T* D9 j8 N) Y$ a; [
  63. user_name = testuser
    & {2 N! E. w" _4 v; H! I
  64. 密码= my_password
    8 c9 g; ^, o" k' A9 P$ U2 f5 ~
  65. getdriverfunc = getsqldrivermysql
    + t8 X& m" ^7 q$ b+ x
  66. vendorlib = libmysql.dll在
    ; |* `5 A5 [: E/ G) W$ J, ~" n4 i
  67. libraryname = dbexpmysql.dll * C8 j! J3 k' }9 a2 x* L8 |
  68. 积极= 1
    8 i' ?6 C: E8 X
  69. ---例如---- " w* x" y1 r9 a* c; E9 R
  70. -写在0 2.03.04由p wk.linuxfan
    ' V1 J& |, L6 Q# j
复制代码
发表于 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 words2 I# N$ O% b3 S
* m0 f2 N% Y2 C) u7 R( ~4 M( I
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-25 01:22 , Processed in 0.097247 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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