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

3008 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( {1 L. j( w( _% n7 P" E

5 E7 |/ i# i5 @! g6 r% v$ d' {
  1. 1 Z' U( b: I9 L+ i3 p) P3 S7 [; M
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    0 M* U/ @: c& ]7 k1 a
  3. $ Z9 W6 l9 d; o$ \* `' R! g. l, N
  4. ### What we need ###
    - O5 ^$ Y5 X9 c) O7 X3 m
  5. Naturally, we will need a MySQL server to store the data for us, this document
    $ L) C5 u9 C2 p
  6. will not explain how this can be done - there are documents out there for the / c+ E. g: w8 Z* b, f! O
  7. interested. The requirements include a (empty) database for TeamSpeak to use4 ~! k( ]" R* t1 Q( g0 e" B' ~, `) Y
  8. and a user account (username + password) that has the permissions to do stuff! F6 R6 K5 f! _+ \; ], C! f' Y
  9. with the database. Additionally, you will need a vendor library installed on the% O8 T" o) S$ _7 `; w! r
  10. local machine, this came with my MySQL install.
    , S. @0 g: d3 W7 f% V7 C; O
  11. These instructions will not tell you how you might transfer your data from the
    5 i# O* M. f9 H) P- U3 |
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL# @5 E3 C1 {5 ]4 y6 i
  13. database.$ D1 f' ?2 A+ x% A
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ i4 B; E% s- t$ o! ]) x4 V4 `
  15. the time of writing, there are still too many issues - check the current status
    7 r1 B/ z$ B* J" z* W4 ]
  16. in the TeamSpeak forums if you are interested.
    $ A6 Z0 k8 N7 y5 t7 u( e
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ i. c7 `6 ~+ s  w) i
  18. Borland was used. This driver can only interface with the client library that
    * h, ]7 T! U8 T; @# b
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    " E4 r1 n, H3 j1 T
  20. client library - basically all you have to do is to use a 3.x client library as . R1 q% U( Q" @2 U3 m7 ^0 c6 a
  21. "VendorLib" and a 4.x database to connect to.5 M# _- y0 E; k  N
  22. If you need more info about dbExpress, you can contact Borland.- ~1 i  H% c; [  X: |) C
  23. 2 ^4 |  o# N4 I- V) I
  24. ### Doing the work ###
    / q0 Y) j% C, R: N6 x3 A# U9 N
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    $ S" l* _5 i  `) `- g  O
  26. the perquisites right, just open your server.ini file, and add this section at* e2 f) ~4 {$ o3 c- I
  27. the end:0 l- U6 q2 Q7 y4 c
  28. ---cut here---
    " Y& d; K4 ~6 A* M2 V* Z5 |) g
  29. [DBEXPRESS]
    4 I  ~+ g6 M) T  Y
  30. sqldir=mysql_sql( Y" R0 N1 s2 q- l( N
  31. Drivername=mysql
    0 J, B1 O& H7 ~* ~. W$ ], Q. U
  32. Database=Your_Database_Name_Here
    9 |* ^7 N+ P8 R" t9 I1 s
  33. Hostname=The_PC_the_MySQL-Server_is_on
    9 s4 @* _& s% L* |3 X# U
  34. User_name=User_name_on_the_MySQL-Server2 H8 D7 Z" H' q% s) y4 j
  35. Password=Password_to_go_with_above_user_name1 X* ]+ Q' v% v- G7 O) I
  36. GetDriverFunc=getSQLDriverMYSQL
      F; ~: A( I, v3 Z5 E) H
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    # O0 O6 h* }! ^2 O# w+ Q  [
  38. LibraryName=path_to_libsqlmy_libary. Y8 F7 O/ S. t* c/ Y# L: Q/ c
  39. Active=1
    0 i" e- \+ C0 _
  40. ---cut here---
    1 N$ |# A4 X( U
  41. In my environment (a linux box with a MySQL server running locally) I have:
    $ x; M" h( _9 |) ]5 V' [
  42. ---example---7 ?- N# p5 Y# \8 [+ J
  43. [DBEXPRESS]
    . j) H/ \5 y  Q" S
  44. sqldir=mysql_sql
    0 |- z. |1 n- _9 u% {/ l
  45. Drivername=mysql
    8 k) m' f( a' x  Y$ Y# k& w
  46. Database=test. P4 ~+ v/ q( X( \# p6 D
  47. Hostname=localhost! d$ C1 w7 {( y. C% K- E! K
  48. User_name=testuser. U: ?* H1 y) V  m6 J& u
  49. Password=my_password
    : P4 g7 o1 ~, Y5 f
  50. GetDriverFunc=getSQLDriverMYSQL5 \, t+ g2 J8 x- B1 Z
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0. @, E0 _: ^8 G0 w# z* M  W
  52. LibraryName=./libsqlmy.so; q: @" u$ L2 x- K) R/ i9 g; _/ x! U" a
  53. Active=1
    " f- K9 U" ^+ d  R
  54. ---example---
    : z; L  [% j/ ]& f% t2 c! R

  55. 4 h' J' N- I. L
  56. On a windows box, also running the MySQL server locally, it would be:
    3 k" G9 q9 U6 T4 M& G( P) {, v# v
  57. ---example---. l1 k4 F; j7 m
  58. [DBEXPRESS]+ _( a4 P( G6 O5 n( I
  59. sqldir=mysql_sql
    : U4 N% {5 Z+ e& i0 k
  60. Drivername=mysql0 J8 C6 I7 m+ E" s: B
  61. Database=test- [, [# p4 S. N6 W+ [
  62. Hostname=127.0.0.1* ^; S% Z+ u3 s% W/ l8 s* ]4 a
  63. User_name=testuser6 ]+ x* `$ t2 m9 g2 o
  64. Password=my_password+ N/ G$ k, G" ?; a6 G- H
  65. GetDriverFunc=getSQLDriverMYSQL
    , v  r6 F0 T$ Z+ U; u2 t
  66. VendorLib=libmysql.dll
    1 L7 d! H: C$ o- F( y
  67. LibraryName=dbexpmysql.dll
    * R. T9 Y; P+ n! N, n7 L
  68. Active=12 O3 R7 E1 L2 j, z/ O, d
  69. ---example----/ t+ q* O* E" ]1 u! O& y7 h" v
  70. - written 02.03.04 by pwk.linuxfan  F3 @- y" ^, H' {. p1 V

  71. 2 n; t3 q1 d8 H3 D: H
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ `3 h7 W5 [0 U1 I! ~

  1. 4 K, y  ~' r* j2 [5 o
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   n+ G! ^3 c8 H
  3. % g% G* u( [3 s: H
  4. # # #我们所需要# # #
    , ?! Q% u7 v% ?5 b% m+ x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    $ f6 A, I# `* A9 k/ I0 _
  6. 不会解释如何做到这一点-也有文件存在,为
    6 _% p+ Y7 b8 r. ~" q
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用) h: D+ R7 F/ {& _( P
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西: {8 V3 F+ w$ y. z. l+ O/ ~
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ; j/ V" P( }3 t- Q  k. |
  10. 本地机器,这是我的MySQL安装。 4 W- I0 U$ x' {7 P. j
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从4 u( J! a. v$ X3 P# y5 A) ~  i  O" O
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - o5 R# t- r5 Q6 y5 U
  13. 数据库。 , z( s# d; {$ r$ H4 e7 M" D2 |
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 X0 r  @' a  G* y! ]' u3 x
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    2 S8 _7 ~0 {& E6 ^& Q! R
  16. 在teamspeak论坛,如果你有兴趣。 4 J3 t* C' q# y/ G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" M8 g+ I. m4 Z& m8 W+ P% A
  18. Borland公司使用。这个司机只能界面与客户端库& f- T8 H: }# s  p( A) \7 Q8 F( Y; O
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这* u7 o! L0 A0 t7 c, t" ?2 U4 U
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    8 @2 _6 u5 F( `% R3 c
  21. " vendorlib " ,并解数据库连接。 / n$ Y8 C' C% p
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ' P1 I! |9 j# P* g% m$ |" P; W& I
  23. 3 _3 A9 U/ V9 k! v, W/ a( ?3 k
  24. # # #做好工作# # #
    # a- U7 Y& o2 I, k
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都/ T1 s* B: W" _4 e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 |5 A( x9 d6 c1 U" W& O
  27. 结束: 7 l, J5 R6 C- f2 F
  28. ---削减这里--- . |( ~. Q: q) t+ {" l' W
  29. [ dbexpress ]
    4 ]& x/ Q4 n# {) V
  30. sqldir = mysql_sql 5 @4 S4 D  a& I# e/ v
  31. drivername = MySQL中
    ' e. W1 G2 k4 S7 Y- X- y" u
  32. 数据库= your_database_name_here + V+ D/ @6 k/ G" P+ J7 G- i
  33. 主机= the_pc_the_mysql - server_is_on ! ^# j' I& q' Y. h
  34. user_name = user_name_on_the_mysql服务器% M, h) ~* ~; O. I) G& S
  35. 密码= password_to_go_with_above_user_name * M9 D/ b- Z7 q3 y& Z) X
  36. getdriverfunc = getsqldrivermysql 8 @/ @" _# h1 t, e* V( k) ?
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    8 p, g/ Q5 }" Z4 V
  38. libraryname = path_to_libsqlmy_libary
    8 W: {9 J5 c$ A% F' ]" B& C, C2 e# R% V
  39. 积极= 1 . n2 X, t& n3 T0 S& F2 l
  40. ---削减这里--- 7 X$ H7 F9 \: R/ d1 Y
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    5 A& [! R0 b( d) N9 w/ [$ x
  42. ---例如---
    # _$ b) X2 s* E* S# m  V
  43. [ dbexpress ] & d& a1 v" E) m, L# G6 ?% }
  44. sqldir = mysql_sql 9 T" r3 ^3 Y5 P5 I/ @6 |8 K  \6 k. E
  45. drivername = MySQL中
    6 |( V" I8 {+ o1 [
  46. 数据库=测试
    ) X% i, H6 U* u+ O
  47. 主机=本地主机
    ' s/ E, e: d1 b( H$ E) U( W
  48. user_name = testuser
    8 l% o% O; y0 t% f4 o
  49. 密码= my_password
    8 w; L6 m; R0 j
  50. getdriverfunc = getsqldrivermysql * N/ R* M( e2 W
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    4 |( y- s/ p$ C' v  j1 Q' Z( {3 r
  52. libraryname =. / libsqlmy.so 1 X) H( g: F# h
  53. 积极= 1 + I3 F/ h3 A6 H, a( K
  54. ---例如--- 8 d# k& C) v. F$ k, _

  55. / S" W. B5 L' W5 G5 a
  56. 对Windows中,也运行MySQL服务器本地的,那就是: # R) ^5 j  P) k( l
  57. ---例如--- 5 w! ?- k- L' D7 c
  58. [ dbexpress ] . ?: R9 o* f. @) _6 n8 W* [
  59. sqldir = mysql_sql % u+ N" X/ l+ z1 T
  60. drivername = MySQL中
    # G, ~  x* }- w' b
  61. 数据库=测试
      R; \5 M* a# H7 @6 N
  62. 主机= 127.0.0.1   L9 ^- V1 H* o, z0 d
  63. user_name = testuser 0 N7 `% |  A' n. M/ f9 F9 I$ [9 q( x% ^
  64. 密码= my_password ' ]0 j; l% ~' u: U
  65. getdriverfunc = getsqldrivermysql
    7 B2 d4 F3 D! R
  66. vendorlib = libmysql.dll在+ E& Z2 n2 E- b/ P+ U' K
  67. libraryname = dbexpmysql.dll * y% n* r! w4 k+ r* D
  68. 积极= 1 5 N& j  Z$ L4 n# q: ?6 ^
  69. ---例如----
    ! Q1 W  u) F7 |4 G) P8 C' S" c
  70. -写在0 2.03.04由p wk.linuxfan1 w* ?' [* H  \+ b3 L+ `% W; f4 S/ 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 words
% @" j' I! E; `( Z; W( U/ J1 ?
/ B# Y6 d% ]" p  H$ |# d1 x- w9 Ubut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-11 11:51 , Processed in 0.101089 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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