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

2336 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
# V! d  S4 D: n8 y2 ^7 f7 i1 @- P" k  o9 Q) u! d

  1. 7 y7 g0 y" f9 w$ C7 u3 h% N
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ i# J2 s8 X/ {" u

  3. + p8 M# a: s5 @2 H
  4. ### What we need ###
    : n6 ], N. r. o) R- [- @
  5. Naturally, we will need a MySQL server to store the data for us, this document 5 A' Y2 `/ c1 Q) ?: }$ S3 ?
  6. will not explain how this can be done - there are documents out there for the 2 }* E2 u8 m( k( H# S' a' e
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    0 f& W% P  a9 y# p  m" i2 g
  8. and a user account (username + password) that has the permissions to do stuff! b* _# X  a8 \# @+ ?# {
  9. with the database. Additionally, you will need a vendor library installed on the
    , V0 C# U# C; B0 i* C. `
  10. local machine, this came with my MySQL install.! Z# U6 P* M) n% `; Z' l
  11. These instructions will not tell you how you might transfer your data from the3 c& J9 |1 w0 ~7 q) w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      R3 S# Z* |  S
  13. database.& X  N/ |; U0 e' O; M  X
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    : S, m: w8 l! `: Y/ W: Q
  15. the time of writing, there are still too many issues - check the current status
    / [! x$ Z) V/ p: \$ q
  16. in the TeamSpeak forums if you are interested.
    / o, J9 p5 \. j5 S, D2 S& t/ X2 u
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: E8 H# h' E7 `% Y
  18. Borland was used. This driver can only interface with the client library that
    1 t4 h% y3 \+ l; f* X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    2 o, H6 F2 z3 e0 g6 n( y
  20. client library - basically all you have to do is to use a 3.x client library as $ ^) r% O. T* l, m. \
  21. "VendorLib" and a 4.x database to connect to.) A, }6 V" y1 A3 \; k
  22. If you need more info about dbExpress, you can contact Borland.
    3 P) h. j7 ^+ W1 v3 D
  23. 0 `8 e: O3 F# |0 w* l( f* E
  24. ### Doing the work ###
    2 O7 ?/ ^, X4 ]  I- @. ^
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 n4 c$ J; ~& d$ ]6 z! [
  26. the perquisites right, just open your server.ini file, and add this section at0 J, P3 J  _( @" ~0 f$ K3 q7 i
  27. the end:# x2 w' X2 d7 \9 ^/ [* _6 z
  28. ---cut here---
    . ]" |. F; ~6 X1 R8 A
  29. [DBEXPRESS]# N6 q1 x/ L9 Z4 h+ r+ a
  30. sqldir=mysql_sql  H( ~% ?. o: \$ {6 g# v  m8 j* \2 l
  31. Drivername=mysql
    $ X, k; a; o( c/ R  i: W3 Z
  32. Database=Your_Database_Name_Here
    " W! {6 f  `& j, u( n2 f9 r% a; h
  33. Hostname=The_PC_the_MySQL-Server_is_on7 m4 B' d3 J' C* g$ ^' D& v
  34. User_name=User_name_on_the_MySQL-Server
    ' `5 ?8 j) ~/ T1 P  @8 Z4 X
  35. Password=Password_to_go_with_above_user_name5 }) A7 T( z1 b2 ]/ h+ n
  36. GetDriverFunc=getSQLDriverMYSQL
    / i0 ~7 P9 t* x! h8 R& s/ E# D
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    2 `2 O9 f# t9 V: O, z" k
  38. LibraryName=path_to_libsqlmy_libary/ H. Y! }; }) P0 o  B
  39. Active=1
      h! c! h0 P& v8 [6 x0 A' ^
  40. ---cut here---
    / L8 u  l. S& b
  41. In my environment (a linux box with a MySQL server running locally) I have:; B/ H6 E; c  E: }" U+ ?! |
  42. ---example---
    ) X% U1 t6 x, j1 K
  43. [DBEXPRESS]
    ) L4 Z& |+ Q$ N: y; m1 |
  44. sqldir=mysql_sql+ Y# Y$ S* V7 e
  45. Drivername=mysql
    6 q1 w+ D; Y' X0 \0 E
  46. Database=test% Z$ }- `3 U3 `  B: |: O9 X5 @
  47. Hostname=localhost/ `& B4 }( j5 J" D
  48. User_name=testuser
    7 |2 S# t' [8 B2 l3 L1 U
  49. Password=my_password
    8 T$ r6 y5 w% a- C( n
  50. GetDriverFunc=getSQLDriverMYSQL
    # c" c) u$ e* w/ @! }0 o( t
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    . r- t8 }1 \1 n5 }5 u& z. Z
  52. LibraryName=./libsqlmy.so
    " T2 j& \. e; y
  53. Active=1
    9 E  \4 Y  m) u5 E5 S
  54. ---example---
    * I( V) X8 Y7 U( ^( O
  55. , ~5 }2 @6 G: I; A" O# [
  56. On a windows box, also running the MySQL server locally, it would be:
    1 I. I8 w; o7 o5 j
  57. ---example---
    , x/ `: F9 p8 C" V9 K5 E7 _) m
  58. [DBEXPRESS]1 g; o- ^( s9 q) y5 X; `5 b% M- r
  59. sqldir=mysql_sql
    ' [: U7 E* @% x- [9 [/ c( R/ }
  60. Drivername=mysql, q! I' x) C/ m% C# C
  61. Database=test
    + R: Z# j- m3 f0 Q$ t% @
  62. Hostname=127.0.0.1
    9 J% a" s0 k# V& q& e5 Z
  63. User_name=testuser
    + s) e0 P' f3 W
  64. Password=my_password
    - @2 D+ X4 M/ U  u4 Q1 y8 O
  65. GetDriverFunc=getSQLDriverMYSQL1 F1 ^$ R1 j6 V- T' H! Y
  66. VendorLib=libmysql.dll
    . p. Y5 \( O+ V- F
  67. LibraryName=dbexpmysql.dll6 D& l$ o! t, Y2 n
  68. Active=1
    9 M7 M4 q  g" @& ?. f" R
  69. ---example----
    0 b" l1 N. B5 w; b
  70. - written 02.03.04 by pwk.linuxfan
    1 {7 w1 X" l4 y/ O; H0 R. D% J
  71. % I9 [- t4 o: q& F" j  P+ E- M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. @! R& Q  D  t0 t! s- U* X
  1. . @& a' G+ l: l" l
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & ?: K* t7 R/ v6 z/ Q
  3. + ^1 X# B/ W8 B6 H" g) P7 o3 V
  4. # # #我们所需要# # # - N0 E( J6 n& S+ a- Y+ l
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件* }  ^$ Q. H" H. \# \$ T' z; E- [- P
  6. 不会解释如何做到这一点-也有文件存在,为6 H4 a# e! n+ i( o" r
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用# ~/ S. x" N2 s. _3 ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ; ]; {+ C& B  K3 |# L
  9. 随着数据库。此外,你需要一个卖方图书馆安装于& l( s6 a" y" C- d3 r) Q0 w. E
  10. 本地机器,这是我的MySQL安装。 & {' f/ B! ~4 Q' f) a, T8 t- Z) [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) n7 t  A7 Y& _6 C, W& \
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    . m$ A% |% `8 l; k
  13. 数据库。
    - }5 Q. M- K" y) P- V' N6 F8 t+ S
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
      C  x4 g! y1 w7 _' B
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 s) E% s: C! W  X' f' [
  16. 在teamspeak论坛,如果你有兴趣。 / f" D; ?0 N4 K# `7 a. R; d7 H
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机( B" d, }* }5 R
  18. Borland公司使用。这个司机只能界面与客户端库
    ' m; J& K4 e- w& r% ?2 ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这/ i( a  v# x+ w2 @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    , L0 s0 c* E5 \
  21. " vendorlib " ,并解数据库连接。
    6 o3 T, W1 t% L3 K# d  `% e
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 ?% u! A! ]5 W: _) U( @8 D

  23. & G  ^+ A8 C% K  p
  24. # # #做好工作# # #
    - c* {4 K. Z, L; {+ Z1 g% a
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    " u. ^, ~8 O/ R5 J' R& W
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在- p2 }2 b* X* Q* E( C
  27. 结束:
    + @; A! s; p, \5 X6 V
  28. ---削减这里---
    * q8 V4 p! o( H+ D
  29. [ dbexpress ]   z& D2 I( F7 c) `: m7 Y
  30. sqldir = mysql_sql 8 ~' L  y* {# d0 [* U
  31. drivername = MySQL中
    ! b2 f4 V7 v  L
  32. 数据库= your_database_name_here , B& o, r# o( h, B, T& w
  33. 主机= the_pc_the_mysql - server_is_on 7 s* H: K* W' U8 ^' ^8 `
  34. user_name = user_name_on_the_mysql服务器
    . C" m. c/ A5 u) V/ S1 X
  35. 密码= password_to_go_with_above_user_name ( p0 }, c3 @3 l  g7 }+ f( r1 X& T
  36. getdriverfunc = getsqldrivermysql
    3 [9 j5 y& I2 W) j) B
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    * R: a& Q5 s$ e7 X& R% Y( N
  38. libraryname = path_to_libsqlmy_libary ! L# s  o5 \2 r* I# P2 _- E/ M; `) J
  39. 积极= 1
    2 ~0 }4 a" {+ h& C) d4 c
  40. ---削减这里--- + B8 _3 b7 l% w# Q# K! `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: & e1 M% w/ X$ M, G* R
  42. ---例如--- ; D! O' q7 t3 ~- D. W! j! B
  43. [ dbexpress ] 0 A% _' \" b, A% c3 M2 U) \* L
  44. sqldir = mysql_sql 4 @; Q  }9 e8 I6 A9 S
  45. drivername = MySQL中
    # x% M" T) S( r* L$ S( w
  46. 数据库=测试6 [/ e( w6 H3 |! a6 n: v% s
  47. 主机=本地主机
    / G- i7 N/ b! j2 u1 b! S: q& [% u
  48. user_name = testuser : B1 Y: d0 b" a
  49. 密码= my_password
    0 n4 S" ~# R5 ]( K- Q, K
  50. getdriverfunc = getsqldrivermysql 5 n- m+ ^% C2 X, X
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 2 u5 x0 P+ w6 ]
  52. libraryname =. / libsqlmy.so
    ! H/ A5 D# C6 f) O8 H
  53. 积极= 1 . @& K$ }' q' F" @  n, X% D
  54. ---例如--- ; k/ P7 X6 e2 `; [5 t8 w
  55. ; E7 ~, v2 q6 L# E4 O! w( S' p$ F: p! T
  56. 对Windows中,也运行MySQL服务器本地的,那就是: , p- y" a( @, E( p
  57. ---例如--- 8 ?' P/ m, X5 C' }7 |) q
  58. [ dbexpress ]   P0 {1 L- M$ n
  59. sqldir = mysql_sql
    " ^: \% J- m5 l( [. _1 W- S0 V
  60. drivername = MySQL中
    7 l5 Z/ t- ?3 j
  61. 数据库=测试
    8 m; ^+ i4 P7 w8 g: w; {3 u
  62. 主机= 127.0.0.1 0 G" X6 }: X0 ~. U& X3 L
  63. user_name = testuser * k3 T$ s1 U8 F' ^1 F9 h1 o
  64. 密码= my_password
    2 _, M* L" t6 P" R
  65. getdriverfunc = getsqldrivermysql 5 G7 h( X- K! m
  66. vendorlib = libmysql.dll在
    0 w2 b5 _7 v+ D0 J
  67. libraryname = dbexpmysql.dll ; K( Z% r- D, U0 s" _7 I4 A
  68. 积极= 1
    / k+ S) b5 D. G! A  @' Z( Q5 d
  69. ---例如---- % A$ W3 Z$ [$ ~
  70. -写在0 2.03.04由p wk.linuxfan
    + Q, @* g5 l7 L. \( j( z' B0 B5 m
复制代码
发表于 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 n7 E  ?  S* L* s
" \$ l: {! X' Mbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-2-25 23:52 , Processed in 0.113375 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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