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

2401 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
* d2 S' y, S, G) Y+ w! v$ {8 i, p
! {! X4 v, S4 d* {2 S5 Y6 [& `
  1. + }' O" ~9 E( E' T, F3 Z% q! u
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    - v6 b7 m. W  Z4 R1 x( R& X( V3 S

  3. ! @% c+ c1 @/ h- [
  4. ### What we need ###: x; g' R( Q/ ~( r# |5 p
  5. Naturally, we will need a MySQL server to store the data for us, this document
    9 e$ s, Y/ m: ^9 z4 e
  6. will not explain how this can be done - there are documents out there for the
    & P" T3 T0 G- c" u- Z+ a
  7. interested. The requirements include a (empty) database for TeamSpeak to use) [$ T+ p2 P/ n
  8. and a user account (username + password) that has the permissions to do stuff
    5 h+ Q1 o. A* `1 H7 v0 W6 Y
  9. with the database. Additionally, you will need a vendor library installed on the
    & E! v& ~5 H# \5 q0 h
  10. local machine, this came with my MySQL install.% c# |2 S3 n: f1 z
  11. These instructions will not tell you how you might transfer your data from the. e. e4 d! \- M& y3 }( w- K$ L- w
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    6 h2 \" a+ n$ F# ]3 v& k: i
  13. database.
    1 l- l9 a& G- M, }  }
  14. Some users have reported ways to import a SQLite database into MySQL, but at+ ^8 I- \) f5 c: u/ }
  15. the time of writing, there are still too many issues - check the current status
    # X5 Y3 C/ b. i$ P! x4 ?
  16. in the TeamSpeak forums if you are interested.7 \( D# S+ I- S1 I  K  n* c. V( R
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from3 A/ H3 x/ r  {& p% A; Q( b$ Z
  18. Borland was used. This driver can only interface with the client library that : r1 \9 t* q5 K& _& a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this- {& t3 t* K* h, a$ y, F
  20. client library - basically all you have to do is to use a 3.x client library as
    0 o# M+ u/ A' q1 V1 }
  21. "VendorLib" and a 4.x database to connect to.+ Q& }) D; F" d2 o
  22. If you need more info about dbExpress, you can contact Borland.4 F9 L! I8 w" K3 C, z; R

  23. 5 R' z! i& x  g
  24. ### Doing the work ###* j  n; K2 F. P) U4 R; b0 U
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    , ?$ ^; m. N- ]# X/ x7 I0 }
  26. the perquisites right, just open your server.ini file, and add this section at
    3 p1 Q3 x) a# y' S  v
  27. the end:
    * B8 i) w* L8 m4 ?1 _8 B9 J7 e
  28. ---cut here---% ?" `9 Z/ a4 Q4 }+ ?* a, t' w
  29. [DBEXPRESS]9 _% f3 i. Z8 F* o5 y+ ~( a: |
  30. sqldir=mysql_sql
    0 y2 C+ Y) G3 m: M
  31. Drivername=mysql
    + |) Q1 i  P9 E4 `! Q
  32. Database=Your_Database_Name_Here
    ) N& l  K; a- e) ]3 m0 Q
  33. Hostname=The_PC_the_MySQL-Server_is_on! I- P9 y4 r( D5 ]9 ]: t' g
  34. User_name=User_name_on_the_MySQL-Server
    % p+ m8 w$ i0 m( }' |5 {
  35. Password=Password_to_go_with_above_user_name6 b& z( O' t( [- P9 q
  36. GetDriverFunc=getSQLDriverMYSQL% ^1 _( N: U% s8 W$ y
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib3 Q8 x+ J: a; f/ f
  38. LibraryName=path_to_libsqlmy_libary
    $ G$ ?' x' \. p% \8 g) Z
  39. Active=17 d: k# @# [! o; Y& V) {
  40. ---cut here---. K4 w" K3 l; H' g2 H6 E
  41. In my environment (a linux box with a MySQL server running locally) I have:
    / `: v; v* j9 I  |* d* _8 p
  42. ---example---
    ; f- w8 e1 k2 b- l. ^2 Q
  43. [DBEXPRESS]
    ( y4 o6 U- a! c  s0 G
  44. sqldir=mysql_sql8 h$ y0 x* g9 r' {% H. C+ K; t1 y
  45. Drivername=mysql+ Z7 K. s1 Z4 X- v9 i, Y
  46. Database=test
    " h& b! C7 A+ W, L$ z4 D
  47. Hostname=localhost/ y4 W+ @1 W) Y" Z/ f0 g
  48. User_name=testuser
    $ ~# @( i' e6 R/ L5 u! H
  49. Password=my_password5 ?! d7 ~  q' S7 I+ m/ L  S
  50. GetDriverFunc=getSQLDriverMYSQL: |; x$ W4 Z' }, }' Q$ n
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 K. y' g2 o, U( b
  52. LibraryName=./libsqlmy.so; ]5 q* a, [% t: v# |% z
  53. Active=1+ @9 k$ d2 ^( E+ S; q7 L
  54. ---example---  j5 @7 Y3 E/ S

  55. ( v  S- {. t- d- g, C& m* o9 ~
  56. On a windows box, also running the MySQL server locally, it would be:, C) W% @, V! d- O( s( d4 L$ v
  57. ---example---
    & E! D* a. A2 B/ s9 q; X/ R
  58. [DBEXPRESS]
    ; h- X8 f! y/ v) K# Y
  59. sqldir=mysql_sql
    + t4 [" k7 u2 Q- M
  60. Drivername=mysql6 F7 N( L+ G. v$ ^: ^
  61. Database=test
    7 X& k* ^6 N- z" _9 U6 W
  62. Hostname=127.0.0.1" r5 n# D. M# Q" P: M: s' ^+ C+ D
  63. User_name=testuser
    - F3 S9 F3 m/ A8 r" ^
  64. Password=my_password8 r& S$ g. _' }
  65. GetDriverFunc=getSQLDriverMYSQL
    : S, g$ ^: M7 {* y4 _
  66. VendorLib=libmysql.dll6 S) J  ~( t4 u& U& `" c
  67. LibraryName=dbexpmysql.dll, a8 s+ f- m' I  V$ U
  68. Active=1
    " `% o, v9 i7 \( v8 ?# e
  69. ---example----% D4 l( ?3 @3 j4 Y
  70. - written 02.03.04 by pwk.linuxfan& }3 y( ^2 k: o6 L$ x, ]3 E3 B9 M( Q
  71. 8 F2 E2 G. l1 o! P* X; w
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看% \; Q! L7 i* q2 H/ e
  1. 0 m6 ~' @2 E* y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    2 X% ?- a6 J, P) G! l) x

  3. / R# z8 f  N* C, W. G4 T, g
  4. # # #我们所需要# # # . g" U, z& g8 k8 H/ U; }4 j
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件( m6 C& z! f( `) Z' }7 M
  6. 不会解释如何做到这一点-也有文件存在,为! P1 M: d" E9 f. q( x( e# F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用8 U9 H( m( w1 {0 a. j! O
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西& p; `# b2 G, @7 l. T
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    + {$ o( }8 o) r# C; ]/ A
  10. 本地机器,这是我的MySQL安装。 5 C  ]7 ^& [; C
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " b% a  b' N& j4 N. e0 A, Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 @  ~3 }# j) Z) Y) Y, v- p! k
  13. 数据库。
    4 z- W( ]5 A& H. y! V+ d8 N# {9 C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在$ M' J# b9 N; Z- @' u
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    " \* l2 J5 U: b9 Y( |
  16. 在teamspeak论坛,如果你有兴趣。
    6 E7 W9 i7 g4 W# x7 [4 E- m
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ; f0 }+ M- ^4 a) x7 Z5 X7 B
  18. Borland公司使用。这个司机只能界面与客户端库' ^! Q4 q0 O+ b2 ?
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: R) R3 C- ]& x$ l1 \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    + @1 q9 ^0 n$ y/ A
  21. " vendorlib " ,并解数据库连接。
    $ f$ J2 c. k4 f+ X7 g4 ^' t
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 T( q& Z$ V3 {! Z7 e+ L! X2 n
  23. , D! y& d* @! n! H' r: f
  24. # # #做好工作# # # 0 n% s5 U8 _3 E
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都. x# r- U! R) N
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在7 V" ?0 {! H, f8 b
  27. 结束:
    1 W* O2 }8 w1 S% F
  28. ---削减这里--- $ R- A! P( Z; L" y
  29. [ dbexpress ] . `! [3 p+ R! a: j3 L5 K' R
  30. sqldir = mysql_sql
    & W; U3 u$ ]! O3 D: j& F. r: T1 ^
  31. drivername = MySQL中' P& U6 t4 w; M0 I
  32. 数据库= your_database_name_here
    8 }1 |$ H$ p$ f; B: m4 y
  33. 主机= the_pc_the_mysql - server_is_on
    , y/ l" z0 U7 y# ^9 u
  34. user_name = user_name_on_the_mysql服务器9 x6 s3 R9 j4 }) q& x; J! t
  35. 密码= password_to_go_with_above_user_name
    : v6 }  ^2 T$ |6 d5 g* G
  36. getdriverfunc = getsqldrivermysql / n' q$ `' ?: j& L5 h4 I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    $ o( |" I5 L/ N, @* p& i! ?2 A
  38. libraryname = path_to_libsqlmy_libary ! L3 w5 P. G% J- B5 d9 k: U
  39. 积极= 1 4 e, i+ ^9 n$ i, D( K' ~
  40. ---削减这里---
    - ?$ g8 A9 e6 j
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    , b6 T# ]) Y) F6 {
  42. ---例如--- . U$ |( _  w! ~5 b  b- m3 }
  43. [ dbexpress ]
    3 l3 L3 G6 e9 i0 B
  44. sqldir = mysql_sql 2 ~4 ?/ C/ I* L7 C2 ~
  45. drivername = MySQL中: S0 l5 o2 d1 j+ {! x. G) z8 F% D
  46. 数据库=测试
    & ~( I# p# Q% k: P
  47. 主机=本地主机
    # x! J9 S) J3 y: u: M
  48. user_name = testuser
    8 ~/ H- b( i9 e" g& H* \; Q1 }9 L2 p
  49. 密码= my_password
    . v  t9 |$ |. O# [, s1 Z  O
  50. getdriverfunc = getsqldrivermysql
    * H- d$ u1 W! o1 F1 }
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ) s3 z+ q; g7 ?' W- Q/ r$ z
  52. libraryname =. / libsqlmy.so & K4 a6 K0 Q0 }5 g! A. E$ L, z
  53. 积极= 1 ' t  E4 j8 n: `5 D9 H8 u: ?  x/ }
  54. ---例如---
    " G* l5 e( B8 s' t$ M0 o4 t6 \: u# e

  55. 0 j8 r. o& J& M+ S
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    1 Q+ d8 i- [( I) I+ z; w: n  J
  57. ---例如---
    - u7 X6 H/ ]' D8 P/ \9 ?% H: l% E3 i( E
  58. [ dbexpress ] # R$ U4 Z0 @) }
  59. sqldir = mysql_sql 6 [% P) n' k4 O: Y
  60. drivername = MySQL中  `" E! n; N5 H( R  }
  61. 数据库=测试1 e3 x1 s7 ~. x3 A7 I$ i, q
  62. 主机= 127.0.0.1 7 L0 s$ B, Q8 t- L# l! w5 f1 {
  63. user_name = testuser
    6 M# ?2 a+ s% H5 T" ?
  64. 密码= my_password
    ( e- n. D0 G5 l) L' R
  65. getdriverfunc = getsqldrivermysql & w1 X$ ?( q  [4 b- e$ E7 n( v
  66. vendorlib = libmysql.dll在
    3 }4 V* d) c7 ^. C1 ]- d+ M: O8 W
  67. libraryname = dbexpmysql.dll , h* L9 i: r  Q0 R
  68. 积极= 1
    $ E. z1 B, G7 q* |* _1 f' K" @
  69. ---例如----
    & T! Z- z" c3 q$ q& X+ l, U3 A
  70. -写在0 2.03.04由p wk.linuxfan
    8 ~* e/ i; K( H( D! b
复制代码
发表于 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
3 O9 E7 k' ?" y
  v4 Y6 Z4 B; L! z4 ybut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-23 05:19 , Processed in 0.107582 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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