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

3133 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan   Z+ Q/ n( Z% p; Z7 s

  C" p8 }! a9 P8 Z6 V

  1. & c! `1 o) R& L' A9 o6 ]7 O. B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 j7 B( y5 Z2 K. o

  3. ) u& ^: t6 v  d/ D% V3 [
  4. ### What we need ###7 Q& e% l6 e0 J
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 l1 W; ^3 y, f& w& D/ ?+ W
  6. will not explain how this can be done - there are documents out there for the 1 ^5 @! m! w# e. A
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    9 }8 m6 K% Y% r/ ~
  8. and a user account (username + password) that has the permissions to do stuff' C6 z; ?- d8 v- }
  9. with the database. Additionally, you will need a vendor library installed on the: o; e' ?$ N0 ?- f9 I
  10. local machine, this came with my MySQL install." ?, |$ k. y4 V. |5 f
  11. These instructions will not tell you how you might transfer your data from the% ~; a: G  `* W) z
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ) g4 l; \$ k+ \9 t$ y
  13. database.
    & U7 @- \; D  _; Y' l
  14. Some users have reported ways to import a SQLite database into MySQL, but at& I& {- Z$ X2 S5 E/ `2 D
  15. the time of writing, there are still too many issues - check the current status" a$ }+ T/ t7 D0 ~' ]  A$ H
  16. in the TeamSpeak forums if you are interested.0 B7 z* Q' Z( |' Y/ G2 B9 B$ W
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from- e5 {: d. m9 z! {: r3 F; v
  18. Borland was used. This driver can only interface with the client library that
    ; Z. q3 q6 o, ?6 }0 d6 g
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this; s* H% R7 i# A5 _4 D
  20. client library - basically all you have to do is to use a 3.x client library as 2 w3 S( j" {: r9 p6 x' l
  21. "VendorLib" and a 4.x database to connect to.# b  E  H- D/ z' T$ [& K
  22. If you need more info about dbExpress, you can contact Borland.# ~: I  w: \9 a* w, Y6 n& y
  23. 9 Z: S7 ], g: D/ N$ l) y, _* \
  24. ### Doing the work ###0 B: r5 Z+ H! w, N0 F
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ k9 A0 i* W) x2 s% P. P' p
  26. the perquisites right, just open your server.ini file, and add this section at' A/ a% ?, u& c, o& d( I
  27. the end:% y5 f( {- T' e1 e$ n9 L) X
  28. ---cut here---/ p- A/ p, Y/ Z6 W
  29. [DBEXPRESS]
      H) P6 G) g% ?* U+ A# R0 v" |
  30. sqldir=mysql_sql
    / v3 ]8 _8 q9 F+ R
  31. Drivername=mysql' O3 Q9 B/ `; E/ z
  32. Database=Your_Database_Name_Here: p0 G  g. d! z7 C. [
  33. Hostname=The_PC_the_MySQL-Server_is_on  e" B; J* F7 `; k5 Z/ x2 w: i
  34. User_name=User_name_on_the_MySQL-Server
    ! x+ Y4 M3 T4 u9 A, x9 e- A
  35. Password=Password_to_go_with_above_user_name
    + R3 ]5 ?& e% b" \: z" R
  36. GetDriverFunc=getSQLDriverMYSQL. ^1 S# ?( y) H7 T% c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    8 C. E1 m# ]6 n: D# L
  38. LibraryName=path_to_libsqlmy_libary% [+ s5 D: N7 n% a: l
  39. Active=1
    " C( _) f% C* @/ o+ P: R" d
  40. ---cut here---
    # k! w) R% o: E& D( N* x5 S( w
  41. In my environment (a linux box with a MySQL server running locally) I have:( v+ U3 q1 N* ^" [4 m
  42. ---example---
    5 U- d# V1 x& a* w4 M
  43. [DBEXPRESS]
    ' I5 T5 K# |; K2 C  u$ _. Y# J
  44. sqldir=mysql_sql
    + ~" G) Q% J& d; g# W3 b7 w* w& r  q
  45. Drivername=mysql( G5 G0 b6 X" h7 K% ~' H2 O
  46. Database=test
    # c9 c; e3 }$ }* N
  47. Hostname=localhost
    $ n8 I7 Q( q8 Q4 o& h- N
  48. User_name=testuser# I4 N  T- }# k0 f: i
  49. Password=my_password" b7 t/ ]+ X+ d" e# U% }
  50. GetDriverFunc=getSQLDriverMYSQL
    + Z% W' }3 R2 r+ W- ?) a3 _
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    , l: \( I6 D: D
  52. LibraryName=./libsqlmy.so5 d6 _# p# Q0 O* }  p# J
  53. Active=1
    & G* f$ ]9 J$ [+ a# |3 J
  54. ---example---
    % F3 d. f- o% k5 a' m8 }. N3 _1 f

  55. 5 C7 T8 e+ h5 D% u/ j1 I
  56. On a windows box, also running the MySQL server locally, it would be:6 S# E- D) {1 N% a! ]- S: t1 {0 L
  57. ---example---
    & B$ h5 o2 C- I2 o9 d
  58. [DBEXPRESS]! R9 h1 W+ v/ I0 b# ^- U
  59. sqldir=mysql_sql
    % e0 ^) [! w& w9 t9 `) P6 i4 q( I6 s
  60. Drivername=mysql
    ! V' C! ^6 w5 U, z/ I1 a6 g. o
  61. Database=test5 z) b3 L2 }0 Y& z9 w1 q( j
  62. Hostname=127.0.0.1
    + ]* ~! \1 |- J0 [, q
  63. User_name=testuser
    : {8 |  L. g% z1 y+ y( s: P
  64. Password=my_password* ^8 W, r. q' p+ U% t: a% q
  65. GetDriverFunc=getSQLDriverMYSQL
    # w. g7 C. ?: o/ r7 H
  66. VendorLib=libmysql.dll
    6 s1 E! J/ q" Q$ P
  67. LibraryName=dbexpmysql.dll
    & L$ F/ Q3 w! R6 C3 P
  68. Active=1
    % [! \3 R+ J$ O* S+ M/ T
  69. ---example----
    + u# U) r# `$ \8 u
  70. - written 02.03.04 by pwk.linuxfan, U, j0 F' B7 `  w
  71. 3 z! o& [" o  P& m0 l2 u
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
6 ~0 Y* |& {+ M0 C7 Q* ~
  1. - P1 ^% C* K5 ]; l6 u4 W7 I
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      a* Q' R" x2 U- w! d3 D

  3. # s! ?) |/ h* L( e
  4. # # #我们所需要# # # : T0 t: ?% m* s% c3 W% `* r
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件, _4 v6 S& [- X* D! P5 l
  6. 不会解释如何做到这一点-也有文件存在,为& D% y! H9 }; |* K' F- s. P
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    - Y) R  O0 D# l3 A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西- x9 m+ U, B0 ~3 v
  9. 随着数据库。此外,你需要一个卖方图书馆安装于/ u" n) I) Z& S1 @" p7 ^
  10. 本地机器,这是我的MySQL安装。 $ a/ [5 I; N5 D7 C; @) v
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 K) s8 v4 m) M! ^0 d
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ; {$ R1 |/ ]3 S1 E- P6 ^
  13. 数据库。   e- f; D. o: q- {2 G0 x
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) O0 q1 R- H1 i9 J8 E. u9 |3 r
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    # S# A7 \$ N* [; u3 M8 G5 F
  16. 在teamspeak论坛,如果你有兴趣。 ' i, @; W! |5 I5 Z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机; j$ [" \5 {4 y/ b: X7 T9 W: }( g; v
  18. Borland公司使用。这个司机只能界面与客户端库
    3 |0 A5 S0 r) X. x& c$ H* A# e: ~
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ( h8 J% F2 D. y. \7 q  ~
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    $ i. g3 T6 b- r2 x; a" {! g
  21. " vendorlib " ,并解数据库连接。
    & f0 {; Q6 J) O" r. }( ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & y2 p5 `( ?5 ?/ U# p0 l

  23.   L, Q+ s! u3 }' ?( ]" l5 A
  24. # # #做好工作# # # 6 @; Y- N: u! L9 C7 b4 h
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都, Y" r- X5 j! J  Q( L4 r, E, W( n
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在5 E9 ~+ @9 M; [. k7 d: I
  27. 结束:
    3 Y2 Z8 p" @% F9 t$ i
  28. ---削减这里--- " ]. t; F! {) ?. Z  r4 |# R" h% h
  29. [ dbexpress ] : }- x# [0 }. p  J
  30. sqldir = mysql_sql
    : v6 ~, V9 i( v( v
  31. drivername = MySQL中
    % v4 L1 }& t" m/ x8 `9 Z+ Y
  32. 数据库= your_database_name_here
    & ^0 \# q% Y* q% b+ E
  33. 主机= the_pc_the_mysql - server_is_on
    . ~0 N, V3 I8 E; D3 y' S+ [( v4 B) ?
  34. user_name = user_name_on_the_mysql服务器! F  O) `2 N: o; H
  35. 密码= password_to_go_with_above_user_name , l) a. x* _  s0 I3 e# D
  36. getdriverfunc = getsqldrivermysql " Q4 ]: P4 A* A
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
      U  B; ^2 n; q2 B$ d3 c$ |# _
  38. libraryname = path_to_libsqlmy_libary : g8 y, G+ D+ f  S3 q6 b
  39. 积极= 1
    ; q6 d2 y: H9 n: y, r
  40. ---削减这里--- 6 Y3 e  s- G% y/ F$ `% o/ R
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: " _% r3 B$ H% Q) B6 {9 j9 i$ ]
  42. ---例如---
    ( A/ ^8 K5 R# I! m/ M
  43. [ dbexpress ]
    / d9 O4 l- S4 H
  44. sqldir = mysql_sql
    ; Y7 v( y# i  f" z
  45. drivername = MySQL中1 m# o2 I0 ^# z6 g* F9 g
  46. 数据库=测试: ^' B9 ?3 V4 y2 l
  47. 主机=本地主机( v9 w' Y0 i" H7 S: G3 f
  48. user_name = testuser 8 c! E8 I* U8 W' u' s
  49. 密码= my_password 9 x) l6 P  _( f
  50. getdriverfunc = getsqldrivermysql
    1 r+ j% }1 g. Z, m7 u) ~' _  _
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / I, V$ Y- U9 F
  52. libraryname =. / libsqlmy.so
    7 ~. V. V' p/ X- }, N, H; c2 v8 [
  53. 积极= 1
    5 x4 q/ q! W( N% S0 S/ e# U8 k6 D
  54. ---例如---
    + Q) i9 h- A7 B. @$ Q# u
  55. ! l6 K/ D) c5 T+ q& H3 h7 K
  56. 对Windows中,也运行MySQL服务器本地的,那就是: $ O4 j$ N. G( \1 q, N" V5 R8 v: m
  57. ---例如---
    # K5 w7 @2 Y7 h2 `
  58. [ dbexpress ] # J( `0 _5 [+ z. [/ j+ D- a
  59. sqldir = mysql_sql 2 \: ?# [& P0 C# b# A1 P9 |
  60. drivername = MySQL中
    6 E1 l2 g: O3 C" W4 f7 F- z' i- @& u
  61. 数据库=测试5 {! |4 A- K2 B& n3 L: U2 y
  62. 主机= 127.0.0.1
    , I/ @+ I/ ?1 ?. [
  63. user_name = testuser ) Y2 ~2 N3 S% Z2 P3 [5 g3 N
  64. 密码= my_password
    2 Z) _5 d7 X! L
  65. getdriverfunc = getsqldrivermysql $ X" B" h$ x) D1 S
  66. vendorlib = libmysql.dll在# ^. p7 C1 x7 J$ D
  67. libraryname = dbexpmysql.dll
    * z1 `7 v8 t2 o1 Y! h/ W+ [
  68. 积极= 1
    ' \% s$ c- H4 |) I! V* k0 T, Z6 W
  69. ---例如----
    , B" t4 B; O3 G  Z: a' N% v  w& |
  70. -写在0 2.03.04由p wk.linuxfan
    0 ?9 A+ W  b+ `/ d
复制代码
发表于 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$ W5 {, u- \0 a2 f
1 ^' w$ y$ h/ A7 ~
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-7 23:43 , Processed in 0.106171 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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