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

2383 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # n2 U9 |! |$ e- `  m

  Z! v$ F3 b0 \2 Z- r5 |5 H. k
  1. / ^# w" G: C$ {8 H9 Q# A
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - W; r* ]9 D3 Z, a( N( e

  3. . D5 b8 A& P: |) B" `: |
  4. ### What we need ###
    % ^( L8 r/ K7 D0 r  l
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ c, ^) m. v% t" ]% w. k  C+ r! T
  6. will not explain how this can be done - there are documents out there for the 5 ~: R  |" M( a: w. ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    5 R; N* q5 M* C/ F. I8 J) `  p  L
  8. and a user account (username + password) that has the permissions to do stuff
    ( @  O/ v% Y* Q  r1 e" ~& l* o! U: d
  9. with the database. Additionally, you will need a vendor library installed on the
    4 N1 w" y) t% E6 |
  10. local machine, this came with my MySQL install.: F8 m! i% |, d/ U( N6 H7 ~, W7 N
  11. These instructions will not tell you how you might transfer your data from the/ e, v. d! x8 [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL! w. c. p% h4 K' f# x; M
  13. database.
    5 W6 e0 n7 }9 x+ x1 \9 J$ d4 k, h
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    * g0 H' c* ^' V3 y( I1 a. c
  15. the time of writing, there are still too many issues - check the current status. R$ l. l% p$ q# g5 a
  16. in the TeamSpeak forums if you are interested.2 C; R9 H+ |7 B) o6 F" G8 s
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; B0 w/ A! r* x# P8 V" z
  18. Borland was used. This driver can only interface with the client library that ! ^0 b7 G% n% Y- r; k
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " c( f# ]7 K# R* y9 O
  20. client library - basically all you have to do is to use a 3.x client library as
    ( H9 }$ v3 l/ i+ W
  21. "VendorLib" and a 4.x database to connect to.
    7 t- A% E1 G9 e) A" ^; h+ s0 |
  22. If you need more info about dbExpress, you can contact Borland.
    - ?+ [/ w. a  q- u' Z+ [% M
  23. # i" d8 b: S' t! z/ G
  24. ### Doing the work ###9 W- I1 q5 c/ w) y/ ?
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ `" H: g* d4 `: t
  26. the perquisites right, just open your server.ini file, and add this section at7 s7 }8 ^2 y3 r
  27. the end:3 L; r) o/ u; |% d: C3 P' Y9 L/ D
  28. ---cut here---
    3 F1 l3 O# A5 i6 }2 I
  29. [DBEXPRESS]) F2 v( B0 b0 z5 @
  30. sqldir=mysql_sql
    * s5 \) O: F: G! [+ F- \
  31. Drivername=mysql
    ( p& Z5 m2 N; |  y* a" a+ i4 z
  32. Database=Your_Database_Name_Here
    / _: F" z7 o5 g5 ~% K$ l. S6 I
  33. Hostname=The_PC_the_MySQL-Server_is_on5 h6 a2 h: E: H
  34. User_name=User_name_on_the_MySQL-Server) t- y8 [+ V7 C; ^4 m; ]6 D1 e8 I
  35. Password=Password_to_go_with_above_user_name% B9 A! o* M1 X* L: J8 z
  36. GetDriverFunc=getSQLDriverMYSQL1 ^# s4 q5 i; o0 N. v5 n& v+ A
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 H. E! i8 k! k6 I( O9 U4 V5 R
  38. LibraryName=path_to_libsqlmy_libary
    0 b3 s; \5 _) p" o1 C
  39. Active=1
    . C' T0 T/ }4 l0 g2 ]
  40. ---cut here---
    $ e. i: V. [. }4 g' j# Z2 ^
  41. In my environment (a linux box with a MySQL server running locally) I have:
    7 U( n2 S! w2 S" H0 \
  42. ---example---
    $ f2 {4 J! q1 m% d7 r
  43. [DBEXPRESS]
    * o1 t8 `' ?; r3 O- Q2 T# Q
  44. sqldir=mysql_sql
    3 t2 G* `! h6 ~  q1 @
  45. Drivername=mysql
    4 z) u7 c2 e: j6 V6 d$ H- q
  46. Database=test
    ; m7 k+ m8 u) P/ U! ], C
  47. Hostname=localhost
    2 I( j9 ]" W1 _0 a; d+ r, o
  48. User_name=testuser
    3 [& w$ F5 J7 ^' f
  49. Password=my_password
    5 Q9 i  I/ c+ i2 |
  50. GetDriverFunc=getSQLDriverMYSQL
    & I# A- l& j2 v, f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 O# H. T1 c7 ^" Q  {& D
  52. LibraryName=./libsqlmy.so' G  _9 P- f3 G* d4 q
  53. Active=1+ l9 e3 H' m: p
  54. ---example---
    % a: S! r+ U' k6 M0 z( E; A# x* C3 \
  55. * H: k/ d3 w$ y) x( Q
  56. On a windows box, also running the MySQL server locally, it would be:
    ; H. `- [/ i0 ^
  57. ---example---4 Z, Q# l# A3 e: Z5 _
  58. [DBEXPRESS]' B2 I8 E5 p' _. [& q) v. O6 c
  59. sqldir=mysql_sql' r7 R5 q( t6 J1 y7 R7 n
  60. Drivername=mysql  J5 c- P" \7 u- M* X% i- h9 M
  61. Database=test
    # g. u' O1 \" W# H
  62. Hostname=127.0.0.1
    : p, ?5 ^& q% |! y/ U1 W7 L, [
  63. User_name=testuser
    % h  x/ U. w& m0 ]
  64. Password=my_password
    ; L3 j2 E7 ~9 b' S1 i9 [
  65. GetDriverFunc=getSQLDriverMYSQL" t( V0 I4 W3 I, d- a! `/ |
  66. VendorLib=libmysql.dll7 D; q, o5 w' H) x1 `+ W4 h+ t2 f  f
  67. LibraryName=dbexpmysql.dll
    ( e$ I& X6 K% l( H+ q! \, ^
  68. Active=12 R5 O  d& O# @: @( e- I
  69. ---example----/ ^, f6 [7 O% n6 |/ c
  70. - written 02.03.04 by pwk.linuxfan0 o, C0 |% a+ t. l# |$ `/ [9 P

  71. 5 J% Q! R9 ^# }/ y( i3 S) v3 H+ _! E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
4 \% Y9 x6 K8 M* ]. a2 h
  1. " E# Y% w- q# ]0 e7 k; e+ `6 l
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 o/ V. m# ^$ d
  3. ) k- D1 _! ~, I8 t
  4. # # #我们所需要# # #
    - s7 [$ O6 P* [8 B: \# \" f
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( c5 a2 F; |/ Y: D
  6. 不会解释如何做到这一点-也有文件存在,为9 T0 E- Y6 Q, z2 V! n5 x
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - C- q/ r& y/ r8 Y2 e5 M
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西# T( K, W8 F6 S$ Y! Q+ h
  9. 随着数据库。此外,你需要一个卖方图书馆安装于0 ~! o  j- H. i% ^9 w! f
  10. 本地机器,这是我的MySQL安装。   }3 \/ W7 z0 @" T# O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从& `8 d  c; b1 q+ r- {
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ) S6 _( N. J( W
  13. 数据库。
    7 v* q% f8 W% P
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * H# I6 {* W5 K8 S- l. M
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ S0 U# y/ m: c, ?. ~
  16. 在teamspeak论坛,如果你有兴趣。 * f- H# V  O& a8 Z9 c4 J" g7 s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' }  x# d8 L9 O/ ~/ P
  18. Borland公司使用。这个司机只能界面与客户端库( S4 d' g2 O$ M4 d
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这4 F& R8 v) u4 x% a, M4 T4 b1 o
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" N# V9 O  p) n5 x2 I+ [9 `) p' z0 l
  21. " vendorlib " ,并解数据库连接。 5 ?. @5 G7 |+ v* d4 a  \' p, S
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 6 D5 C  G) @4 e

  23. 5 r7 ^. s3 k) v5 L0 V9 R
  24. # # #做好工作# # # 9 k8 r0 [5 t- g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) R: m5 R2 t9 _8 Q
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( g) D4 {9 \  Y8 o3 B9 z' O
  27. 结束: ! c6 }8 ?- H) U" d
  28. ---削减这里--- 1 v( ]2 q! V, z* b' B* ?3 q
  29. [ dbexpress ]
    ' G, n! _$ P0 I1 o2 n
  30. sqldir = mysql_sql
    . T% z7 Z0 o- O3 L
  31. drivername = MySQL中& e' H* x. b$ m. e& E* \6 p3 k" E
  32. 数据库= your_database_name_here
    0 q* c: \% H/ N5 I
  33. 主机= the_pc_the_mysql - server_is_on % V4 T% F) P6 J' j
  34. user_name = user_name_on_the_mysql服务器1 H/ v7 s' n; o% w9 Z
  35. 密码= password_to_go_with_above_user_name # w! r4 {" K* O1 B# k6 P
  36. getdriverfunc = getsqldrivermysql % P& n6 `# ~8 g% E; Z1 Z
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 6 x2 c5 ]  [3 t7 C8 L
  38. libraryname = path_to_libsqlmy_libary
    0 r+ v5 l: V9 |+ j2 M6 |( l) `1 `6 ?
  39. 积极= 1 + L" c+ Q6 p1 b* Y$ N) |# H
  40. ---削减这里---
    3 R, Y2 D. H# h" Z9 y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: $ f' E; h( ^* }
  42. ---例如---
    ' p& _6 t# s" v4 O- ~
  43. [ dbexpress ] ) w2 J: r! C# M1 S* }# p
  44. sqldir = mysql_sql
    & B0 n8 i5 ^  j6 e: t% m( _4 D
  45. drivername = MySQL中
    9 G/ A. m6 A2 h% U8 \8 x& Y  S
  46. 数据库=测试
    ' r7 d/ o0 ?' Z& i7 i8 V
  47. 主机=本地主机% H5 N+ Z- E, p; ?( c& W
  48. user_name = testuser . D: D" y9 y! n$ B$ z" G, E
  49. 密码= my_password ; t! h0 x. F  J, I+ B1 ~6 J
  50. getdriverfunc = getsqldrivermysql ' b) G0 k. V; A- |) z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 k2 L5 r# [$ s9 x; s/ C& x
  52. libraryname =. / libsqlmy.so 7 z5 [: s' L  ~" y% b, N7 m9 @% x
  53. 积极= 1 1 W- F% y$ I% |9 }8 U6 t  N* A3 c
  54. ---例如---
    / I/ {  k5 z' p/ Y6 j
  55. 5 ^  Q5 c: Y6 h0 Q/ k0 G. d
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 j3 R: \2 a  y1 |$ U/ p! B; T
  57. ---例如--- & l( r1 q8 R$ L, c9 y. |! y7 n
  58. [ dbexpress ]
    " A0 y: d+ ~$ q0 W
  59. sqldir = mysql_sql
    , R8 u4 ^7 w# ?% T2 @1 x
  60. drivername = MySQL中
    ) J7 L* B" n- b) i3 z
  61. 数据库=测试
    1 |+ e1 E3 E9 P3 z# f
  62. 主机= 127.0.0.1
    + v  }: t; j( s0 \* H
  63. user_name = testuser
    / }& y$ N: k( d+ ]3 M
  64. 密码= my_password , P5 n0 ]5 T6 R2 Z: d
  65. getdriverfunc = getsqldrivermysql
    0 p$ @6 `% p2 i6 l4 f6 k' q
  66. vendorlib = libmysql.dll在. P& |4 G' `( h# ^* S+ e' D
  67. libraryname = dbexpmysql.dll
    * ?' ~) _3 \( r3 X- p
  68. 积极= 1
    8 q+ p- c  ]" x7 C: f, Z- V9 G
  69. ---例如----
    2 f. t7 c! o* n8 j0 `. w; S5 O$ E" y
  70. -写在0 2.03.04由p wk.linuxfan" v3 a, `& H0 @3 b5 ~0 x* d9 g
复制代码
发表于 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 words1 J, Z# G) ^) x7 ?- x/ P
8 {% D% L+ v% r- ]
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-13 22:45 , Processed in 0.095017 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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