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

2955 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan $ W5 t  S( C- U9 ~% N
8 B* j( n, K1 W

  1. 8 z4 m! e" n# Y+ \# o) k# X+ ^
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    ( v% e; t* e& {2 H9 ~

  3. ) \0 [$ T1 s% u4 ^6 {8 m1 u
  4. ### What we need ###1 D. @9 o  l( X! G8 q# \" f
  5. Naturally, we will need a MySQL server to store the data for us, this document , p: g2 A/ |. @! w, J  e3 k. y3 Z/ p
  6. will not explain how this can be done - there are documents out there for the 3 F9 E; _4 d" x! X. d8 V
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    # ~/ |  N3 o  i7 ]
  8. and a user account (username + password) that has the permissions to do stuff
    / K1 Y9 A. S+ I9 E3 n, {
  9. with the database. Additionally, you will need a vendor library installed on the
      c2 |( x2 R3 P6 T& L
  10. local machine, this came with my MySQL install.
    2 z( T* I" u0 R: v, o* f! Q7 l
  11. These instructions will not tell you how you might transfer your data from the8 c5 D# ]1 Z, [- |  A$ ]$ }2 T
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL: T* j2 R0 s9 ^
  13. database.
    # @- b# R. O2 |( J) C  U3 o
  14. Some users have reported ways to import a SQLite database into MySQL, but at% N- G  Z8 i; f  d% _
  15. the time of writing, there are still too many issues - check the current status2 t3 G, a* \! P0 ]  ~4 ]9 ^3 m
  16. in the TeamSpeak forums if you are interested.2 D7 P: d6 s& B% _$ a
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 w% ^/ l6 d+ p  q6 s& c
  18. Borland was used. This driver can only interface with the client library that
    9 L& W9 F# ?) Y0 q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 c4 q( B% D( t: y4 e
  20. client library - basically all you have to do is to use a 3.x client library as
      V% x4 S. L* U$ e3 ^6 v
  21. "VendorLib" and a 4.x database to connect to.& n- ~1 _9 Y8 v* b) y. p
  22. If you need more info about dbExpress, you can contact Borland./ x9 M" M8 D" D* j8 ?

  23. : B( ?! p. c# Q& X+ m5 z
  24. ### Doing the work ###6 ~' r5 p8 E, i9 l: I8 U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    : z- o, X, Z4 K" p1 i# `
  26. the perquisites right, just open your server.ini file, and add this section at
    4 v; U; j. B& @# V
  27. the end:6 ]3 s" v# ^3 @& B
  28. ---cut here---
    : I! J. i! B4 C8 c1 C# A
  29. [DBEXPRESS]) d. M: z& |1 }  I: _- {
  30. sqldir=mysql_sql
    ; m/ p1 [5 w/ [1 Y: L5 g$ Z. D0 O% n
  31. Drivername=mysql
    ; X8 V+ j3 u. Y9 X; w1 @
  32. Database=Your_Database_Name_Here
    4 \# S: c! \) `
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , S; ~7 L: U" t+ N7 i2 @+ O
  34. User_name=User_name_on_the_MySQL-Server7 W& l* w* ?$ B4 H3 l% J) l
  35. Password=Password_to_go_with_above_user_name
    8 a' r0 Z7 r% i. w6 B' O
  36. GetDriverFunc=getSQLDriverMYSQL
    ; l( @! [0 ~/ z, }: v
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib2 ~; x9 D1 S4 S& ?5 U( ^
  38. LibraryName=path_to_libsqlmy_libary
    7 c: F8 a5 t; }! S& q8 A/ }: I
  39. Active=1
    8 z' Y3 N+ Q' S( G9 F
  40. ---cut here---
    $ ]$ d4 C( i; |; h* n
  41. In my environment (a linux box with a MySQL server running locally) I have:8 j9 o' J6 U( R, x
  42. ---example---
    " z1 U8 a$ A! b
  43. [DBEXPRESS]
    + y+ q. A) M! W4 D3 `
  44. sqldir=mysql_sql- J1 k  R* q6 A+ y
  45. Drivername=mysql
    2 p* U( ~; s: Q# g
  46. Database=test
    / z) x  |! ]2 t+ q8 G' S
  47. Hostname=localhost
    $ x! Z& m' \8 E& X! ~
  48. User_name=testuser# R& b# q7 M3 T; ]4 T7 v
  49. Password=my_password! Y8 q- O. W% u5 U
  50. GetDriverFunc=getSQLDriverMYSQL
    6 `' u( w4 o$ `. k/ T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ' A: s7 r$ i/ n9 k- T
  52. LibraryName=./libsqlmy.so
    + N- q3 h! J/ _1 K' g* ]
  53. Active=1
    # A$ j" J# T! T4 |  j( h6 @2 a2 W  Y
  54. ---example---  X0 x( V: U( G& T
  55. / J- D8 {- z, h4 L0 o
  56. On a windows box, also running the MySQL server locally, it would be:
    * P! T, p/ u; Z2 |& g! A
  57. ---example---
    . P& k4 a9 T9 {. E$ d
  58. [DBEXPRESS]/ s' G: M" Z3 @1 v( L6 W; H
  59. sqldir=mysql_sql
    : s. B2 }4 M- n1 w4 z, p! A
  60. Drivername=mysql
    6 {; k- U" T" o
  61. Database=test( L$ e' A, l% E4 H( y  N
  62. Hostname=127.0.0.19 G" W( _5 z0 m" d' I: ]2 E7 l
  63. User_name=testuser- q# w5 ^& Z6 ]
  64. Password=my_password
    ( E6 Z. Q$ J6 ?  [- Q6 j
  65. GetDriverFunc=getSQLDriverMYSQL
    # r! u: m4 k/ }  T: v2 n7 @) T
  66. VendorLib=libmysql.dll/ y0 b/ X: L0 t; P( w
  67. LibraryName=dbexpmysql.dll' F( ^2 P: H* |5 m8 ?; |
  68. Active=1
    6 O  f$ l' z9 V# w6 U
  69. ---example----! H+ n1 ~  i8 ?4 Q5 C( ^- y. P
  70. - written 02.03.04 by pwk.linuxfan
    8 i4 y; V+ K  N0 |) O- w7 a; P
  71. , D$ f8 F$ g1 D- x: h) R
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' k& D' F* I9 T$ i1 ^4 j' Q; a

  1. 1 E; B  G$ y- n( T' |6 m
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ [0 r9 e- h7 i# A, k

  3. ! k# g, P& l! U- h% d. {
  4. # # #我们所需要# # #
    * e- D& f) v1 e; h4 B7 P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    : Q1 ]* H! ?6 E: V+ {. Z+ j" I
  6. 不会解释如何做到这一点-也有文件存在,为' u% ^. m5 w8 H
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用3 h* }/ g+ \5 a( V" R, ?* N. J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : O, A5 N2 Z4 J$ a' X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    2 r; q2 f; K% S* K% N; @, l  k
  10. 本地机器,这是我的MySQL安装。
    6 l0 v5 {, n% n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    0 R, ~( p0 _6 ~# t% ]% w1 Y/ K1 i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    7 V& h  ?3 `5 q( H: C/ e  z! h
  13. 数据库。
    7 q9 E9 ^; X, C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    % }( M% Q: \# W# u% r# H. G9 ~
  15. 编写本报告的时候,仍然有太多的问题-检查现状6 G$ R& t. [. d+ d$ ], Z
  16. 在teamspeak论坛,如果你有兴趣。 ! P3 t/ l. U, G0 k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' N0 e. I* n. Q$ M
  18. Borland公司使用。这个司机只能界面与客户端库/ [/ J2 w) W  H/ X
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这$ L9 T. v  M# W2 e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    3 \! h/ S, N5 D  c# B* E, Y! ]
  21. " vendorlib " ,并解数据库连接。
    , ]& t6 P: i+ H8 S, M3 Z! E
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 5 ^7 ^1 O. b; N0 b7 i

  23. $ O; u" Y1 ~% |. {
  24. # # #做好工作# # #
    : L( l5 @! Z6 m, V  k: w
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ; Y1 j. b& k' i( D1 Y& E
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    4 I6 u9 ^! ?. y
  27. 结束: . I+ ^. M2 e2 |2 |( @2 f
  28. ---削减这里--- " [4 A; ^- a  B$ Q$ u' M( f
  29. [ dbexpress ] ' K7 e  B8 A: b9 z8 m4 D. O4 k) L
  30. sqldir = mysql_sql
    / q& h4 d, N9 P/ A
  31. drivername = MySQL中7 d9 ~- Y3 `1 w& I, E; }
  32. 数据库= your_database_name_here
    * `" w0 v, p% Z  A* H5 G; s
  33. 主机= the_pc_the_mysql - server_is_on
    , u5 s  ^4 k% |
  34. user_name = user_name_on_the_mysql服务器- R3 }$ @% V% r& G" a7 |0 |0 N8 g
  35. 密码= password_to_go_with_above_user_name
    5 y3 C* K  c/ N+ ~+ E
  36. getdriverfunc = getsqldrivermysql 9 D4 h/ C0 a1 u* @! M( [8 M
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib * U$ t* Z. Y& d# V
  38. libraryname = path_to_libsqlmy_libary & R: t& Q  x: ]. U2 d
  39. 积极= 1
    7 x$ Y; O; Z' }" f) F( K2 Q1 h* l
  40. ---削减这里---
    6 d# J7 [8 g; e2 Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      L% W! T1 Z  z/ W4 _* B2 y5 f9 ]
  42. ---例如---
    0 `6 e' g2 f3 V# x
  43. [ dbexpress ]
    1 E$ ^' u- h% ^( N) t
  44. sqldir = mysql_sql
    : r6 _* ~! O+ y4 l
  45. drivername = MySQL中
    4 s% l$ j* _4 o+ n5 Y1 S, N
  46. 数据库=测试0 D' m! A" T3 b) ?+ Z9 k
  47. 主机=本地主机" [6 o: ~8 f% F7 @0 {
  48. user_name = testuser ; u5 T7 v) a. K/ |
  49. 密码= my_password
    9 W# A1 F8 I- g9 q
  50. getdriverfunc = getsqldrivermysql
    5 e* ?' O" Y% ~. \* z
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    $ F2 c- {  p3 x& D
  52. libraryname =. / libsqlmy.so ) g* l& X7 ~, T9 M2 s1 N( v  Y* a
  53. 积极= 1 / b2 {1 m& D3 @( W
  54. ---例如--- . X2 R2 j8 y5 G" R8 n

  55. ( H. _6 Y$ a/ x
  56. 对Windows中,也运行MySQL服务器本地的,那就是:   y6 r1 C, V8 `; f7 W  T" I+ ]* Z( z
  57. ---例如--- 5 k* x: y+ g  X; U8 N! y- A
  58. [ dbexpress ] " ?  K; N# h% t  z" Z
  59. sqldir = mysql_sql 0 X$ e# W' j. ^. R2 ^' S3 d/ ~$ T
  60. drivername = MySQL中
    7 y3 r: c1 p5 i$ {, L) [
  61. 数据库=测试
    4 F: O- I7 a' w
  62. 主机= 127.0.0.1 % s" H( r+ L0 f6 \7 Y& M- @
  63. user_name = testuser 1 v7 T1 W1 ~( K/ E, }
  64. 密码= my_password
    & K8 L5 M3 d8 a9 d! C4 R
  65. getdriverfunc = getsqldrivermysql
    8 M0 L' F2 T- _0 f
  66. vendorlib = libmysql.dll在. z; V6 v; I8 M$ t1 ^+ f
  67. libraryname = dbexpmysql.dll 3 p3 [/ p# ?0 `0 R4 n2 Y
  68. 积极= 1
    4 W. _- R9 K! m0 @2 ]
  69. ---例如---- + G- H5 e1 A1 W! ]( V# a
  70. -写在0 2.03.04由p wk.linuxfan
    ' g& N8 S! @0 w) M# a
复制代码
发表于 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$ `  ~& Z7 d( s; s8 D2 s
* _3 g. L4 |* }3 P8 Z5 B3 k
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-30 18:12 , Processed in 0.102689 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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