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

3281 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 L" Z  N% r4 K0 x8 w* X  s; F

7 T: h) U  p! e

  1. ! P5 A! I0 @: J7 `! a/ o$ D
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: M" S# `4 G* A6 b
  3. : V( M+ U; \" M7 F$ `/ ~
  4. ### What we need ###
    7 U! g3 S8 R/ m# M7 w
  5. Naturally, we will need a MySQL server to store the data for us, this document
    + [$ W" R% R+ Z0 B
  6. will not explain how this can be done - there are documents out there for the ( H' s9 l$ w4 V, Q# d! x5 z( a6 T7 E
  7. interested. The requirements include a (empty) database for TeamSpeak to use+ s1 h3 D! I" l
  8. and a user account (username + password) that has the permissions to do stuff
    $ n1 @) z8 J: O( L2 Z+ h: u
  9. with the database. Additionally, you will need a vendor library installed on the" v: i7 m- [, g# v
  10. local machine, this came with my MySQL install.% K8 t$ u& p; w" u) h
  11. These instructions will not tell you how you might transfer your data from the+ f! G% i) c" }: D3 D% q  M/ q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 q3 g& r% a8 d7 I8 y" E
  13. database.
    ( y2 _& a7 k7 n% T" V$ E3 j
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    8 L  v1 N' `4 C$ h  o  u
  15. the time of writing, there are still too many issues - check the current status
    - U& E/ @, w" d: j4 ?; q
  16. in the TeamSpeak forums if you are interested.
    2 x4 M: R* @# t+ M8 c9 i
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    7 i& d1 ^) R! _
  18. Borland was used. This driver can only interface with the client library that
    2 @: E4 h" k6 e5 a7 ^: H# r
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % c% j7 Q8 r' {
  20. client library - basically all you have to do is to use a 3.x client library as / s1 N9 w8 O( g" Q" n6 b
  21. "VendorLib" and a 4.x database to connect to.6 @' r7 H& J0 I7 M- h
  22. If you need more info about dbExpress, you can contact Borland.
    8 \% e4 T# G- x7 P( N. d& Y

  23. ) e" N, Q, N& y* {9 }2 V- ^
  24. ### Doing the work ###3 g6 d8 n; e1 h0 J- Q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / r6 p! J9 I) {: k5 ?) R
  26. the perquisites right, just open your server.ini file, and add this section at$ e5 I" Y9 m: z4 f1 L
  27. the end:4 y( t& `1 [% R4 n
  28. ---cut here---# M. E) |! F& i0 G- b" Z! V: [2 s
  29. [DBEXPRESS]. s3 V& P! T1 x5 P7 k' x
  30. sqldir=mysql_sql
      {* [0 Q8 ?6 d" _
  31. Drivername=mysql% ?0 l/ g$ D; d6 {* F
  32. Database=Your_Database_Name_Here
    + N' x% m* r( v
  33. Hostname=The_PC_the_MySQL-Server_is_on+ Z: s( n9 ]! h3 Y3 H
  34. User_name=User_name_on_the_MySQL-Server! ~; S% S* B! J7 M% U
  35. Password=Password_to_go_with_above_user_name7 O' Y" J, J& ^+ s- e
  36. GetDriverFunc=getSQLDriverMYSQL
    ! S9 U' d, X2 Z  m* c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib! I+ |4 Z7 \- @0 P6 L
  38. LibraryName=path_to_libsqlmy_libary
    " b8 z" Q% v2 L! ]  k, s8 o( h
  39. Active=12 m: z& v$ ?" s& _* Z
  40. ---cut here---8 w7 q( F4 O( W: {* D
  41. In my environment (a linux box with a MySQL server running locally) I have:6 J- R4 k* M" k
  42. ---example---' |) X5 v1 Y* T6 E) v
  43. [DBEXPRESS]) n5 Y8 _" v3 s5 K6 ?; o
  44. sqldir=mysql_sql
    $ H6 D9 a4 N! _$ Y
  45. Drivername=mysql
    2 E6 K1 d& F+ a& [) A4 z3 t
  46. Database=test  K) O& }0 i& X0 y* W& f6 s9 {" G* J3 W
  47. Hostname=localhost
    : Z5 D5 Z& J8 d9 q/ Y( @- q
  48. User_name=testuser
    6 P4 U! e! N9 b: o! Y3 p
  49. Password=my_password  @/ U# X5 ]( \9 o9 u+ n
  50. GetDriverFunc=getSQLDriverMYSQL4 S7 R& k7 [5 y. _! q
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    3 B5 W1 k8 e0 t
  52. LibraryName=./libsqlmy.so
    5 k/ n+ B; k& ?5 u; ?8 }7 i
  53. Active=1
    ' L7 O' ~0 b+ H7 G8 w
  54. ---example---
    + k7 p5 b5 E3 i2 N8 s

  55. ( p# [( [( u: P$ H3 U& [. q9 ~& d
  56. On a windows box, also running the MySQL server locally, it would be:0 Y' \5 C8 d0 v! {
  57. ---example---
    ; {, p8 t- x* e, Z; w+ U
  58. [DBEXPRESS]
    2 @* s% [9 _  H" H
  59. sqldir=mysql_sql) i0 \! V9 I# t. x) m
  60. Drivername=mysql
    9 h( [8 U  t% w! t3 @7 }
  61. Database=test
    $ N( [. y% o' S6 Q  Y" E0 |
  62. Hostname=127.0.0.1
    0 U/ W7 t" x$ k, Z
  63. User_name=testuser
    4 u* ?6 t6 [$ \9 C1 j2 o* z
  64. Password=my_password
    + I8 [( e( w" l: x# G- C* t5 s
  65. GetDriverFunc=getSQLDriverMYSQL
    ! N, U7 O+ u. C* k
  66. VendorLib=libmysql.dll  a' G7 P7 s* b1 \6 u+ [2 {
  67. LibraryName=dbexpmysql.dll
    2 T  b( B( _+ ^$ L8 H; _6 Q
  68. Active=1
    " j) A% C" r. X
  69. ---example----" b6 k" ?& t. v0 H# w
  70. - written 02.03.04 by pwk.linuxfan
    ; n8 Y( B2 Q& e# U; Z: j) @
  71. 9 B2 ]2 Y- N, F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 L* z4 ?5 a2 I. O6 P% R
  1. $ I2 Y  U5 k- p' v6 A( H3 \$ }' v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    . v+ E9 ?6 D, W+ i

  3. & H) \( E% a" K8 Y+ t3 h+ T/ }* Z* i
  4. # # #我们所需要# # # & v7 w7 ]/ q0 K% q
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 u: E$ @& X0 d2 L3 e9 Y
  6. 不会解释如何做到这一点-也有文件存在,为
    ! F) ~8 `7 Q( p* D" B( w9 ]4 o% p
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用6 F1 w& h! d2 f2 p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & ?: {  i) `# D2 M: ^: \! Y" P
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    4 ^: k1 M4 M/ y/ v3 Y6 t+ q
  10. 本地机器,这是我的MySQL安装。 * @" V3 }& b1 B3 J+ y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 o4 J$ p1 J' a3 F9 o# ]0 T6 x
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 7 [* S; u, {( |* O
  13. 数据库。
    1 b8 G) _5 F* i5 q' ?0 u; d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    ; E3 o% f- L7 K& P6 B+ o7 s/ s
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ( I+ r7 @: }+ K2 v3 F/ v4 z
  16. 在teamspeak论坛,如果你有兴趣。 8 c$ n8 {; j% l/ m9 G
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    , E+ ~: }/ h, }: k
  18. Borland公司使用。这个司机只能界面与客户端库% h' {* f3 P6 Q
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 Z8 `2 g" `" ?7 F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    5 Y5 ]) i) b" x! v( }* [' y& ~+ ~
  21. " vendorlib " ,并解数据库连接。 2 b' I( M3 f" D" M0 Y' B
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ( Z. O; m; @* `! `& j

  23. - `" }8 {* D/ P3 a
  24. # # #做好工作# # #
    & L+ H. q. ]6 f" Z: T' T
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都1 @/ X$ W( L7 w+ N! O1 Z# G4 y
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 _+ S0 @% S0 r% S0 l7 p
  27. 结束: ; {9 O) u- d- A7 h+ z1 v: b; v/ _" _0 f
  28. ---削减这里---
    9 J: P4 z; g& h
  29. [ dbexpress ] . {" V+ i7 N$ B" v4 h2 o8 {
  30. sqldir = mysql_sql : R1 o( R& ?4 C0 T8 Q
  31. drivername = MySQL中
    1 A. T0 i; P* q
  32. 数据库= your_database_name_here 0 W, ~/ F$ J" ?; G* x; o
  33. 主机= the_pc_the_mysql - server_is_on
    0 g5 h: f0 K% H0 l/ o4 Z1 O- M
  34. user_name = user_name_on_the_mysql服务器
    9 I" Z+ J) _# w( |* r
  35. 密码= password_to_go_with_above_user_name 2 P3 c1 y" g. r  v- ^3 W0 D: V8 z; x4 e
  36. getdriverfunc = getsqldrivermysql
    " S1 K( Q: l" c% g: V  A/ u$ T
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 S* Y4 B3 Y$ h2 [; y& G
  38. libraryname = path_to_libsqlmy_libary
    + n3 m2 `# v/ G9 j5 b- d/ a) I
  39. 积极= 1 . P% N! D$ d! x% f2 L
  40. ---削减这里---
    : x. m# I4 k% y6 c
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : j- J+ }- j# b8 d; ~
  42. ---例如--- % ~# c7 f( ]3 L( K- `; A4 x, K
  43. [ dbexpress ]   O5 v0 u* j" _: {! f
  44. sqldir = mysql_sql . Q( ^5 D1 J! a
  45. drivername = MySQL中
    ' f; y, |$ y) D/ G& `5 ^
  46. 数据库=测试- ]; Q9 w6 ?; e; q, F! {3 g* V' ~
  47. 主机=本地主机" {0 P" u, M2 \( H8 g2 Y' M
  48. user_name = testuser % y9 q9 w+ H, d+ [
  49. 密码= my_password
    5 C; `; y2 ?: f, x3 `  X
  50. getdriverfunc = getsqldrivermysql
    5 w" b$ L8 h8 u
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 M: e( M2 b2 f: H- B' C( `: w
  52. libraryname =. / libsqlmy.so
    ! m% h7 u4 e" q/ B
  53. 积极= 1
    1 V! G  d' `; ]6 S1 e; h. b
  54. ---例如--- ) a6 t" M: E2 ~* ]- j

  55. . x8 l8 x. c- W1 l% b
  56. 对Windows中,也运行MySQL服务器本地的,那就是: " T6 ], H5 ?+ \  ^7 N
  57. ---例如---
    3 {/ a3 A  ?" x: r' f: o
  58. [ dbexpress ] 7 `; Z4 _5 }$ ]! W
  59. sqldir = mysql_sql
    9 U, L, f+ s4 N1 T6 s) J
  60. drivername = MySQL中
    / J6 r( J) k: B5 l$ f- ]5 \
  61. 数据库=测试
    & w& w/ S8 ~4 @/ i; ~" _: D6 V
  62. 主机= 127.0.0.1 0 B; \9 C+ l. _; C4 f
  63. user_name = testuser 4 Q5 n# z9 c  x: R) [! L: H
  64. 密码= my_password
    0 u3 n# A$ h, C  \+ J# B
  65. getdriverfunc = getsqldrivermysql ; o+ {. D; c" i8 C+ s$ H
  66. vendorlib = libmysql.dll在# H, l3 S# K8 z  e2 S3 k
  67. libraryname = dbexpmysql.dll
    ( m, E6 D* E% w9 G+ H
  68. 积极= 1
    9 F0 E( |, z: b
  69. ---例如----
    8 r* {- ^2 z  Y3 U4 v
  70. -写在0 2.03.04由p wk.linuxfan
    2 f" X8 |3 }, _1 T. ^
复制代码
发表于 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" ]6 c* X% C' N
+ B# Q1 j  g, J  T! i. W, _
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-2 22:19 , Processed in 0.095509 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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