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

2945 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
% E$ ]4 V1 K2 {# h  {  w* Q: b2 c" J: D2 i- }
  1. 2 `9 P* v4 w# c* b
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    7 X1 R8 I' @+ O2 `& t3 a% ?1 c

  3. 3 D) a2 ]0 n; X! }  F: l# R
  4. ### What we need ###
    + b% p" F+ P2 Y9 _* q
  5. Naturally, we will need a MySQL server to store the data for us, this document
    1 S6 ?! Z4 S' ?1 J- A* G" G
  6. will not explain how this can be done - there are documents out there for the
    5 j: G- d1 V. C: R
  7. interested. The requirements include a (empty) database for TeamSpeak to use& y6 L" u) X- S/ b
  8. and a user account (username + password) that has the permissions to do stuff
    : L- L+ q9 B% n, }
  9. with the database. Additionally, you will need a vendor library installed on the% O6 `9 |% O1 B5 g2 M$ x  I
  10. local machine, this came with my MySQL install.
    3 Q2 ~( A  h. w( {! _
  11. These instructions will not tell you how you might transfer your data from the: G' L6 l( I5 _* p2 I' U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    - \' ?/ r1 ~2 K) {/ P; [( z! N
  13. database.
    - E1 a1 \% l. T/ y7 f' g* N4 r
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 n" W6 |9 s7 M4 j( e9 c: Q
  15. the time of writing, there are still too many issues - check the current status& x1 \1 K5 y0 c( i
  16. in the TeamSpeak forums if you are interested.9 ?- t1 [% Y, F  f$ F6 D5 X% h7 O% ~+ \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from2 B* q! s! B1 J0 I( O% ~! @8 P1 {8 K
  18. Borland was used. This driver can only interface with the client library that + g+ F) P' R. h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this( c2 u1 f4 N+ @7 `0 |& S$ ^
  20. client library - basically all you have to do is to use a 3.x client library as
    3 p6 s( K% }9 C1 X) u9 E+ a
  21. "VendorLib" and a 4.x database to connect to.
    8 ]5 Q# e2 W( S
  22. If you need more info about dbExpress, you can contact Borland." e0 [$ f. h. ^" J% [; g( }

  23. ) |* N; X  H) r1 V
  24. ### Doing the work ###8 L- r* Q1 r, l9 J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ G8 C/ J" q2 }4 ]( C. Y" N: O
  26. the perquisites right, just open your server.ini file, and add this section at
    8 W8 s' s9 `9 }
  27. the end:
    ; z/ G1 O7 j8 g/ a
  28. ---cut here---# X2 X/ o: V4 A' s& A$ D& N, Y
  29. [DBEXPRESS]9 j6 V; J% U8 z" ]' x0 t% w+ T
  30. sqldir=mysql_sql
    5 h' A( A0 B( B7 t+ k$ L
  31. Drivername=mysql* U# C! x, V# v% V2 M
  32. Database=Your_Database_Name_Here: ~; U9 [) P6 {* G7 [
  33. Hostname=The_PC_the_MySQL-Server_is_on3 V* V7 O9 A0 O$ N5 G) n* u/ w
  34. User_name=User_name_on_the_MySQL-Server3 x. f# k) A2 W1 t
  35. Password=Password_to_go_with_above_user_name4 K/ F% X4 m1 v/ }
  36. GetDriverFunc=getSQLDriverMYSQL
    8 B- \. r& {( C9 M: J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    1 V4 Q" r) e; v- @7 k  u
  38. LibraryName=path_to_libsqlmy_libary
    & m. X8 V: f* O9 \) f
  39. Active=1
    6 R+ z% ?6 O' V: v
  40. ---cut here---* O8 t' T1 Z/ R; E
  41. In my environment (a linux box with a MySQL server running locally) I have:7 g- W# _: t3 L: H5 R# C
  42. ---example---
    : y* G7 V/ z* h3 O
  43. [DBEXPRESS]
    + O+ F& p$ p' H
  44. sqldir=mysql_sql
      s4 [7 M+ [% i$ X- z' W4 V  d
  45. Drivername=mysql5 r3 Y! y( j% P
  46. Database=test
    % I) G8 m. h& K6 J
  47. Hostname=localhost$ \9 W! C8 g7 A7 S) q
  48. User_name=testuser# B% ?& d' O% {; L" A
  49. Password=my_password7 l; P# o: ~- A7 c. |
  50. GetDriverFunc=getSQLDriverMYSQL" v( t1 ~6 N7 |) t$ d" v# t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    % f; v" X" Y( W1 N. W( r
  52. LibraryName=./libsqlmy.so
    / B& D; d  q' {$ M& ^1 N; H/ Y8 j
  53. Active=1
    ) d; A5 F, I, P+ }9 K
  54. ---example---
    ! ~& J) `' s* |; [. y* o/ M
  55. ' ^3 t1 a/ K9 U
  56. On a windows box, also running the MySQL server locally, it would be:
    & O- m5 O. l7 V2 g$ _
  57. ---example---. ?7 C5 b5 A# W2 V8 g
  58. [DBEXPRESS]
      I( f& H) P. E  f
  59. sqldir=mysql_sql
    - B; ^2 \  e+ e
  60. Drivername=mysql: |# G$ l/ |: ~; Y( k0 i1 z
  61. Database=test
    ( n, ]  ?, t. U7 F2 Y
  62. Hostname=127.0.0.1" K" M! _8 |# ~; U
  63. User_name=testuser6 m  Q# B8 j2 O" P
  64. Password=my_password1 S1 c% J' P% a) k1 {6 s
  65. GetDriverFunc=getSQLDriverMYSQL7 g" ]. i2 y  H: c
  66. VendorLib=libmysql.dll
    7 \/ y2 n7 I( c! {$ Z6 y
  67. LibraryName=dbexpmysql.dll
    8 B8 D9 h2 w: P1 D( ^
  68. Active=1
    9 b& t7 M4 _$ {5 X6 x7 j
  69. ---example----6 S2 i/ P' E4 u& ]- ~4 o' U- E% P
  70. - written 02.03.04 by pwk.linuxfan& O3 {6 L9 l% d) H' s9 d+ z9 W3 J: Q

  71. 9 r9 N: @! r% f' _/ x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' S4 ^! C( Y: m. ], p' ]3 ^+ y
  1. 3 h! h) j. V- @5 N5 c/ j9 Y, F$ C
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ; q8 E. G+ C4 [2 X( `+ J

  3. $ [9 f4 |5 S9 N2 [, s& _  P$ f
  4. # # #我们所需要# # #
      p8 z, x8 |; z* c# n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . K- J, t( Y, M
  6. 不会解释如何做到这一点-也有文件存在,为- ^; C" C9 {, i( i6 U! [& N5 X
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用( C) u2 T7 h0 L/ j. o1 ^
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 Q( c# Y! I5 Z. B( \* _
  9. 随着数据库。此外,你需要一个卖方图书馆安装于5 J" J7 Y+ f; u% L" |
  10. 本地机器,这是我的MySQL安装。
    - f0 f( S# G( Z
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 w9 k- d# F9 u& n0 z6 [0 i4 X
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ; }/ R5 {# K. Y" Y& y5 [
  13. 数据库。
    2 `" ?( ]4 w- @* A, }
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 [) O' Z: t2 S0 [6 c$ D6 L& F: P7 O
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 |- P# m& B# [' f; ~8 P$ @
  16. 在teamspeak论坛,如果你有兴趣。 . G! w& Y" J- H" A9 q( t4 o1 |' {
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机# |: }9 [; H) g
  18. Borland公司使用。这个司机只能界面与客户端库6 f/ L- P" `6 e* T
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 a5 X7 ?- c8 M) b6 e# {. A4 l# [: ]
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & w, ?0 x. l' l9 L5 @/ n: D
  21. " vendorlib " ,并解数据库连接。
    8 z/ S# f4 B# D0 ?3 I
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 - Q6 w0 a( w  Z" W) ]
  23. & c( A$ S) f8 {+ o' x
  24. # # #做好工作# # # 8 ^- ^, {& i+ O
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都' H" w* i. k3 B
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ' U$ c8 L- ]$ U# I6 S" e3 S
  27. 结束: 2 V1 d) o7 N5 M1 ~7 C
  28. ---削减这里---
    " [, {! k6 k* J, o, z/ S
  29. [ dbexpress ] # q$ v/ M' B, O" D! H$ x0 |
  30. sqldir = mysql_sql
    3 I% c9 r! N+ P
  31. drivername = MySQL中+ l# L! ?5 a! V. H+ B% K, U' r
  32. 数据库= your_database_name_here
    ' ~4 r  k5 D0 ?4 |  L% ?1 I
  33. 主机= the_pc_the_mysql - server_is_on & d, S! {$ e* e) o
  34. user_name = user_name_on_the_mysql服务器9 }5 q7 Y+ z! i( b
  35. 密码= password_to_go_with_above_user_name
      G$ U9 I" F( _1 L
  36. getdriverfunc = getsqldrivermysql
    / L- {; S) Z: {# `; y5 n& |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 m' I* I% X! Q; U; u" |. w
  38. libraryname = path_to_libsqlmy_libary
    ! j5 E+ ]1 G) a3 {) {5 [, I
  39. 积极= 1
    ( ~5 D& b8 h: W: |( c3 ]" _$ N5 E
  40. ---削减这里---
    ' U2 R$ ~3 o0 L. d+ r) \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , b4 f, q3 ]$ c% L# f
  42. ---例如--- 0 z7 i; W4 u' m: [, o
  43. [ dbexpress ] , i# _: x& a5 f, v4 V
  44. sqldir = mysql_sql
    5 E, o2 o. i: i  l+ _/ H1 N
  45. drivername = MySQL中
    3 o! Y/ Z! A7 P; j; {& p
  46. 数据库=测试3 m( |# H' _3 J, W* m
  47. 主机=本地主机! D- a4 f0 k" y# }4 h, P! q# c
  48. user_name = testuser
    ! c4 {" ~7 J! Y, c$ C4 W4 Q
  49. 密码= my_password
    " F6 G1 T* s, N8 F6 B& I
  50. getdriverfunc = getsqldrivermysql
    6 h+ ]0 s% W4 M6 l% v0 H
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      j7 z8 m& K' z! y5 i0 B
  52. libraryname =. / libsqlmy.so 2 ~0 P* m4 d! w+ s& g' z, D  j
  53. 积极= 1 $ ?4 ^4 G6 }4 V1 K3 j4 f1 w
  54. ---例如--- 9 x: H+ E& h. ]

  55. . p/ w3 {; H7 l6 o
  56. 对Windows中,也运行MySQL服务器本地的,那就是: + r: f- |4 r. \) u* p) h, B9 \+ `
  57. ---例如--- 2 M6 z& u! i, P" d
  58. [ dbexpress ] ; e3 N* i9 V5 f; W
  59. sqldir = mysql_sql ) H3 B2 R7 p+ W9 ~5 S, f2 \; N
  60. drivername = MySQL中
    1 ~) u4 ^* [) d4 D. z- x  X) m
  61. 数据库=测试
    # e" T. U- R' v
  62. 主机= 127.0.0.1
    ( A% P) v8 L2 P- m: H2 R
  63. user_name = testuser
    & g4 @. P# P% l3 A: @) C5 p
  64. 密码= my_password - {; S& I/ B2 d. Y3 @7 [% e* T7 F
  65. getdriverfunc = getsqldrivermysql 6 D: D% G7 |. w6 t0 _. v
  66. vendorlib = libmysql.dll在
    6 j  @8 f  S; C1 v! h! r1 W/ y
  67. libraryname = dbexpmysql.dll
    $ x. i$ g$ g0 Q0 p6 i  P. _
  68. 积极= 1
    ; o. I0 |/ d: ?
  69. ---例如---- 3 }( s, F1 K$ i1 m  e2 B! |1 X
  70. -写在0 2.03.04由p wk.linuxfan8 {$ b) G! O4 g7 i# k
复制代码
发表于 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
6 @) j3 w3 G1 w' |0 F1 @" U1 I) x
4 J( H  j: A8 @0 }: ]  a) F; vbut, 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 22:14 , Processed in 0.094021 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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