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

3607 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
, C3 W7 E* r) N2 Y0 L
! A$ d/ N" j6 A0 i8 b
  1. : I/ ]2 N( _2 Y+ _4 _" j  i) R
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######+ U$ D" n7 @' T. o+ E' e
  3. 4 G* V$ o1 q1 ~- I) x- n; M
  4. ### What we need ###2 |: W' A# Q) z$ |
  5. Naturally, we will need a MySQL server to store the data for us, this document
    % {4 M8 j3 a/ m& ]
  6. will not explain how this can be done - there are documents out there for the
    , e" s: N8 q% O7 U5 W; H
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & E7 S5 I( s  {( B/ r
  8. and a user account (username + password) that has the permissions to do stuff
    9 U3 W: Z' q' E1 G
  9. with the database. Additionally, you will need a vendor library installed on the: R+ o  x) z$ F- Z
  10. local machine, this came with my MySQL install.
    2 g, t, u4 p# p  e3 B/ S1 f
  11. These instructions will not tell you how you might transfer your data from the' @/ `8 Y. A. `" g- J1 N9 J
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ' n  B1 D0 j( @+ r
  13. database.
    2 Y4 ?3 n! r& p7 q/ o1 M7 m4 [
  14. Some users have reported ways to import a SQLite database into MySQL, but at1 a3 x6 l( c  t
  15. the time of writing, there are still too many issues - check the current status
    1 P8 `2 L5 X0 N8 }% z. F& r
  16. in the TeamSpeak forums if you are interested.& a4 K9 K+ c  Q% k, K; q' S  t+ E
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from0 A& v4 C& I' e- I! h- N! O
  18. Borland was used. This driver can only interface with the client library that * n' S# L# A. t1 W
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    0 M) D- k* J+ n+ u! c
  20. client library - basically all you have to do is to use a 3.x client library as
    ( f9 M. v# ?' n! N, x% M) a
  21. "VendorLib" and a 4.x database to connect to.
    # N/ b* B) c' _+ i0 ^) y. S
  22. If you need more info about dbExpress, you can contact Borland.9 T$ P% r0 m7 W

  23. ( a  R3 _9 N9 U
  24. ### Doing the work ###, j1 v, V7 W6 i/ b$ C& f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    * f" M7 N$ {& w% H. m
  26. the perquisites right, just open your server.ini file, and add this section at
    + e0 {. o1 ]( L: T' t5 z2 z
  27. the end:# K9 H* Z: R& R) [: A) C& c% g
  28. ---cut here---2 f5 f  X- c8 {: S7 \
  29. [DBEXPRESS]
    + h8 j- p& `" y" A% ^7 [
  30. sqldir=mysql_sql
    1 q0 M6 d* V1 ~
  31. Drivername=mysql. _3 g8 Y$ x0 Z; S8 d. F' F
  32. Database=Your_Database_Name_Here
    & e( h1 Q+ U, X- ~. E' L$ a0 C
  33. Hostname=The_PC_the_MySQL-Server_is_on% `$ k( a$ o2 l8 A
  34. User_name=User_name_on_the_MySQL-Server4 y0 k: }5 A2 `; j& b
  35. Password=Password_to_go_with_above_user_name
    $ f- h; s* j. F# c: H' Z' a% q
  36. GetDriverFunc=getSQLDriverMYSQL
    3 ]+ q3 J' z9 @8 h
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% [$ U9 |& ]' S+ ]! H% Z5 q
  38. LibraryName=path_to_libsqlmy_libary
    ; H  A/ O  v: ?) D* O
  39. Active=1
    " U6 |+ m/ Z0 Q0 f8 J4 v9 z, G
  40. ---cut here---" Y) c& L4 |- F9 h" s! E, N& S0 j$ s
  41. In my environment (a linux box with a MySQL server running locally) I have:/ r' d. O# Y# e+ h
  42. ---example---
    5 t# h5 g2 t2 P( y  y
  43. [DBEXPRESS]6 P' v& [. Q2 F: ?6 Q
  44. sqldir=mysql_sql
    $ V' |% t' @9 v; @7 Q7 J$ z
  45. Drivername=mysql
    3 Z) i+ g7 }) @. ~- u
  46. Database=test2 ?# e7 V; W1 I. t# D
  47. Hostname=localhost3 A/ G( x& l7 L3 ]" V3 F& ]8 c' [4 l5 y
  48. User_name=testuser$ X6 J! u+ O, s2 F: r& c5 x+ I
  49. Password=my_password; {. N0 n4 R% d
  50. GetDriverFunc=getSQLDriverMYSQL( {3 U: Z1 u8 {3 w2 I- u. T. T
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.05 c/ o" L+ N, W4 K9 b
  52. LibraryName=./libsqlmy.so  V! z1 x3 E2 _! D7 ^5 T
  53. Active=1
    - s( P, L" i* e- |$ X+ O9 r1 Q
  54. ---example---
    ; I. ?3 z7 t' u9 \9 ?  X+ d
  55. 9 O5 G+ V- c: x7 }2 F
  56. On a windows box, also running the MySQL server locally, it would be:; v: g3 r" m2 O& E5 x
  57. ---example---. X. [* Y' n% r3 T
  58. [DBEXPRESS]
    + B+ w- V# C8 v* z" d, r( L* v
  59. sqldir=mysql_sql
    ) \, `# x" H7 g8 b# K+ R* z  u
  60. Drivername=mysql
    3 W% w" \* [& e: V
  61. Database=test0 i  W7 ?3 }+ O  g5 \* @2 [0 V1 g
  62. Hostname=127.0.0.1  f( i; O  D0 R7 m
  63. User_name=testuser
    + w5 s: L0 N% O& c: R( M/ G# Z
  64. Password=my_password
    ) d, J. _$ _- ]7 @
  65. GetDriverFunc=getSQLDriverMYSQL3 K. z% V! {2 w# f& k* [
  66. VendorLib=libmysql.dll
    - `$ }+ J- U$ v  [. ^
  67. LibraryName=dbexpmysql.dll1 B( Q! n5 O* I
  68. Active=1
    , a6 Q. o5 P# U. O9 N; Q3 T2 ?
  69. ---example----; c$ z) [. i- w' G
  70. - written 02.03.04 by pwk.linuxfan
    , Z8 d% D7 ?+ t7 p7 P* w, r

  71. 0 A) n; ]; C9 L& N
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
' S$ p5 y4 r/ r7 l' ?) i. C0 B
  1. 8 n+ o1 j1 D% ?* o' y) Y! a4 E
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 6 M# H1 e5 W5 V# E

  3. ' w6 l7 L2 i5 ~( V
  4. # # #我们所需要# # # : U5 l" w3 Q' X
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 E  f+ H8 L6 G, S; w$ ]
  6. 不会解释如何做到这一点-也有文件存在,为( ~; r( W: M% {% G4 p0 w0 T
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用% G5 S' l5 s5 h# a6 ~/ ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西/ u2 L5 u* v3 ]: W
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - R. z* a' ]4 e+ g# e  ?# G
  10. 本地机器,这是我的MySQL安装。 5 P1 v" l/ c* ]: X4 f; j% a# z* U  m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从- n9 Z3 c7 G1 C- W8 \/ E
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL & V% ^7 z9 t8 |) H# H! I! _
  13. 数据库。 ( D  {/ k4 t0 t; F# N
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在  [8 J# U! b) D1 I! k2 u2 ~7 {
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 r9 V. [1 n% T/ a% I, i
  16. 在teamspeak论坛,如果你有兴趣。
    1 H$ ]# l( ^5 @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机: ]: r) N& ~4 [5 ?% S9 v* l+ w
  18. Borland公司使用。这个司机只能界面与客户端库1 I+ E, z0 j4 I. K9 o# J+ x! L
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    6 C$ Y* W  h% s0 y& w
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 V! s$ |4 O* ^6 ^: D
  21. " vendorlib " ,并解数据库连接。
    " X# ?* l& |7 F) B  L
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 b, m5 B6 E/ h
  23. 9 ~# c- F. q  T& Z( k9 N
  24. # # #做好工作# # #
    ; g- c4 N: K2 |6 S- a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) A8 a6 i& y2 C1 {5 _4 \
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    & n. R' m0 S! r8 u- l
  27. 结束: 0 a: |8 m. u+ z5 i1 v! S
  28. ---削减这里--- & x3 Y" }+ `$ W/ B
  29. [ dbexpress ] , c7 {4 a, q4 E) w8 Y1 e' {* M
  30. sqldir = mysql_sql 7 j* u, E& g3 o3 Q
  31. drivername = MySQL中! B# }) C. R( v* ]0 @) G; M* L
  32. 数据库= your_database_name_here   l7 c, q, ?* k. G
  33. 主机= the_pc_the_mysql - server_is_on
    # ^' |9 a# W. p* [* o+ h8 N# q0 E# _
  34. user_name = user_name_on_the_mysql服务器
    7 k. y% L* e+ b- U- A- h8 W9 r$ [
  35. 密码= password_to_go_with_above_user_name ! K- A; t. P# L" d5 ]5 u1 P% m5 \0 _
  36. getdriverfunc = getsqldrivermysql
    ' e! Z! L2 e9 y7 w. M* g+ ]8 r
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib - I& u  M6 \; E
  38. libraryname = path_to_libsqlmy_libary   _; Q7 w: F$ T( ?. k
  39. 积极= 1
    ; |( e  i" {/ ?2 J- j, C, T
  40. ---削减这里---
    * Y$ v1 {2 |0 K+ n( A( e0 {% p
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: , W4 o" Y4 b$ K, ^) w
  42. ---例如--- ! V$ {' ]7 y  k( o/ F6 C
  43. [ dbexpress ] * d/ p! J) f( X) I$ M4 o$ f
  44. sqldir = mysql_sql 4 p0 w) `! S& j: F- t
  45. drivername = MySQL中
    2 p: l0 i! `0 d  Z. l
  46. 数据库=测试
    % ^- _7 Y1 |) a
  47. 主机=本地主机
    " T* w3 n- w% U% e( U, s# I
  48. user_name = testuser
    ) O; j4 D4 e) j9 d" ]3 _
  49. 密码= my_password
    . M3 F+ G$ W4 M
  50. getdriverfunc = getsqldrivermysql , J3 z1 g3 Q# j/ O# d
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 7 g  g# }7 T9 H9 G: d
  52. libraryname =. / libsqlmy.so , X; v( f& L( E: _+ r* {
  53. 积极= 1
    ) I6 M  M" n6 d
  54. ---例如--- ) B* N- X" k! ^4 u* q8 @3 _2 c" E2 T
  55. ! \. @2 ?; k; K% c( N
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " P: @- H2 |( y$ d- R  Q/ t
  57. ---例如--- - e! Z& W9 ^6 Q5 J4 k
  58. [ dbexpress ]
      S" o. s5 g; c1 {
  59. sqldir = mysql_sql " X' M( l0 [/ ?1 G
  60. drivername = MySQL中
    5 y% f9 y7 ~/ w4 Y# t
  61. 数据库=测试# ]0 x& @# t$ r" b4 q2 m7 m+ c) |
  62. 主机= 127.0.0.1 2 m* @+ L9 D/ V% f! `  s! c
  63. user_name = testuser 2 \, q% P* J$ G) z+ P
  64. 密码= my_password ! ^; z1 g) t- G
  65. getdriverfunc = getsqldrivermysql + G0 Z7 q$ N) P" G
  66. vendorlib = libmysql.dll在
    2 }' u: H8 g( Z6 K" t
  67. libraryname = dbexpmysql.dll 6 J/ B1 O0 M5 n4 q# O9 s
  68. 积极= 1   w5 B3 n+ y* J' R# W1 K
  69. ---例如---- - z1 F/ I, x% v3 B
  70. -写在0 2.03.04由p wk.linuxfan
    ! t! q0 v" S7 y3 `, o* g  X1 i
复制代码
发表于 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 words8 _% \1 ~( v+ Y( a
* b$ J1 K: y- E1 L
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-12-3 10:00 , Processed in 0.068843 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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