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

2369 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 ~3 L7 v: O3 [* B" G1 Z! c1 w4 `. `
  1. 2 s5 M# x8 b2 q" E7 d
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######: r3 ~5 U4 n; \- P9 ~$ s7 o  l
  3. ( |6 s* ?- F6 P& T
  4. ### What we need ###
    0 D- |7 ]+ @0 t" T" M. W# B0 L
  5. Naturally, we will need a MySQL server to store the data for us, this document " h( O& e8 x# y6 m3 ]
  6. will not explain how this can be done - there are documents out there for the
    / k2 [. k1 ]& c% N5 S5 j+ }) l' S2 l
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    ; {1 k/ |0 v4 w4 Y
  8. and a user account (username + password) that has the permissions to do stuff+ `5 o- }. X2 ^( F% Y; j
  9. with the database. Additionally, you will need a vendor library installed on the
    4 B( k, F4 G" Q: P' T2 z  W! z
  10. local machine, this came with my MySQL install.. h# L2 S) s3 r/ Z7 B
  11. These instructions will not tell you how you might transfer your data from the
    7 w8 p8 ~3 a% u
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ m" t7 s" K7 n" Y5 _5 l
  13. database.; Q, y, U' q& F  X
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    % ^! d' M+ d" `  m8 R, F
  15. the time of writing, there are still too many issues - check the current status4 i+ @, |: Z( ]
  16. in the TeamSpeak forums if you are interested.7 p5 |' o9 E0 ~
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    1 Y  w0 i/ D; \% z) k0 e
  18. Borland was used. This driver can only interface with the client library that
    . A. s) L# p( [: V- y- h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    3 S; C6 [+ T0 I/ v# T
  20. client library - basically all you have to do is to use a 3.x client library as 6 F" K$ A+ @7 c. L0 h5 M* r
  21. "VendorLib" and a 4.x database to connect to.
    2 V2 R' m7 R. z; G) L' f
  22. If you need more info about dbExpress, you can contact Borland.+ b* E1 g  T+ D  R9 K

  23. ; p! m# ]' F' H  l, d' n/ ^
  24. ### Doing the work ###
    & X2 o6 b& |3 P( A- ^9 k  D
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ E4 y0 j# \6 E4 n: f
  26. the perquisites right, just open your server.ini file, and add this section at8 [6 b5 k9 r( E$ e- m2 S( d
  27. the end:/ Q) N# E2 @) J3 h
  28. ---cut here---& [. Q, q0 a& v" o* A9 T
  29. [DBEXPRESS]
    8 k9 ~4 @4 I$ C7 f8 k2 s! {
  30. sqldir=mysql_sql7 I, O1 d" ^* Q$ }. k0 [
  31. Drivername=mysql; N7 ]& f" Y- e, A; @: S. ]# U
  32. Database=Your_Database_Name_Here
    * p  K5 s( d3 p# |7 G  g' P$ x
  33. Hostname=The_PC_the_MySQL-Server_is_on, ^! Z5 u- B. [
  34. User_name=User_name_on_the_MySQL-Server+ P9 H5 L8 u7 N* C
  35. Password=Password_to_go_with_above_user_name
    + Y: ?, J8 r- O  J+ O" `5 |
  36. GetDriverFunc=getSQLDriverMYSQL/ H3 t% x3 j8 u* F* I
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    , i# _8 I; i% i/ y
  38. LibraryName=path_to_libsqlmy_libary+ m( N2 U# n0 T: z2 q( I
  39. Active=10 s2 ?( r; @/ l, A2 L4 K& K
  40. ---cut here---) ]0 f4 _0 h$ l5 U; Y
  41. In my environment (a linux box with a MySQL server running locally) I have:) a! }3 M: ^# Z9 ^' w- n
  42. ---example---
    2 J" {  s  E% I" ~$ M1 q' x* B* ^, H
  43. [DBEXPRESS]
    3 \8 C; ]9 R( P; i$ _
  44. sqldir=mysql_sql
    . l8 R, d6 I- d
  45. Drivername=mysql
    . o; z' t4 q6 c- b  m. B
  46. Database=test
    # y4 c) G5 S! |/ r! c0 M- n
  47. Hostname=localhost
    - v% S; P. O$ F" p
  48. User_name=testuser' N$ @: g4 v/ @! c4 C
  49. Password=my_password% a5 _! }) U6 |% |5 z) t$ X: G
  50. GetDriverFunc=getSQLDriverMYSQL3 G. K  A- H, U- f
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    8 C/ l, g6 a' y9 a. H) a/ r+ b
  52. LibraryName=./libsqlmy.so' W( l4 B, t7 p) R3 a$ d9 z; n
  53. Active=1
    ! u8 a- a2 H0 m/ I- x
  54. ---example---
    1 V' }+ `! j% {+ w" }

  55. # W$ a& @, d, ]+ l
  56. On a windows box, also running the MySQL server locally, it would be:
    # o# W3 h. s0 ]/ [& J( ^0 ?- F' d
  57. ---example---
    2 d8 X6 [2 V8 z0 f. E9 K
  58. [DBEXPRESS]
    4 r6 V8 Q7 O, h# ?) C( n
  59. sqldir=mysql_sql
    2 C7 W1 v& b! I7 p) q
  60. Drivername=mysql
    0 _+ g5 r" p- u5 X' ~9 F# H/ P% [
  61. Database=test
    2 G% S4 S2 F/ s- ]9 k
  62. Hostname=127.0.0.13 x4 H4 D9 q- N; k3 E9 N
  63. User_name=testuser
      z- W. i, Z" e- r7 X& o$ Q; }
  64. Password=my_password& V6 s1 k: M8 M- Z* M8 O  }
  65. GetDriverFunc=getSQLDriverMYSQL3 G- J$ i# c" m8 @8 S! n+ l! Z
  66. VendorLib=libmysql.dll
    - ^2 D( ~& B1 O# K) D$ I
  67. LibraryName=dbexpmysql.dll
    ! i9 ~0 F3 ~' |4 t
  68. Active=1* J8 w6 \+ l% y) E- D1 C( |# c* ^
  69. ---example----- O: C6 g% S" l9 e9 ?* T: r$ d% D
  70. - written 02.03.04 by pwk.linuxfan
    2 ]& ^* X+ |' |$ y; ], T, f
  71. 1 R; C* `- f: g
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ _6 A" z- K  ?$ G2 P

  1. ) E$ G5 C% p& N; @
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! N4 _5 v# u" D) Y4 z
  3. / `) E* W1 ~2 J3 l9 G/ K* M$ l
  4. # # #我们所需要# # #
    ; |( u6 ^: I+ c& e! P
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ( K1 z: B" ]* t/ _# G6 a
  6. 不会解释如何做到这一点-也有文件存在,为# M1 @9 e7 h  t- ]: O
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用/ s% F* x+ x/ e' q4 Z5 a
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 P' O3 c7 z) L. q7 q
  9. 随着数据库。此外,你需要一个卖方图书馆安装于" i( I4 A* |% l8 d  r- @
  10. 本地机器,这是我的MySQL安装。 $ ?* R( l6 i- |: }9 E' H
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    . i/ w% P! ]0 ^+ P
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    1 L. R3 `# R6 j4 K) k2 V! [
  13. 数据库。
    1 E) Z3 t$ {6 T1 t. g
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. i) p9 b) a% s) \0 B& T
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ! M& o, I; \* L5 ?4 q
  16. 在teamspeak论坛,如果你有兴趣。 $ {+ w6 x8 }2 b9 @) m0 A
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机" l+ m0 l8 r8 T
  18. Borland公司使用。这个司机只能界面与客户端库$ Z0 r# |: o1 s2 H2 g2 S# M1 @
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- i6 J0 Z3 ?7 y! y" ^
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为" U* M6 L8 g2 z  y4 P
  21. " vendorlib " ,并解数据库连接。 0 H7 b2 }  i( B  q3 h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 4 t2 u. R; h# B. B- E( b
  23.   O0 w  s/ S/ R+ q' t/ L
  24. # # #做好工作# # #
    4 v: X7 j4 ~2 X( z, T) ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    : d( w( a, j: ^! L5 K& _% o7 p* a
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在$ j. D' a. o9 v# M- D# J' A" u  P
  27. 结束: 9 d! p4 C* Z  A
  28. ---削减这里--- * E! U+ z5 v5 L2 @3 |- D& X
  29. [ dbexpress ]
    + s% [( c) S- y2 n6 w
  30. sqldir = mysql_sql $ p1 i# u3 j6 i; [3 M: U$ C
  31. drivername = MySQL中* b: Q: y" o% c8 P+ `: x- N
  32. 数据库= your_database_name_here
    6 ?, {7 X( [5 Q
  33. 主机= the_pc_the_mysql - server_is_on 4 T* g* O6 p2 g4 k
  34. user_name = user_name_on_the_mysql服务器
    % B6 \& @- _' J
  35. 密码= password_to_go_with_above_user_name $ `8 B0 b& P' t9 e
  36. getdriverfunc = getsqldrivermysql   y( `) V9 f& |' y$ B" x; v
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 7 i, |7 z  ^6 |# \' k
  38. libraryname = path_to_libsqlmy_libary * L: ~( d1 y( v6 ~/ a
  39. 积极= 1 . h7 @6 Y/ _; s1 I8 J
  40. ---削减这里---
    6 f) K7 X8 j9 r
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ; h* `! P" S1 ^. [8 z
  42. ---例如--- " C4 ?6 A# h" d
  43. [ dbexpress ] + D$ W7 H# _" }" W$ v
  44. sqldir = mysql_sql
    4 k0 L9 b! v% t4 ?5 O
  45. drivername = MySQL中
    4 g3 }+ ]2 O3 F. n
  46. 数据库=测试5 o# s' N, q0 @( }4 E
  47. 主机=本地主机
    5 T1 J, n' @* [3 r3 a) j( L! ~* A; ~# P
  48. user_name = testuser 7 _, x8 x# `) q( k6 s- q, h8 _: a' T
  49. 密码= my_password
    * r4 i+ h& U, e' y" R6 S
  50. getdriverfunc = getsqldrivermysql $ L& n; F2 @4 r0 q% j, }0 a0 y
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( s6 j; X' Q  E
  52. libraryname =. / libsqlmy.so
    7 @8 d' s- F: k9 \( _# N$ u7 X
  53. 积极= 1 9 I  M& p) h4 u* u: W" y( L
  54. ---例如---
    2 Y- U: ]& L3 k. b+ L
  55. + K, w  ~' [5 U
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ) S) i( q% h+ m' C1 y9 Y
  57. ---例如---
    - p5 n4 f' K" M$ W0 N8 `
  58. [ dbexpress ] - `" V7 A0 D1 G
  59. sqldir = mysql_sql + R: B# [& }* Q6 `/ T
  60. drivername = MySQL中- s& I7 [7 ]2 o0 Z3 c. G  z
  61. 数据库=测试
    7 S+ D: i5 i" T) h2 T( @: B  n
  62. 主机= 127.0.0.1
    + h6 @+ a* Z: L$ X2 ]& P- S
  63. user_name = testuser
    ; _, H* E. H/ p# |
  64. 密码= my_password
    4 w2 H! |. I1 k5 O' L# N
  65. getdriverfunc = getsqldrivermysql
    7 i% ]4 M3 J* h4 ^0 P% E) c( R$ m
  66. vendorlib = libmysql.dll在0 s( P- ~1 ~& w( v
  67. libraryname = dbexpmysql.dll 1 {9 N- P$ @  G  r& Q
  68. 积极= 1
    $ @4 X% {4 ?- s' a, W
  69. ---例如---- 6 M' [& v  ]9 l9 |
  70. -写在0 2.03.04由p wk.linuxfan7 `$ V5 b* m* I, M
复制代码
发表于 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
( S, k' [' Y- n
8 ?, @  i) ^, r( wbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-3-9 12:14 , Processed in 0.092824 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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