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

2947 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan : D) t! X% ]' n/ J8 _

, M+ |+ A7 v$ ^, a/ i/ r
  1. ; n; ^2 I( X7 z$ N1 R4 J) B& D% l( @
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ####### Z2 r* N) r  m

  3. 1 w1 ^1 g( e% u( {. e; l+ m; E
  4. ### What we need ###& V3 r8 N5 M1 Z& n) f- O  i" y
  5. Naturally, we will need a MySQL server to store the data for us, this document
    ( U8 O: _  K& X8 l8 _
  6. will not explain how this can be done - there are documents out there for the
    ; c( I/ {2 F6 `8 {. w+ l# p
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    3 f; e1 `8 {2 Q6 a9 e
  8. and a user account (username + password) that has the permissions to do stuff
    ! s& ?; Z% r5 @; g/ |
  9. with the database. Additionally, you will need a vendor library installed on the; F; X' _2 `% b* a; q1 @% {8 @9 h
  10. local machine, this came with my MySQL install.& r+ T$ w6 z' Q+ E
  11. These instructions will not tell you how you might transfer your data from the
    - r4 K/ o" C$ P8 \
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 p3 C, @, T) \
  13. database./ i# f0 F! K% P7 y6 q' I0 y/ I$ P
  14. Some users have reported ways to import a SQLite database into MySQL, but at% a) a) j0 t7 [& K
  15. the time of writing, there are still too many issues - check the current status
    7 e7 p; _" A& x( F7 F
  16. in the TeamSpeak forums if you are interested.
    - P, j2 [8 ^! O, V: l) f0 R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from9 W$ y$ R  F; H% Z7 @) t/ k! U
  18. Borland was used. This driver can only interface with the client library that 6 `6 a: E) C6 M0 ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this" q4 o  l  J) P; X9 p* }
  20. client library - basically all you have to do is to use a 3.x client library as
    # O6 b: M) u& a4 s
  21. "VendorLib" and a 4.x database to connect to.+ z0 O2 ]' w# m5 s7 |) F5 b! [% T  t
  22. If you need more info about dbExpress, you can contact Borland.
    : F3 A  B7 s9 x+ ~

  23. . D9 A" \+ C4 l$ h( k' J+ P
  24. ### Doing the work ###" v/ G) a0 T) i- J9 b
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    0 t* v1 O. Q* J) ~0 H
  26. the perquisites right, just open your server.ini file, and add this section at2 R, F: {6 n& T- P
  27. the end:
    , o# W1 Z; d) _5 y2 k
  28. ---cut here---
    3 ?0 W0 v3 _, A, z7 }  E5 {" F
  29. [DBEXPRESS]$ X7 j7 g0 ]  n, {8 S' W) i
  30. sqldir=mysql_sql
    + [; Y+ p" K& d1 L3 p" t
  31. Drivername=mysql/ y7 A# u! }  v0 v" O
  32. Database=Your_Database_Name_Here
    , @  b7 g) |: I; Z& g9 h5 G
  33. Hostname=The_PC_the_MySQL-Server_is_on# R' L- z  H+ A7 I, ]! Q
  34. User_name=User_name_on_the_MySQL-Server: `9 s* T/ o; h0 p" j+ t" k- a: }- M
  35. Password=Password_to_go_with_above_user_name' D  V+ w/ r& \; P6 H5 U2 g
  36. GetDriverFunc=getSQLDriverMYSQL
    8 {' U, j5 {5 O( h7 \" E! n
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    " v/ i- L" z8 m! ?8 `! O! V
  38. LibraryName=path_to_libsqlmy_libary
    9 E" D$ q4 |8 B$ A8 _- }8 R
  39. Active=1
    4 S2 }- `" i0 c
  40. ---cut here---
    ( W9 e$ \  F/ m1 _) t
  41. In my environment (a linux box with a MySQL server running locally) I have:! }$ D; k% o% F  V$ b  \
  42. ---example---
    * @& w3 n- J' ^( j
  43. [DBEXPRESS]: E" D- d" g! k. R6 n( d" P
  44. sqldir=mysql_sql
    & L- r+ j) ~' r  p# ?
  45. Drivername=mysql/ S  O/ x" s& `8 f
  46. Database=test
    * t( o# }" ~) g1 C) w
  47. Hostname=localhost& w' c0 s6 a+ _3 r, Y  s) d
  48. User_name=testuser: V7 m' {! M/ ^- h) W9 b) y
  49. Password=my_password& U+ d# J- J0 A* f
  50. GetDriverFunc=getSQLDriverMYSQL2 @: n$ b+ C' V5 g" M6 Y
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.08 R- i* L2 X  i" q: r
  52. LibraryName=./libsqlmy.so. W' H1 J/ E# R' v7 E5 o3 }
  53. Active=1; g( q7 y9 J" E" j
  54. ---example---/ u7 o3 {7 ~# G# k0 G

  55. 1 w+ e, T4 t  b) X+ Z- {* B$ x+ H
  56. On a windows box, also running the MySQL server locally, it would be:
    1 _* L7 v1 V) A, d% }
  57. ---example---8 x& }' X; b7 H# k* k7 g! X! ]) g1 T
  58. [DBEXPRESS]( A& f3 b9 w8 t2 t" f/ U9 S
  59. sqldir=mysql_sql7 z$ d* v. f, v$ `+ b+ x* j' C9 t
  60. Drivername=mysql
    5 Z" O. R; C' q! O
  61. Database=test
    3 U+ x/ o  l% R4 g3 k, G
  62. Hostname=127.0.0.1
    ' e/ Z; {0 \: q+ P0 ~1 b5 R1 [
  63. User_name=testuser. K  V; V) u$ o" a9 V; ?7 I
  64. Password=my_password
    : [; H6 l3 t1 a8 j
  65. GetDriverFunc=getSQLDriverMYSQL
    7 n- A# `7 B& Y0 U& V
  66. VendorLib=libmysql.dll
    - K% N7 @/ i: b* T) M, a
  67. LibraryName=dbexpmysql.dll  D5 P/ F- T- [9 k( p
  68. Active=1
    / ]; g4 D  r- _' |, ?+ R
  69. ---example----
    % k# s0 _, X" J7 o
  70. - written 02.03.04 by pwk.linuxfan
    / y0 `6 [8 A' t: v: M
  71. : G' C& t9 z* w# ?+ r8 s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看: |. Z5 R- A1 U5 w$ C$ ~' w

  1. ' c* t& W' A9 R% g# }9 r9 f3 V$ Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    9 U5 Z- G& C/ [% b4 D- \/ t

  3. 3 d' `5 [2 I% A1 x
  4. # # #我们所需要# # #
    - F+ i/ M( h9 U; d- o
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件$ f4 `; v: o' S' J
  6. 不会解释如何做到这一点-也有文件存在,为
    1 y( o3 d& c5 V* ^2 C- L1 h
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 W1 ~% u! _7 T: z0 L: b. {
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西% M% K% T7 z0 y1 N/ H- G5 ?
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  I+ z1 X" h" H) c2 Y
  10. 本地机器,这是我的MySQL安装。
    ) o0 ?+ y/ o& ]& w. k, `, w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    - J2 T& @# s7 `, l
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    & a4 D5 a& D3 e( l
  13. 数据库。
    + I1 A' i2 o) u" t) _( f
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; P. ~+ o% g& }3 R
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    " P( j/ H( J7 O# K3 O" A, Z8 p" G- l# J
  16. 在teamspeak论坛,如果你有兴趣。 # W8 D  t* n" x1 q) `/ A: u1 _: n- v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    5 P9 [% M! i+ h0 l% b
  18. Borland公司使用。这个司机只能界面与客户端库
    % O; u/ Z3 _! T" t( S
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ! A# n" X+ q( m
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    ! G# o/ m5 O: W, q) C
  21. " vendorlib " ,并解数据库连接。 , c9 M  m. D( a1 b( ^$ W
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    - b- u8 Z. V9 P: b3 V
  23. 2 V5 I: _2 M* D4 v3 }7 `  n9 \
  24. # # #做好工作# # # * b: Y, X; r8 O  R2 @
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都3 L& Y3 @: T* t' @: v( ^
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在+ S1 b8 x# w$ o7 w% W" Q. l+ v
  27. 结束: . c% x# l$ @1 _# j1 z
  28. ---削减这里--- $ @1 g. V; t" M. E
  29. [ dbexpress ] ; r; s/ W4 q( U8 c0 C; }
  30. sqldir = mysql_sql
    7 q9 Q4 a- Y, }8 s0 m# z2 T
  31. drivername = MySQL中# c6 \3 a6 d$ W4 E5 u' V4 X
  32. 数据库= your_database_name_here
    ) g0 P8 c4 |; x7 i. b
  33. 主机= the_pc_the_mysql - server_is_on 3 n0 W# X- @0 S
  34. user_name = user_name_on_the_mysql服务器
      ~& ]: H9 P. l5 p
  35. 密码= password_to_go_with_above_user_name   J0 O7 _( f' n& s: [
  36. getdriverfunc = getsqldrivermysql 9 Q- W8 z2 {% R0 Z( B; {
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib $ T7 t/ E+ j2 a$ G2 H4 K0 |& L0 i1 M* O
  38. libraryname = path_to_libsqlmy_libary
    6 ^# U4 ^9 Q! \7 ]& M
  39. 积极= 1 $ v# [6 C, {1 i7 g; p, B! `
  40. ---削减这里---
    ' _) t0 ?) y: G3 A
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ _5 F6 X9 f2 }1 d* I
  42. ---例如---
    . {# f# [% v8 |; U( [
  43. [ dbexpress ] # O; H6 A3 {6 o* W
  44. sqldir = mysql_sql
    ' d+ X+ |( N! @
  45. drivername = MySQL中" d7 s4 z* P- h9 J8 _/ A
  46. 数据库=测试" `6 I1 D1 S* b; p$ v' J8 U
  47. 主机=本地主机5 K2 g; ]; ?' S, [7 O, |) L
  48. user_name = testuser
    ; A/ G0 x+ I# ]# e* @5 g
  49. 密码= my_password + i7 ]; M2 [7 n8 N! u- o
  50. getdriverfunc = getsqldrivermysql
    % y( C* W# I/ D* w' n0 J% \
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # N7 ^: s4 R+ [$ T( H- i9 h/ T
  52. libraryname =. / libsqlmy.so * O/ u1 U. M6 q4 t, l. B0 o
  53. 积极= 1
    4 ~# v2 |+ {- c6 {; R# A6 O$ n
  54. ---例如--- . Z1 S* C" \: }9 |
  55. 6 X; `3 ^. L9 V; a( f& _; T
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    5 y) B4 B" D6 B( T9 I
  57. ---例如---
    5 l! T6 H" z. z2 g
  58. [ dbexpress ]
    8 d  ?: J) E1 k
  59. sqldir = mysql_sql 0 J: x3 l3 [& Q& j
  60. drivername = MySQL中5 K7 ~/ s/ e5 }$ Y+ ?
  61. 数据库=测试6 H. D5 N) o" j- Y  Q: T
  62. 主机= 127.0.0.1
    - B( c4 y  {( K$ q  }
  63. user_name = testuser - A! g( b& w5 Q$ x6 Z& D2 a( s
  64. 密码= my_password : {- }  {) W4 v" |4 r
  65. getdriverfunc = getsqldrivermysql ( K$ J( d; \# I# I+ t/ K
  66. vendorlib = libmysql.dll在9 L3 i1 L3 r+ {$ R  u+ V5 M) @
  67. libraryname = dbexpmysql.dll 6 p4 l2 A! ], S; D/ I1 _4 P% w' U
  68. 积极= 1
    : E( W! _# o3 d( [" [; `$ \
  69. ---例如----
    5 A- q8 \# o- Y% w, N
  70. -写在0 2.03.04由p wk.linuxfan
      {# L  j0 M" w% Y, U
复制代码
发表于 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
9 ?( g7 y. `3 k( f7 C. V; M4 ?0 N8 G' y; v- N
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-28 11:55 , Processed in 0.088669 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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