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

2543 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 A* O8 @; G3 d. f+ k  g

! V1 s! Q$ v& Y5 z
  1. ' e& p' c- X: s7 i; n! z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######" e! L( T# l* @( E3 v0 g. B

  3. 2 W: r5 U9 ?+ i3 i2 n: ^
  4. ### What we need ###% I3 U- N/ ?  r
  5. Naturally, we will need a MySQL server to store the data for us, this document
    6 _/ _0 X$ I3 [$ c4 ?
  6. will not explain how this can be done - there are documents out there for the
    5 W" c7 W' v6 F, N1 |: I. N' C
  7. interested. The requirements include a (empty) database for TeamSpeak to use' n  o6 ^- J. V; I6 S9 m, S  Q2 i/ i
  8. and a user account (username + password) that has the permissions to do stuff
    * _' {4 R3 C: i$ i( A* w
  9. with the database. Additionally, you will need a vendor library installed on the
      D; L: N1 b# p8 G  v
  10. local machine, this came with my MySQL install.
    ) I& [! D9 E# W$ m
  11. These instructions will not tell you how you might transfer your data from the
    6 t' g- R' C4 u8 S4 y4 C
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    % p* k$ o* h8 I4 I
  13. database.
    ! s# W" B- |- F% C
  14. Some users have reported ways to import a SQLite database into MySQL, but at
      g- P9 N# d( @! [; U$ H
  15. the time of writing, there are still too many issues - check the current status& o: ]7 X0 i* m: Y/ c5 [
  16. in the TeamSpeak forums if you are interested.
      ^7 T: F' M5 j5 I2 I7 T
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from, n) h  A- F( q
  18. Borland was used. This driver can only interface with the client library that / E4 P& K1 O) \+ Q' ]0 I" v# q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this9 G# G' _/ M, U0 S3 {+ G
  20. client library - basically all you have to do is to use a 3.x client library as
    4 G% Z+ J" q0 q9 c  a5 ~- k5 G
  21. "VendorLib" and a 4.x database to connect to.
    0 T. X$ {+ I5 A( o: ]* n
  22. If you need more info about dbExpress, you can contact Borland.& ?2 ?$ G' Y, P$ b

  23. 7 U2 S. `/ A: q8 o/ w# V: g
  24. ### Doing the work ###5 Z# z: }- p1 _$ ^( |0 }
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ( ?% g# I8 w# Y0 l( v
  26. the perquisites right, just open your server.ini file, and add this section at, [/ e7 C9 m( Q% N& E' X! O' K
  27. the end:0 z5 }5 E/ {- m
  28. ---cut here---4 f7 @8 |( U" l: A# N6 G1 e  I2 ]
  29. [DBEXPRESS]4 |" M5 j* B" f# E6 C) O* T
  30. sqldir=mysql_sql. h8 P' H+ {/ W' a% h. ^: y
  31. Drivername=mysql/ W8 U7 z, S1 O7 ~) ^$ A( |
  32. Database=Your_Database_Name_Here
    0 E2 R2 Z6 E% c7 V2 B+ W7 }* k
  33. Hostname=The_PC_the_MySQL-Server_is_on
    0 F5 G  `7 c! R+ p3 u/ J5 G
  34. User_name=User_name_on_the_MySQL-Server
    1 @; ?1 t! B( W0 U
  35. Password=Password_to_go_with_above_user_name1 C7 Q3 E* c* _5 R/ W4 K# P5 T
  36. GetDriverFunc=getSQLDriverMYSQL
    : _* ~, f1 G" _$ P" c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib- u" O* _1 E# B. d5 v) a
  38. LibraryName=path_to_libsqlmy_libary
    9 n8 g7 ?7 Q' \$ R
  39. Active=1" k; Z, t' l  `( m
  40. ---cut here---
    " E( a7 c6 {9 }6 [' T% L
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ( `0 |# \" |+ L6 P
  42. ---example---  Q/ P1 D: Z, W  G) y3 v
  43. [DBEXPRESS]
    6 q: q6 G6 B# I/ u% ?& b0 z; a
  44. sqldir=mysql_sql
    ' V: e: n) u& v& E6 V* ?$ t4 v, v
  45. Drivername=mysql; N# Z$ R5 L* w/ |- K' o
  46. Database=test, W% D. k/ d$ f
  47. Hostname=localhost
    5 h8 N4 e2 }) [2 J3 y
  48. User_name=testuser$ E) U1 p+ W- k' z% C' c# \
  49. Password=my_password
    5 q& w8 m* P# X$ S
  50. GetDriverFunc=getSQLDriverMYSQL3 ~3 g8 t8 x; W- j) {  W. x
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    $ M3 }- y9 S4 s/ N
  52. LibraryName=./libsqlmy.so" N1 W- S# k) O; W
  53. Active=16 ]$ B: s  |7 ^8 I7 y
  54. ---example---
    & [: C0 q4 _" H- u! H4 W
  55. 4 B" W: _2 I* U2 ^
  56. On a windows box, also running the MySQL server locally, it would be:9 p" p; A! U, a1 b4 I* q7 t& {
  57. ---example---) I2 r% V0 f, f0 m' d" e
  58. [DBEXPRESS]% E6 g2 q( M; H! d" q; |- u
  59. sqldir=mysql_sql4 x- V  U3 ]' Z
  60. Drivername=mysql
    8 r& m9 R- N( U- ^/ S
  61. Database=test
    7 S- |; V) O. [8 L: d- z: e
  62. Hostname=127.0.0.14 z6 q* ~4 g$ t  a4 F# s- p  D
  63. User_name=testuser1 {& B* d) C& N# s  }5 ~
  64. Password=my_password; T( y5 @. j" x; L% c& o
  65. GetDriverFunc=getSQLDriverMYSQL! f9 c& K1 v& E" E* B8 T& e
  66. VendorLib=libmysql.dll
    4 _  K6 n" R! O. b' @! c+ G
  67. LibraryName=dbexpmysql.dll
    3 i. S1 ^' Q: U* C: e
  68. Active=1
    - H! T0 A. \  T7 K& `! o
  69. ---example----
    8 e' X, k6 w6 w, Y1 `
  70. - written 02.03.04 by pwk.linuxfan6 Y9 T$ C. P! e. S

  71. 3 K( D, v- \( f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
3 o8 l; e% ]$ F

  1. ) h  u7 {5 q6 H. v
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 1 b- Z( K( d. F0 W0 m! v
  3. ( V9 e! p/ U% a
  4. # # #我们所需要# # # 4 z& A9 X6 K; {0 s) T% d
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件  M  }2 p$ Y) t# T4 r+ P# I
  6. 不会解释如何做到这一点-也有文件存在,为# Z( b5 h8 E0 m+ \$ T% }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ! }, e- j7 G7 q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. Y: ~  ?$ q4 b* {
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    1 L9 V' N0 l; F( S
  10. 本地机器,这是我的MySQL安装。
    4 E- J2 T5 O; [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ) T5 k8 T8 G" d! x- `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    4 I. f0 B3 X. w) g
  13. 数据库。 : g) v4 ~% V; `5 C
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : Y8 U7 @6 ^8 C# Z* i3 k
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    9 X  ~6 P( Y) b. C
  16. 在teamspeak论坛,如果你有兴趣。
    " Z, a4 k) ^, Z) r) T
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    * @( S) [' G7 v' A6 V" f0 O
  18. Borland公司使用。这个司机只能界面与客户端库
    & b% \' G: p( z
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    2 Q: C4 d- }& Y  s1 A" C
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    - K* q2 b  ]& Y1 n
  21. " vendorlib " ,并解数据库连接。 & W7 Q- i6 @) g: ^+ |, s  ]2 j
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    " \3 P8 [# ]- i3 Q
  23. : S2 s6 r$ x0 v: x9 K$ M8 X
  24. # # #做好工作# # # 8 e" U' b$ @! f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    6 u( w! k7 Y2 B6 T( R# k$ z
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* _3 b/ l4 W: L% T& K) S9 C2 x
  27. 结束: + S  D7 y8 w9 P: |
  28. ---削减这里---
    ! d/ l6 G8 m, |% G( l* a) ]
  29. [ dbexpress ]
    ( b9 P" d4 Y5 `3 ?# ?
  30. sqldir = mysql_sql   E# v; l* e+ S; y
  31. drivername = MySQL中
    5 j6 d0 l; f' E$ A
  32. 数据库= your_database_name_here ! I7 Q! c, n$ v9 H
  33. 主机= the_pc_the_mysql - server_is_on
    ; [* u$ s; K* `% r: I; t
  34. user_name = user_name_on_the_mysql服务器+ n& E5 _2 T( m- M$ o
  35. 密码= password_to_go_with_above_user_name 1 z. ?3 n) f" J# W. Y/ N; l
  36. getdriverfunc = getsqldrivermysql 9 M+ N# T$ M4 S5 K3 E3 `6 l2 _
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    5 ]( n. L% ~* W& m9 v% U1 s; O5 m
  38. libraryname = path_to_libsqlmy_libary 9 j$ P' Q, q) G. ~
  39. 积极= 1
    3 N8 J+ Z: K$ f5 P3 A0 P0 q2 |
  40. ---削减这里---
    3 M& y& j$ W3 D6 r# F
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: : U' f8 x  G" [$ T4 _% {8 S" Q: N% w
  42. ---例如---
    % S$ |! |" e; g$ G4 u
  43. [ dbexpress ] $ `9 Q8 d, U: ]! \
  44. sqldir = mysql_sql ; `& H  N* L+ Q% Y% T
  45. drivername = MySQL中
    ! g9 M' K' h* _( N0 N/ V+ \! H2 b
  46. 数据库=测试) ^* q, G- D% X' r4 t9 ^* c5 r( K
  47. 主机=本地主机0 n2 h) ]+ v- }/ J2 X2 C2 N' O% o# E; S) |
  48. user_name = testuser # u0 {' J' Z2 E# ]! I" u
  49. 密码= my_password
      q" o; f$ v( \9 i% K
  50. getdriverfunc = getsqldrivermysql # q3 L* w3 m- q4 m# G. D* K9 r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
      E( z, k, B2 ^# k. t7 U  U4 ?: ?' P
  52. libraryname =. / libsqlmy.so
    & s9 g: d. `& }, B
  53. 积极= 1 8 Z: s) M" c& z0 [
  54. ---例如---
    4 D' l" F. V8 ?7 z& v/ ]; K0 R
  55. $ a6 ~4 s' Y, v, R, J  k; `6 U
  56. 对Windows中,也运行MySQL服务器本地的,那就是: & y2 P* s4 a: S) r
  57. ---例如---
    , ^& Q: s. k5 `8 t  E/ J
  58. [ dbexpress ]
    0 z& H- N% I$ }
  59. sqldir = mysql_sql ! H8 v6 ^, E$ }( ^3 s5 V
  60. drivername = MySQL中# E  v7 k& U/ ~9 Y1 K1 y/ D
  61. 数据库=测试" l. y4 d/ B# l* {& |8 E9 X
  62. 主机= 127.0.0.1
      U- s. p+ y- X, r# I6 O+ f
  63. user_name = testuser
    7 U# ?% |: m- k2 A
  64. 密码= my_password $ b' h5 ~3 V7 J8 D' U
  65. getdriverfunc = getsqldrivermysql
    / g) \% x0 d9 q+ Y6 \" ]
  66. vendorlib = libmysql.dll在+ d% y, ?$ {' o. |9 W
  67. libraryname = dbexpmysql.dll
    ) Z; ~/ F$ \/ Q' d& e
  68. 积极= 1 + a: N/ A# t0 i# G1 F- H
  69. ---例如----
    + M% m0 l& ]) u5 X$ ^$ x( Z
  70. -写在0 2.03.04由p wk.linuxfan. w1 J# J7 N* x( 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+ Z) e+ o& k8 }3 t

; f) {7 k0 n6 v* E) c5 wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-22 17:12 , Processed in 0.103203 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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