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

2829 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 6 g* H/ ^. U: v# i

) v% Y' Q: m% k6 R9 X# k

  1. - N9 |& ^" D1 B8 x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    6 `" c, s2 ]* V" A
  3. * R+ W1 Q5 x- v: E+ Q* i
  4. ### What we need ###0 `2 S1 t& x; P6 i
  5. Naturally, we will need a MySQL server to store the data for us, this document
    * c% Z7 w9 o, A9 u+ |
  6. will not explain how this can be done - there are documents out there for the . D( _/ `' a8 _+ i' b; H; A- [: J: s
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 [5 p' a% l9 k" _
  8. and a user account (username + password) that has the permissions to do stuff
    7 R+ D- ~7 n* s* s8 V) J
  9. with the database. Additionally, you will need a vendor library installed on the
    - j8 A2 ~' g- C5 @" b: Q  \0 U
  10. local machine, this came with my MySQL install.6 }7 M5 ^* @  u* c: |( c
  11. These instructions will not tell you how you might transfer your data from the; g) v7 U7 X& M  t( z0 Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 ~) A5 G* d. G+ t+ {
  13. database.& r  [9 ~5 X5 B
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    5 D$ Q5 s5 c2 Z* C6 V
  15. the time of writing, there are still too many issues - check the current status' L- C( k& [' H; Q$ k9 V
  16. in the TeamSpeak forums if you are interested.
    9 Y$ q5 e' }' g" f& o
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ v* O/ V, H5 V& j* T7 M
  18. Borland was used. This driver can only interface with the client library that 2 l+ L4 v4 n8 m9 x9 \+ B: a6 w
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this+ T0 {  e/ x& r2 n) C
  20. client library - basically all you have to do is to use a 3.x client library as
    0 ^. [3 r% Z2 u, ]/ s  m! B; Q/ u
  21. "VendorLib" and a 4.x database to connect to.  q# s# ^  x% z, l
  22. If you need more info about dbExpress, you can contact Borland.' Z- W9 j) Q6 y
  23. 9 e. F1 r, X# y$ X! o9 S4 D6 Z2 I
  24. ### Doing the work ###3 l# U) o; `/ d; _
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all2 i. I; K/ H1 e" R6 X1 D0 B
  26. the perquisites right, just open your server.ini file, and add this section at
    5 _7 H0 W, v9 J5 j4 Q7 ^
  27. the end:
    1 N. u* ~4 v3 d' z6 w
  28. ---cut here---
    , t! k! t% q) Z/ S7 y7 }
  29. [DBEXPRESS]# C2 Z) e- N  T2 b) g
  30. sqldir=mysql_sql% F* o5 J: S/ e9 O3 Z9 X1 v# J
  31. Drivername=mysql" X# z* F1 k% q4 k% s
  32. Database=Your_Database_Name_Here
    4 B' q1 G: k8 M) r& P
  33. Hostname=The_PC_the_MySQL-Server_is_on6 O) A8 \3 T, L2 \% E
  34. User_name=User_name_on_the_MySQL-Server
    ) W, o2 H' l9 E  P( Y& ~
  35. Password=Password_to_go_with_above_user_name' q% b( J. t! ^2 H
  36. GetDriverFunc=getSQLDriverMYSQL
    ) Q. ?" t6 \5 Q3 M7 L: ]4 J# X
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ; q3 q2 L; G# d9 A5 C4 c4 z6 {
  38. LibraryName=path_to_libsqlmy_libary
    / p" t0 c. b1 f& b% |2 B$ H- S
  39. Active=16 Q# K  V- r! m: M0 Q$ J2 G
  40. ---cut here---+ T9 R7 _" a& _- |8 R. ~" G* \6 Z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ' ^, P- }3 _  c2 K) Q: J
  42. ---example---; H# K7 b" @8 K- m
  43. [DBEXPRESS]& B  a% ]% d$ j  Q0 m, L" l
  44. sqldir=mysql_sql
    : d9 v  @( a7 Q7 L: u! S! \  a4 {
  45. Drivername=mysql
    1 t( P2 [5 F9 ]; s  j) e. P
  46. Database=test
    6 Q& m% g& C& ]- u
  47. Hostname=localhost# d  {8 U, L/ ]3 @4 z  M3 L
  48. User_name=testuser- z6 B" I9 `  ^: ~! v# Q
  49. Password=my_password: p; y: g8 `- P2 O9 X1 ?
  50. GetDriverFunc=getSQLDriverMYSQL
    3 C; f# Z, J( v7 R
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) m! x, o( t& m* y
  52. LibraryName=./libsqlmy.so
      D* R7 r8 }# P% u5 v& q
  53. Active=1% s+ r8 ?# M+ O3 W' K4 G+ h
  54. ---example---
    1 G0 y+ K: U; b* d9 t# g
  55. * K3 [% i+ V% A& n3 i
  56. On a windows box, also running the MySQL server locally, it would be:7 ?! Z* q0 R( c
  57. ---example---1 F) P' y, C3 D
  58. [DBEXPRESS]; O1 g$ s- q' O+ Z' {
  59. sqldir=mysql_sql
    & n$ K' u& p+ E0 _9 y
  60. Drivername=mysql
    * @* m8 C9 V9 i* T
  61. Database=test7 _" T3 \" t. u9 R9 {# X9 k' a( x
  62. Hostname=127.0.0.1) f, Y) g; n! a  N4 S" A; @  v
  63. User_name=testuser
    ' k7 n1 o7 p0 d3 y$ d
  64. Password=my_password" I% B: M. n9 W% S8 {: ~
  65. GetDriverFunc=getSQLDriverMYSQL
    + d+ I- i; Q$ i" ]4 Q0 s% |
  66. VendorLib=libmysql.dll
    # }" g8 R  u4 ]+ I6 N
  67. LibraryName=dbexpmysql.dll
    , Q" x6 Q" k& Z" q0 ~: m9 L* \1 X; I
  68. Active=14 x9 u* a: z# I! E/ f% K1 Z+ X
  69. ---example----  \0 ?7 t, z  J3 o
  70. - written 02.03.04 by pwk.linuxfan; }9 J& q/ _2 I1 I* C

  71. , U- \8 z$ r  y" V
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) `+ s5 j9 s% H

  1. . k$ E8 {) L- F- S, p: i, `/ N
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / k% O5 d6 @: ?3 ~" N) I" t
  3. ; C3 x+ _5 ?! S1 V9 k6 ?
  4. # # #我们所需要# # # # W( L4 T2 E( L* o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 ]8 s& r) E# H- U( h: O5 G
  6. 不会解释如何做到这一点-也有文件存在,为
    ! M0 _% ]5 W+ H3 H9 l1 S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ a' ?' x: V0 a" ?' W' Z$ {( p1 f. u8 N0 c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% U( ^, s$ T% p. R
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    , d. n8 @. p9 N
  10. 本地机器,这是我的MySQL安装。 " _4 m) ^2 g7 V
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从* X7 i  _  K! e' f! L! X
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 0 ^2 I9 M' B3 M' z
  13. 数据库。
    / s% l& G7 m9 b- n$ r- }0 h% n
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在1 P6 i4 l+ m6 U
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    , \; H& ~2 r$ J/ N( d; ~
  16. 在teamspeak论坛,如果你有兴趣。 4 D& V9 ^0 X( w) x
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 v# o5 {1 ]" ^, n  e8 Y* Y
  18. Borland公司使用。这个司机只能界面与客户端库. z' ?6 b' J! h* v$ l
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    - F' G+ g: K7 j/ |5 U$ e/ l
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 U+ I" g0 P+ G; e" @
  21. " vendorlib " ,并解数据库连接。 6 ^+ J0 K% `" t) \( f
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 c' J9 ~' p- x4 ^0 e/ m' D
  23. - t& N4 P  _8 g
  24. # # #做好工作# # #
    ' |* Q. x8 I$ ?" C/ h: D3 F5 T& c- v
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 l' v* ^1 @/ I- |3 c; R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在4 @8 H: z' `( e# \( t& n
  27. 结束:
    ( k) y8 j" `! l+ F  G2 A6 {) ?
  28. ---削减这里--- ; G# N8 V# v6 @3 A
  29. [ dbexpress ]
    ; o3 E- q$ h/ z& B9 D+ n8 a3 h
  30. sqldir = mysql_sql 9 z  [. X; x$ g! k
  31. drivername = MySQL中
    * I9 a* h3 B& A* T5 }( N
  32. 数据库= your_database_name_here 1 z' c8 `3 Q# ?, H7 o1 P
  33. 主机= the_pc_the_mysql - server_is_on
    # r1 Q% r. Y& t3 {2 Q, S( [
  34. user_name = user_name_on_the_mysql服务器
    ! P1 Q# z; K! X) d
  35. 密码= password_to_go_with_above_user_name
    ! G7 K2 E! m: R5 |, X% B
  36. getdriverfunc = getsqldrivermysql
    ' u# c7 F( r; T# b, V+ A3 t) k
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    6 U- p  N. p* g5 h, |# j3 D$ |8 s; @
  38. libraryname = path_to_libsqlmy_libary 3 h( w2 n7 p, w6 x. g1 Z$ C8 M
  39. 积极= 1 ' c7 E' t1 }1 O4 V! Z& N: Q
  40. ---削减这里---
    * g% \" U) K6 j3 _8 G$ y. Z( _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    " O$ P" M7 O$ ^/ Y
  42. ---例如---
    % I6 E0 {' p* i& Y
  43. [ dbexpress ] " \9 ?5 G1 v+ l5 C
  44. sqldir = mysql_sql
    - N! }# h. L* Z/ o+ s4 A2 }0 n
  45. drivername = MySQL中
    , Z7 J! e+ o- c  `: H) I8 H5 [
  46. 数据库=测试1 D8 x& W' Q) |; o
  47. 主机=本地主机
    & o1 ~+ p: ?; [! H$ B% a- x' Y
  48. user_name = testuser
      |2 D8 z5 ^! ?# \: [: u* d
  49. 密码= my_password 4 T$ f1 q. k' E% z* l9 J
  50. getdriverfunc = getsqldrivermysql
    $ M8 E: o* E( {' g5 a5 Q; k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 6 ^% r/ `% C6 H- k2 l. A2 u
  52. libraryname =. / libsqlmy.so 4 J, l1 h0 D1 ^) k; ]
  53. 积极= 1 4 V) a" P1 x# z
  54. ---例如---
    0 H$ c2 \* n, ~( _
  55. ' t/ ^& }7 c+ e% U
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " i3 b! {3 v. m( H, y1 S0 W3 R
  57. ---例如--- $ y' m1 |9 t; r( L- v6 ]" u7 B
  58. [ dbexpress ] 1 Y; c' b, b& a7 [& L# Q/ b* O* X* ^' m
  59. sqldir = mysql_sql 6 u: C! O3 i4 l9 A3 B- X
  60. drivername = MySQL中
    % j$ o6 k/ A0 `" s
  61. 数据库=测试
    " U9 Q: V1 [( n/ D
  62. 主机= 127.0.0.1
    * B. b" N+ H; Z
  63. user_name = testuser
    ( b7 m6 e$ j9 G" E+ W' |6 ?/ @. Z/ q8 I
  64. 密码= my_password 1 c" i" V; W5 y$ c) P* u/ q6 {
  65. getdriverfunc = getsqldrivermysql 8 l1 l3 J. y- s
  66. vendorlib = libmysql.dll在9 W; s- B! F1 J1 Q/ Y' Q
  67. libraryname = dbexpmysql.dll
    7 C: U- V' `" p' b3 G+ ]& z; \
  68. 积极= 1 / W9 ?% o: ]7 B9 z
  69. ---例如---- 1 |! V3 T7 F# o! ~* e, [, H7 e, e
  70. -写在0 2.03.04由p wk.linuxfan& t# }. h1 {0 X" A2 y- M6 K: S+ x1 e
复制代码
发表于 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
( \8 J$ M/ P& o6 E% l1 v4 o! o8 l  F& E* h# X0 _* h
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-1 20:08 , Processed in 0.097319 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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