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

2766 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan * Q1 n2 c) t& ]$ f- q/ k1 K* J
  r1 o6 Z% ^' H8 A

  1. & ^0 W* P5 Z$ v" y8 x: L
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( a. H$ w' ~% t2 ^
  3. 4 s# `4 I8 `( c2 x' l5 a
  4. ### What we need ###4 l/ |3 _$ F% K& i& Q" P
  5. Naturally, we will need a MySQL server to store the data for us, this document ' w6 R# t* |! D5 g+ [3 [& S& I
  6. will not explain how this can be done - there are documents out there for the 7 p0 [# }( T: F
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    * X; C! v) F8 C& w3 J" v: i/ P' }
  8. and a user account (username + password) that has the permissions to do stuff, f  D- q9 d! \8 b
  9. with the database. Additionally, you will need a vendor library installed on the
    ; U; ~0 x6 {& B6 {* ?8 |$ @. a) k7 A
  10. local machine, this came with my MySQL install.. a8 u8 J7 x3 x
  11. These instructions will not tell you how you might transfer your data from the! U% a# Y. ^8 ]0 u! `2 ?
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL, x( t" r0 G; D" M% i$ A
  13. database.; X: q' r" Y" X
  14. Some users have reported ways to import a SQLite database into MySQL, but at; [8 ?8 i. Z! G1 G4 o5 \7 v; Z
  15. the time of writing, there are still too many issues - check the current status
    4 w" \  g4 R9 T% M% l3 e$ f
  16. in the TeamSpeak forums if you are interested.
    " y. }& B! s- m& M' N' N
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from1 ~4 a7 s0 Q/ q3 v, A
  18. Borland was used. This driver can only interface with the client library that
    % o* ^* G& T4 \4 T9 O5 c! m) w: ^# X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ) ~. s6 \9 M$ E* [8 M: P+ n1 c
  20. client library - basically all you have to do is to use a 3.x client library as
    * t' a" Y9 M) _, T3 j; h
  21. "VendorLib" and a 4.x database to connect to.0 I+ O8 b" J) I: u0 U. t  j# H
  22. If you need more info about dbExpress, you can contact Borland.
    8 z# v+ h$ X& q) Y' q( K; E

  23. * e3 m, |$ S+ \" c2 U4 O
  24. ### Doing the work ###$ h0 S0 t) x' C/ \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 ^: ^6 }2 E& u2 n& @2 k' y
  26. the perquisites right, just open your server.ini file, and add this section at/ }: N0 U% A8 C- w( x
  27. the end:5 I1 W; h2 x5 ?0 J" v/ ~% r
  28. ---cut here---
    ' @( R3 Q3 g$ J. J& e/ D6 z7 s) d
  29. [DBEXPRESS]
    " U  ?' O1 H7 ]
  30. sqldir=mysql_sql9 M8 \; G0 [! i* C# I' W
  31. Drivername=mysql
    5 q) g0 [5 F' G0 U, Q$ z
  32. Database=Your_Database_Name_Here
    3 t+ J, l, R# s" q5 j
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + g0 s9 A( v; N/ p, j: u
  34. User_name=User_name_on_the_MySQL-Server
    0 A- f% t5 }. x! S2 O5 G
  35. Password=Password_to_go_with_above_user_name
    # g2 ~6 \$ J* v" p$ B/ n* u3 |
  36. GetDriverFunc=getSQLDriverMYSQL& b. \# x5 U: ~; J, l# r8 d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    * x. N1 Q, b6 {6 ]; a1 b% w
  38. LibraryName=path_to_libsqlmy_libary  Z+ C  N, S8 n0 r# j# O, V  i7 e
  39. Active=1# `3 n2 ~! m& F3 e) m' L2 \
  40. ---cut here---( H, w# Y' G1 i: s
  41. In my environment (a linux box with a MySQL server running locally) I have:( _7 N3 v) H( s
  42. ---example---# O1 {2 [. u2 ?, L6 }# q
  43. [DBEXPRESS]
    5 i2 g, m! ]% [2 ]
  44. sqldir=mysql_sql
    7 u7 U& J) _$ ?. S" ~5 t# J
  45. Drivername=mysql
    * n6 A2 I' l" y5 e
  46. Database=test
    1 e' l! d2 C# C+ {+ g2 A
  47. Hostname=localhost3 _. f: Q) [3 @$ Y( z* D" }
  48. User_name=testuser1 j- P# {* p3 `; M; B! B
  49. Password=my_password/ i9 y  W' l% G) e4 R
  50. GetDriverFunc=getSQLDriverMYSQL! S% c$ U3 |% W
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 z# N+ T1 m1 V1 Q9 W
  52. LibraryName=./libsqlmy.so
    0 B( U1 E, o/ S7 s1 j- W
  53. Active=1
    " N1 H) V1 a$ N- P+ L
  54. ---example---
    1 t. c/ k1 r, P

  55. ) q6 r6 N! C' s1 ~
  56. On a windows box, also running the MySQL server locally, it would be:
    " N2 a2 d8 f' U7 L+ A, [# Q  s, r
  57. ---example---7 j4 O& f2 c7 D! H
  58. [DBEXPRESS]
    ; o4 ?& G* @! n
  59. sqldir=mysql_sql
    0 s% B  |/ [& Q( r8 k- m8 E* _; M
  60. Drivername=mysql! [# T  e& `/ z3 T7 B
  61. Database=test! m8 z& U$ I+ `  i' b
  62. Hostname=127.0.0.1
    9 ]% L" `9 Z& O% q3 k
  63. User_name=testuser6 ~2 Q" B" @8 Y% k3 E  W% B
  64. Password=my_password
    4 [) V9 l$ d2 B' k$ h
  65. GetDriverFunc=getSQLDriverMYSQL: R( j. O' d# |$ \" d, u: T
  66. VendorLib=libmysql.dll
    9 c# P* T1 P# l2 R# s1 S. F7 o0 b
  67. LibraryName=dbexpmysql.dll# a5 d: P4 R  P0 h7 Z
  68. Active=1
      O5 t& [8 o. X* Z/ f4 ]% J2 N
  69. ---example----  s7 _* Q6 s0 ^8 d
  70. - written 02.03.04 by pwk.linuxfan0 O! o5 d8 V8 a" K
  71. , i1 L, f! Y  @  W3 c7 x
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
/ ]' e7 s. }# d' n

  1. 1 m' Q3 l, L6 G# `1 ~% O- g
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ e% p8 k5 M1 W( H
  3. 9 L; m5 F1 N2 J
  4. # # #我们所需要# # # $ G! K2 Y- H7 n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    , z* _$ p, M1 G7 K0 }- T
  6. 不会解释如何做到这一点-也有文件存在,为
      ]$ x! A0 O! K# q2 L9 ]
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ O7 H0 G7 r/ A# h$ [5 i
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' p0 f7 b& X# k% B  U
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    3 |# v: `( [$ w4 {
  10. 本地机器,这是我的MySQL安装。
    0 a& a& Z! [0 i% Q9 ^$ o
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从1 c1 d8 W, T# o- Z( _7 D
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    7 y/ ~1 n5 `7 r: U' U5 R
  13. 数据库。
    8 D6 Z' d9 ?( w6 b
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    7 v% H+ @$ b6 c
  15. 编写本报告的时候,仍然有太多的问题-检查现状& J) V6 [, o3 U
  16. 在teamspeak论坛,如果你有兴趣。
    : Z! H/ c: l! _0 F8 v
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机2 Y8 L' N' I. L4 H' O! a/ D- D
  18. Borland公司使用。这个司机只能界面与客户端库( s; ^0 m% g- [; J3 z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    6 H5 ?1 l, G  I7 j; M5 p' n7 b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为3 a, D3 r' _; k( y' D
  21. " vendorlib " ,并解数据库连接。 ! X6 H' I& Y/ s
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 X* v& o4 ^+ O
  23. * D* I) o" b! h4 \5 v
  24. # # #做好工作# # #
    ! ?8 r8 G. `# @- o5 F5 G+ i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' a! W6 ^( i. }& |
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 u" O. H) ~1 z1 H
  27. 结束:
    7 `8 L1 s2 w. ?( {! d
  28. ---削减这里---
    # E4 c8 O# b  Y; d+ _6 r6 @
  29. [ dbexpress ] ) P/ s; _% M$ [1 r: _& d# M
  30. sqldir = mysql_sql 5 ]  N" W+ O: i4 ~& `- y' q% \
  31. drivername = MySQL中
    $ L% ^% E# E% v0 k0 c9 X
  32. 数据库= your_database_name_here
    # Q) }8 I2 \7 f, T- [, ~
  33. 主机= the_pc_the_mysql - server_is_on " {% f6 ^* F" O9 |+ s* I! m
  34. user_name = user_name_on_the_mysql服务器
    # C- `3 b1 I# G3 d
  35. 密码= password_to_go_with_above_user_name
    7 x- P2 Y2 l6 _: S3 ]
  36. getdriverfunc = getsqldrivermysql
    ' c. C1 g: A% N$ [
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( t! k8 V6 z: N
  38. libraryname = path_to_libsqlmy_libary ( J! l# h0 t. }" h" Y) k
  39. 积极= 1 ! z$ C' B3 x  \& U
  40. ---削减这里---   h) u, l# b8 P1 \# v  G5 }/ c1 E$ i
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    3 ?7 |5 Y1 ?0 d% m
  42. ---例如---
    ! f$ z0 W# U$ }" M" I7 J! a
  43. [ dbexpress ] 4 T9 N' R! T9 K
  44. sqldir = mysql_sql
      S9 M1 t8 |: C$ e/ d8 f
  45. drivername = MySQL中
    - F) S( d( x3 q
  46. 数据库=测试
    : a) O. \6 q9 ^; |- \9 g- d3 Z
  47. 主机=本地主机/ Y8 }9 g; `# B3 H0 J
  48. user_name = testuser
    ! `, x/ `! L" }
  49. 密码= my_password
    ' P% I/ @+ `# B2 h% O1 `
  50. getdriverfunc = getsqldrivermysql
    ) p- T& H6 @3 x9 M3 ~
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 & K2 O+ `7 q% E9 M
  52. libraryname =. / libsqlmy.so   ?. W4 \0 z7 A
  53. 积极= 1
    2 ^! F: O8 i' Q  H# G5 U1 o
  54. ---例如--- : j4 J3 F, K. _$ D0 o3 R' v* I
  55. , x3 c/ @* A% y# L
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & K# m2 j( R7 r) R* R8 i1 L
  57. ---例如---
    ; \) I4 a0 L, w9 A
  58. [ dbexpress ] 8 d3 D- }) }" ?
  59. sqldir = mysql_sql
    5 Q5 X# N) U4 B, n% O
  60. drivername = MySQL中+ G5 @0 F0 M7 C. p
  61. 数据库=测试
    # E9 D) J8 e8 N8 w
  62. 主机= 127.0.0.1 ' e: G7 |, K0 Q/ I
  63. user_name = testuser ( }8 y& X* ]' M3 J
  64. 密码= my_password
    ) Q" l; a$ d9 x: A' {$ E( l8 A
  65. getdriverfunc = getsqldrivermysql ; z7 `! |  M$ w1 {9 F$ O
  66. vendorlib = libmysql.dll在
    / R+ p" o' b0 D* u7 s& ~
  67. libraryname = dbexpmysql.dll & }5 f1 b* u* Y
  68. 积极= 1 % S4 |8 U" L/ E7 Q" R
  69. ---例如----
    3 F: b8 E% O9 }& x: |2 Q( G3 ~# M
  70. -写在0 2.03.04由p wk.linuxfan6 }! b& h$ N5 S+ N' H, n! Q
复制代码
发表于 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 words0 D! s. w  ]5 L7 H2 X+ e

2 ?. S4 ]- `8 A# n( c% Pbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-16 09:39 , Processed in 0.083824 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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