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

3115 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
3 Q3 n8 p+ O# m- B: H6 t  K  j# {
3 F3 z* {( S' [& [
  1. / c! f  m6 E9 ]8 B9 n. B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 m! \- \0 v6 ]% r2 G- J1 L
  3. 0 p# u/ r$ L8 q9 k/ @
  4. ### What we need ###& t7 }2 A; P2 c: [
  5. Naturally, we will need a MySQL server to store the data for us, this document
    3 F8 d. u7 X- g- \# r7 M
  6. will not explain how this can be done - there are documents out there for the 5 T5 s) J% E6 Q$ |
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    / R) [  \  ^6 G4 X8 T1 i4 @
  8. and a user account (username + password) that has the permissions to do stuff
    2 c: O( q! V. ?6 M7 I8 b- }9 E
  9. with the database. Additionally, you will need a vendor library installed on the4 B' }' f: [0 |9 q2 T* D
  10. local machine, this came with my MySQL install.
    ' ]% b* G* f* U" ]% {0 r
  11. These instructions will not tell you how you might transfer your data from the9 g# d0 X  t; Z1 ]7 u+ O" y# G5 L' Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    $ `$ j* G2 B0 U/ |4 }, [* d' d
  13. database.
    # `8 ?6 @& b4 i
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    + U* o4 ~) B, S$ p1 l
  15. the time of writing, there are still too many issues - check the current status/ w! \; N3 s! n3 c! g2 N! l/ B" F
  16. in the TeamSpeak forums if you are interested.) s. e/ T  Z8 t! U9 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from% Q- Z' p2 H0 W) N2 n
  18. Borland was used. This driver can only interface with the client library that
    + ^9 e) z$ g/ I
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    5 L7 G* _6 j' N% I
  20. client library - basically all you have to do is to use a 3.x client library as
    - u5 U3 I8 O/ K9 @: Q0 O
  21. "VendorLib" and a 4.x database to connect to.
    2 [  [9 O! X8 p
  22. If you need more info about dbExpress, you can contact Borland.. R* ^" ^+ X- l0 [) H
  23. + x5 \; t, C. T
  24. ### Doing the work ###
    . }3 b2 F1 z! x7 Q0 K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all1 T0 a" Y5 Q* s: s/ Y8 I" h7 P4 ?
  26. the perquisites right, just open your server.ini file, and add this section at6 E# o: Q. F0 j! D; p) P
  27. the end:6 C$ {6 D. H* q8 S+ ]- z' l+ w8 F, e
  28. ---cut here---
    . r9 s9 c0 W- t) S2 r
  29. [DBEXPRESS]
    9 f! c# }3 h. |- F4 U1 M+ f& l
  30. sqldir=mysql_sql
    7 D! ]1 m: t% `; i: k; s
  31. Drivername=mysql
    3 O2 T0 \" [$ r  v
  32. Database=Your_Database_Name_Here7 O2 q6 \4 `1 @
  33. Hostname=The_PC_the_MySQL-Server_is_on  y) K- q8 o0 ~- t; c
  34. User_name=User_name_on_the_MySQL-Server' o; d4 [' p5 ~- d
  35. Password=Password_to_go_with_above_user_name  W2 c5 o3 y8 p' a; j
  36. GetDriverFunc=getSQLDriverMYSQL  p" J# t. u" [7 a0 l  s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib, C. M9 Q( N! K9 U  s5 e. C# Q/ T2 }- y
  38. LibraryName=path_to_libsqlmy_libary
    * H1 I: Z/ j; z6 X2 X6 S) P/ X
  39. Active=1
    3 u2 Y2 E! `9 u/ [
  40. ---cut here---
    - v9 K& \2 u: a
  41. In my environment (a linux box with a MySQL server running locally) I have:
    9 Z! F: D' I( `# L+ m
  42. ---example---  T) J1 U% u- {
  43. [DBEXPRESS]
    . i% p1 c0 K/ Q( n- \* m5 `: V
  44. sqldir=mysql_sql% a. H, L5 d, G2 s
  45. Drivername=mysql: ^9 V: Q  |7 i8 u5 s
  46. Database=test
    + r0 N3 q+ f# ~0 j4 T9 z- k8 j5 H1 G2 L" k
  47. Hostname=localhost/ }1 v" S+ }4 Z; k5 I' R' N
  48. User_name=testuser* [' w8 G. x0 b2 ~' l. P
  49. Password=my_password
    ' W% M" _" V7 W/ q6 u( K
  50. GetDriverFunc=getSQLDriverMYSQL
    8 M% E. m* e7 n
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( G. z8 s( X& `/ |4 e
  52. LibraryName=./libsqlmy.so
    6 e- Z$ q" L- l) V3 j7 t6 Z2 @/ i; V
  53. Active=19 c, G' i. b) I+ j- A+ ?% J6 {  D, m
  54. ---example---1 x8 \+ w+ g. e( [1 m: L

  55. . G2 r* V9 N( b
  56. On a windows box, also running the MySQL server locally, it would be:2 I& \% y6 p5 D( Z% O" g% x2 H$ }8 N' o
  57. ---example---
    6 G0 }0 x0 f3 g: Q# j$ o# y/ l5 T
  58. [DBEXPRESS]
    ; q2 L9 z) V( H/ m
  59. sqldir=mysql_sql
    7 @( w2 |$ c- a5 z$ a; U8 [; j! _
  60. Drivername=mysql
    + H" ^, r$ L# ]! E8 w4 K
  61. Database=test
    1 Z1 T" v& j. K
  62. Hostname=127.0.0.1
    - r; ^; `7 |- h
  63. User_name=testuser
    2 u8 F5 L+ Y* _8 d) G7 n) g# I
  64. Password=my_password8 K0 P( s4 {1 p8 `7 B  [3 Q
  65. GetDriverFunc=getSQLDriverMYSQL
    3 o; H9 N: J0 d8 F
  66. VendorLib=libmysql.dll# F/ Y2 Q( p, C+ W
  67. LibraryName=dbexpmysql.dll3 C$ p( r$ z- i* c1 M# X, z
  68. Active=1  t) w, h; [. @. W
  69. ---example----- P7 [! z! T+ D% Q3 G
  70. - written 02.03.04 by pwk.linuxfan
    ! J8 F0 N9 V1 u7 l

  71. 6 _# Z6 J8 X8 `) _) Y2 U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
. d/ ~4 @) y: Y  U) F% S
  1. ; W1 F) g/ D0 _6 d
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    # j) Q1 X$ q& F" ^1 J4 p; G

  3. 4 z% o7 i4 }+ l. {
  4. # # #我们所需要# # # + ~) s4 f7 T9 ~" T
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件! N+ ?) O! l6 Q6 F. ^3 Y+ U
  6. 不会解释如何做到这一点-也有文件存在,为. O3 l  v, v5 |: e
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用. b0 ?; V$ N2 T$ `9 P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& l5 ^% Y% j6 r* P
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 Q9 \4 c" V* [1 @; |. O8 z
  10. 本地机器,这是我的MySQL安装。 3 r3 k3 o! n- ]! {% `- h% n
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    8 r) [) h  r3 Y# ^" Q1 h1 i
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    " k. ?, `) ^( M) _9 A" ?! L
  13. 数据库。 * b4 E( W: ~, O0 k& y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    $ I2 S) [' |  ]9 |
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    7 |7 P6 ]: j: I) R3 V& s& j% Z* {
  16. 在teamspeak论坛,如果你有兴趣。
    : [  |% |7 W+ |+ P! e
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' j+ q% W4 c; J1 m+ K
  18. Borland公司使用。这个司机只能界面与客户端库
    ! M/ Y' z2 L+ G) O4 l
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这1 _2 b! Q* `" u% G$ `
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    0 |0 s0 P3 U6 B  P1 @  U, r5 `# a/ |9 O
  21. " vendorlib " ,并解数据库连接。 % P9 \" J6 p  L7 A) p
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 ^: W6 }/ l9 L4 p" b& ?9 b. T& x

  23. 0 e+ e! C4 p& ?& H  J1 i: F$ O
  24. # # #做好工作# # # $ V' y% A# U0 e: T
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ e4 v; ?. l( W9 F; e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " x7 q$ |% R4 c+ S1 ]
  27. 结束:
    3 m8 g% q! R( m& [4 x0 @" q' ^0 W
  28. ---削减这里--- 8 _1 N- j4 K9 ~$ \
  29. [ dbexpress ]
    " u1 U+ N8 `" A, q
  30. sqldir = mysql_sql 7 y$ k) P! V, j4 I: g
  31. drivername = MySQL中
    % [1 h2 {6 N5 Q1 ]5 Q
  32. 数据库= your_database_name_here : y2 ?% Z  |9 @
  33. 主机= the_pc_the_mysql - server_is_on 2 v& W3 y& j) V$ w3 m% E! v  K9 W# q, m
  34. user_name = user_name_on_the_mysql服务器
      w( \+ p* h9 B9 e
  35. 密码= password_to_go_with_above_user_name ) i. z2 e" c, A. {* L( S3 P
  36. getdriverfunc = getsqldrivermysql * y. g1 r5 F8 k1 p4 l
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ) T* N: L, k) A
  38. libraryname = path_to_libsqlmy_libary
    # P2 F. l$ q( M; h' Z7 N
  39. 积极= 1
    ( r: u9 E! h& |! d
  40. ---削减这里--- 6 A& ]) E. |' }* S: M6 t6 m* ~5 @
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 6 C* R1 w% U% Z  h5 v: X
  42. ---例如---
    9 G# K- }) }' f  C
  43. [ dbexpress ]
    6 Q7 u# k+ r# I$ |# r8 j# Y* o& q
  44. sqldir = mysql_sql
    + l& q/ c( p: }; U& f6 I9 y0 t$ U* m
  45. drivername = MySQL中
    ! W  v# ]* F, u: l
  46. 数据库=测试0 D- e/ p4 ]& X- M& U; ]
  47. 主机=本地主机
    1 P# o1 Y& Y- V) Y( y
  48. user_name = testuser 3 Q% F* a0 L' E7 u8 P
  49. 密码= my_password
    9 @6 b: \2 Y) _2 O" X4 Z( @  [
  50. getdriverfunc = getsqldrivermysql 8 S' @( [) j8 [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ h" j3 |6 \3 r# u) Z
  52. libraryname =. / libsqlmy.so * M3 j# a/ u5 M3 T0 e7 d2 R# u" \2 e
  53. 积极= 1 : k4 K2 O% |2 ]7 E5 k
  54. ---例如---
      r5 N2 X8 m! o- b( X0 `$ f3 g

  55. 2 S$ n, w# b, d
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( h: d% l5 J  a4 Y% L
  57. ---例如--- 2 K" ^% h# r; j
  58. [ dbexpress ] % S) z2 _: o0 ^1 r7 f/ }
  59. sqldir = mysql_sql
    & q5 b+ M; s: R$ c- u: D
  60. drivername = MySQL中
    4 K# R+ L, O! h
  61. 数据库=测试
    3 A! J* e0 Y! O2 o5 {
  62. 主机= 127.0.0.1
    5 _5 f- ]& f' }" ?# c4 E
  63. user_name = testuser 4 p5 {- \- ?2 s1 k
  64. 密码= my_password
    + c7 B' Y- w3 x, ]/ a* z; D
  65. getdriverfunc = getsqldrivermysql
    6 U( }# t2 T6 r+ ]) G
  66. vendorlib = libmysql.dll在
    5 @/ s( w' ?* s: i  C" w1 k7 L, S/ y& w
  67. libraryname = dbexpmysql.dll . t, j* A, {) O
  68. 积极= 1 4 c, I) L$ S" Y
  69. ---例如---- & Z% I; M, _; j3 @/ D
  70. -写在0 2.03.04由p wk.linuxfan* d+ k* U0 d3 n* f# 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* C6 R$ Q  n8 R3 W
0 j% {7 X/ c; t- H! v# n3 @3 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-9-5 01:24 , Processed in 0.105930 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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