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

2424 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; ]4 S0 t8 Z" w1 X4 s7 i) ~- S4 ]3 K. _8 \  G! b7 @) }
  1. & l: a) ^* j7 w* n8 X/ Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######0 \1 Z. C) U4 l7 z

  3. : W4 ?& n( f* w
  4. ### What we need ###7 i, [' j  e4 Q" l% H
  5. Naturally, we will need a MySQL server to store the data for us, this document
    & y  L0 R6 I+ O: \/ E2 c
  6. will not explain how this can be done - there are documents out there for the $ o5 p" H1 D0 o1 ], v1 y
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 v$ F. o1 q: W; S
  8. and a user account (username + password) that has the permissions to do stuff1 a' W: n8 I4 T2 u
  9. with the database. Additionally, you will need a vendor library installed on the3 V1 A  F) m- ]) y
  10. local machine, this came with my MySQL install.$ \3 @: z/ T( N
  11. These instructions will not tell you how you might transfer your data from the- C6 `0 a7 `& O
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ' h9 e! C6 F' Q
  13. database.
    # R/ f; i$ g# Q5 J
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    ! k1 U2 c2 b  z4 y8 W0 m, \+ K
  15. the time of writing, there are still too many issues - check the current status
    + B% S5 j4 U+ Y' Z$ L6 W3 k" _
  16. in the TeamSpeak forums if you are interested.2 E: {; M. e$ x9 h4 ]$ v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from4 h) g' F" j! R' B5 r) o
  18. Borland was used. This driver can only interface with the client library that 1 [; l3 d; S9 ?8 p
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 R8 @* W( `' C9 J9 m4 Q
  20. client library - basically all you have to do is to use a 3.x client library as
    ' v' v0 G; A4 R5 x
  21. "VendorLib" and a 4.x database to connect to.
    ; l  y) [# C! b. S1 z( b+ J" s- k- G
  22. If you need more info about dbExpress, you can contact Borland.0 A1 y' o; d* ?* K7 N: t+ W! y1 M

  23. ; A* W6 _, @$ b+ o% }& p
  24. ### Doing the work ###
    3 z) e- B# `. O9 ?7 Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all& c! G1 i7 ?+ n# ~' M
  26. the perquisites right, just open your server.ini file, and add this section at! E5 i0 ~0 ^8 }
  27. the end:
    . q( O) H$ m) J1 G$ M8 H& x1 q9 V
  28. ---cut here---
    ( g  _" b# d! @7 C& K- }
  29. [DBEXPRESS]# w. }9 L% D, I3 Y
  30. sqldir=mysql_sql
    2 v3 {& O$ s! j0 c6 }* C
  31. Drivername=mysql
    3 Z, r5 i( t4 D6 u! t0 r1 e: n
  32. Database=Your_Database_Name_Here
    7 b1 y( ]9 H" l6 y9 Y
  33. Hostname=The_PC_the_MySQL-Server_is_on
    1 _2 b, z8 V' F  A; r7 v( a3 e6 U
  34. User_name=User_name_on_the_MySQL-Server
    " h! R6 K! b9 J0 L7 e
  35. Password=Password_to_go_with_above_user_name& s0 }. L9 x" N6 J
  36. GetDriverFunc=getSQLDriverMYSQL
    ' |8 H- X3 I) G2 ~! N
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 ?& v- _% }) G0 s1 l1 U) Q. k
  38. LibraryName=path_to_libsqlmy_libary, T/ v! K5 v5 I% ~
  39. Active=1* ^0 x+ C4 T7 L7 M- Q: i
  40. ---cut here---
    7 p* [5 E+ S, n; L* q, {: T
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 G6 R% w0 }4 K3 u3 f' K
  42. ---example---
    ! j+ G; J# I9 g! s- k
  43. [DBEXPRESS]
    9 S0 i$ c0 c: H
  44. sqldir=mysql_sql
    ; H. {; @, t# A
  45. Drivername=mysql" X  F3 Q  a0 b- L/ V: e, ?" P
  46. Database=test
    3 E) ~/ A. u) v+ v' {) \' h
  47. Hostname=localhost- v' [5 x* t$ t! B
  48. User_name=testuser
    3 M8 z% o* k" i1 l
  49. Password=my_password; Z/ z3 t0 G5 t1 O% n& n
  50. GetDriverFunc=getSQLDriverMYSQL
    8 |4 H- X' D8 {. w# \: G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.07 e3 s+ K- i/ Q# H7 X
  52. LibraryName=./libsqlmy.so+ C4 w- y: K( `* s. j
  53. Active=1) U6 @! w; Y8 F: N, Y( a3 l1 Z5 v) z
  54. ---example---
    7 t8 f8 }6 N& m
  55. ; g+ s2 f8 ^. ?/ E( x
  56. On a windows box, also running the MySQL server locally, it would be:% L3 C- [3 A* ^  P+ G/ w) u8 _
  57. ---example---
      j) I% ]/ P6 \* S: F# b, ]7 x
  58. [DBEXPRESS]
      {% G6 v5 D5 z; h
  59. sqldir=mysql_sql, j" \" m* F' F8 X3 h
  60. Drivername=mysql
    + m  ~$ h$ o+ R4 k" s
  61. Database=test; p4 Y6 Q# l' ?0 [
  62. Hostname=127.0.0.1* w, i3 W/ L" `! r; N& V2 d. H
  63. User_name=testuser, O; F$ Z1 c& n( ^  s
  64. Password=my_password
    2 c9 N7 p+ ]* ?9 ]) `! k- O- e6 @
  65. GetDriverFunc=getSQLDriverMYSQL% J( q5 ]: o6 n# z
  66. VendorLib=libmysql.dll: T" C) d! E! Z9 \
  67. LibraryName=dbexpmysql.dll
    2 h  M8 G- Q( B8 K
  68. Active=1
    3 Z, v) v1 c+ f6 p% b
  69. ---example----+ E  I% D4 _! k$ v/ y
  70. - written 02.03.04 by pwk.linuxfan
    " E& f4 q( O9 V6 d. H7 @
  71. # z# h; ]% W+ C8 _* n
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
2 A$ f, J1 q1 L2 \$ C0 ~+ [, X
  1. 9 C& q/ |  \' r' {( I4 T
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & s- U, q$ ?. s/ V: L; ]
  3. % j4 `( Q6 o8 S3 v& {
  4. # # #我们所需要# # #
    6 b; {; j! m/ g9 Q) T7 e" J% w  z, e
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 N* W/ U- T( V; Y2 k* [- i
  6. 不会解释如何做到这一点-也有文件存在,为2 N- L8 S& {0 P! p9 x- R1 {
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用' f  r7 @1 x8 r0 q9 Q: x
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    * g7 ~, ]' S: t; W$ W7 W+ R$ l
  9. 随着数据库。此外,你需要一个卖方图书馆安装于+ Z/ n' N1 ~) n9 e7 i# {4 n) M
  10. 本地机器,这是我的MySQL安装。
    . W& m& Z  @8 w
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 ]7 u* a/ W  i8 W, a/ }4 P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ; W1 W, n. k) m- ?$ C1 T2 E$ ^
  13. 数据库。 + B4 ^; G& ^7 f& m
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    9 g6 x$ W4 s0 M( O
  15. 编写本报告的时候,仍然有太多的问题-检查现状$ @9 N9 e8 t3 v' v& Z3 y6 h. ?
  16. 在teamspeak论坛,如果你有兴趣。 ' [5 j1 ^6 i! ^, G: }
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* w& ~0 W0 f; c
  18. Borland公司使用。这个司机只能界面与客户端库! `: M4 M7 p* ]4 v/ [$ P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这0 b# v) K' B( ?; P* d
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为! }8 i& L$ H" P9 F5 r
  21. " vendorlib " ,并解数据库连接。
    3 M* r0 p2 N  ^  G; t& j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 e2 q. }. Y+ l# n# ~8 _
  23. 4 [( n) c/ j3 `2 d, g2 P, L, {. v
  24. # # #做好工作# # #   v/ w& I8 l. r" C# b! A( C& r
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 E% E' H% v8 ~$ }# n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 z- p, {8 {& G$ A( V
  27. 结束:
    3 R9 _2 s( |5 a& u' ?  y
  28. ---削减这里--- , r/ a) o8 O, g
  29. [ dbexpress ]   ?- s5 i$ T6 V; ]) f: F6 {1 [
  30. sqldir = mysql_sql
    9 Y" l, z7 @$ ?) }# T: e
  31. drivername = MySQL中: `* e$ v8 Y0 O* u  K
  32. 数据库= your_database_name_here 0 l+ b: d: v& Y$ M
  33. 主机= the_pc_the_mysql - server_is_on & q$ A# u; B& @  i. H. `& I
  34. user_name = user_name_on_the_mysql服务器
    , H0 ?9 }! s9 k2 ~
  35. 密码= password_to_go_with_above_user_name 0 M: S- U1 M' R1 {" j
  36. getdriverfunc = getsqldrivermysql
    & e6 ?4 i3 t) I# }( ~& R
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 R8 P& [1 o: {, O* a3 ~* X
  38. libraryname = path_to_libsqlmy_libary
    % x4 W* f  U- g3 X% K1 ]
  39. 积极= 1   X! Z3 p, E  O6 Q: z
  40. ---削减这里---
    7 f* o7 I7 K$ @& Q# h) `
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    ' Z1 e  B. {$ B) W/ |+ T
  42. ---例如--- * k- E. T% v/ `3 O
  43. [ dbexpress ]
    + R0 ]9 h" A1 O6 ^  s2 ?% o8 t
  44. sqldir = mysql_sql ; r5 j5 ?" V+ t# \
  45. drivername = MySQL中
    ; a' U1 |9 [0 X5 k: G
  46. 数据库=测试
    ( \% h5 l# U, Y0 H; m+ ?% T8 r: g
  47. 主机=本地主机  H- U- o) X' t* K6 m
  48. user_name = testuser
    ' U! d. P: _3 ?& G: d) g2 |
  49. 密码= my_password & o7 x# o4 L- _. r( Q! a. [
  50. getdriverfunc = getsqldrivermysql
    ( W! u3 l. g2 A
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    + Y: ~4 Y2 s& i- w0 v; r- E2 |% Z
  52. libraryname =. / libsqlmy.so
    7 o3 V+ P0 S( D- o( W
  53. 积极= 1   i6 v3 b* C1 L" T  l3 f( u
  54. ---例如--- . f: d# E& ~! U; p' k

  55. ' `6 E& m. V$ _+ g7 H# [
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 5 v) A# H8 q, ]- ?. w0 W
  57. ---例如---
    * P0 y; n; M6 K/ p+ ~
  58. [ dbexpress ] 5 G( N1 ~( x: S2 S. O
  59. sqldir = mysql_sql % [! K& j! X6 @& A9 v4 [. f
  60. drivername = MySQL中+ d/ X5 x: `9 x2 K4 \6 g7 g' o) J8 u
  61. 数据库=测试9 ~( o' m9 @2 n2 x7 L1 L
  62. 主机= 127.0.0.1 ! k2 I, v3 E6 B  C( g+ j1 C
  63. user_name = testuser
    + d1 J! n% t- X& e7 I0 F
  64. 密码= my_password / z" d8 ?" j% ~, l7 L: x: w  f( F6 ?
  65. getdriverfunc = getsqldrivermysql 0 [: q: h! A: L# d4 L
  66. vendorlib = libmysql.dll在
    2 }7 i$ l. V7 f7 V+ y, f2 @
  67. libraryname = dbexpmysql.dll
    3 q; r" r) a4 ?: f) s, i
  68. 积极= 1
    , v- i6 M  O" X7 I5 X
  69. ---例如---- ! _/ t) ~- ]* W) C) t0 J( N, y
  70. -写在0 2.03.04由p wk.linuxfan8 d: c9 ]: \  a6 y$ q1 ^
复制代码
发表于 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 E3 W& o2 Z* c2 c  e( c
+ ?$ L8 j7 w1 w* Y+ \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-31 23:44 , Processed in 0.100846 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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