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

3368 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan # C6 c6 U( J  Y
4 y9 J2 U+ V1 |+ Q) i) c

  1. " [- D5 }# K, V6 G, C. f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######, N0 j6 {/ Q) `; x
  3. ( I% _* N$ [! j$ U" N  T
  4. ### What we need ###/ V* |! ~( A+ L; n7 i4 ~+ P
  5. Naturally, we will need a MySQL server to store the data for us, this document $ P+ A/ V1 \/ z% B/ r2 M& D
  6. will not explain how this can be done - there are documents out there for the
    6 K2 P1 l. X) n0 s2 g- q7 `2 T
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - Q; y4 A/ F# M0 R, E/ T
  8. and a user account (username + password) that has the permissions to do stuff+ J9 c+ P2 S1 g# u
  9. with the database. Additionally, you will need a vendor library installed on the
    / \: w% h8 z' H" H3 I
  10. local machine, this came with my MySQL install.
    * Q& b+ F% C0 ?. Q" L" ^$ A% t
  11. These instructions will not tell you how you might transfer your data from the9 N5 j3 D! J5 O( k
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL+ L0 p& w% a% t0 d3 @- T. L; e
  13. database.3 ]0 O  z* M+ |8 B" ]
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    # A4 y1 b. G2 p# ^5 Y! u
  15. the time of writing, there are still too many issues - check the current status
    1 r8 E+ A+ ~5 s1 u+ s
  16. in the TeamSpeak forums if you are interested.
    " g' H7 |5 h' s) N3 V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from& Q" s# e! ~8 y1 s- Z& `- [/ t
  18. Borland was used. This driver can only interface with the client library that 9 A# f3 Y( F3 B' W: L" y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this2 e7 b; f5 l7 E& N' {& r6 q: ^- ]
  20. client library - basically all you have to do is to use a 3.x client library as % p' f) F6 P& `( m- E! ]
  21. "VendorLib" and a 4.x database to connect to.0 \: Q1 `. n9 j$ L/ O
  22. If you need more info about dbExpress, you can contact Borland.) I; T# |; P" g2 f* l

  23. 7 I9 U6 i4 K: N2 u
  24. ### Doing the work ###
    ' v2 R8 B: ~; D! J3 o" e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; A+ E2 }3 e( w4 d  ]& x7 `
  26. the perquisites right, just open your server.ini file, and add this section at  N! h5 d7 [( J* Q+ p$ Q( }
  27. the end:
    . O) f$ K; H9 o, e
  28. ---cut here---0 P# K# [% o- N4 J6 \
  29. [DBEXPRESS]1 ~. x$ \, c+ R2 F; l8 O
  30. sqldir=mysql_sql
    / Y' X/ L* J& i" Z4 A! l  n
  31. Drivername=mysql
    / s4 G7 n( L+ [4 Z/ d( V  R3 q
  32. Database=Your_Database_Name_Here3 a% x: I# Q$ B5 v' S
  33. Hostname=The_PC_the_MySQL-Server_is_on9 M& K+ k) R9 Q; l3 S
  34. User_name=User_name_on_the_MySQL-Server% ~1 ~5 N* W8 J. B
  35. Password=Password_to_go_with_above_user_name% w# V' a7 C! Q2 D0 `, K
  36. GetDriverFunc=getSQLDriverMYSQL
    ( @- p$ C% I' ^" k. q
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : i2 M3 j0 `2 L! y" T" [7 ~
  38. LibraryName=path_to_libsqlmy_libary
    / B& }0 x& n6 G
  39. Active=1
    . j0 l8 O6 W: l- \
  40. ---cut here---
    . n) r( Y/ E) J/ g
  41. In my environment (a linux box with a MySQL server running locally) I have:
    6 A7 q" s0 {) N' z
  42. ---example---
    1 {# ?! L7 N! |5 G! }
  43. [DBEXPRESS]2 X. k% d/ W! ^1 x" e
  44. sqldir=mysql_sql) D  M& ^4 A( E* ?2 J- l: b
  45. Drivername=mysql
    1 l3 C' F9 h. G7 k2 ]+ Y
  46. Database=test
    3 i" m" L, ~+ g5 c
  47. Hostname=localhost. x( I2 x2 R0 s" K% }6 q5 x
  48. User_name=testuser
    : ?6 H! O( |  n- W+ m; B
  49. Password=my_password
    ; }9 l8 B3 g) F1 h; ~. w
  50. GetDriverFunc=getSQLDriverMYSQL
    . O2 a5 z) _/ A9 j
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    7 \% s* J/ Z9 p
  52. LibraryName=./libsqlmy.so  O6 m1 h6 ~4 t! L3 ~2 r* s7 w- @
  53. Active=1- `! W2 R( e! \- H& X
  54. ---example---
    ' ]. \6 [& X( U! q) E; ]

  55. 5 o+ u! v- I' ^9 L( Q
  56. On a windows box, also running the MySQL server locally, it would be:( a8 f& a! C, f/ Q/ u! R! N
  57. ---example---
    ; m7 n9 Q5 ]. i7 a
  58. [DBEXPRESS]
    4 |9 ?& t  n* q* {( Y' h3 l9 {
  59. sqldir=mysql_sql
    . M1 [9 o% N, U, s6 o0 F& T- ^
  60. Drivername=mysql
    9 s4 D8 F: S6 q" ^; _1 Y6 [# J5 ?7 V0 h4 B
  61. Database=test
    ; J+ W4 w* Q' A9 r8 q) h% |
  62. Hostname=127.0.0.1* J2 V; \0 U+ w; F- z$ z0 o
  63. User_name=testuser
    5 ?, Q2 s; N: C% ?
  64. Password=my_password$ A0 K7 z: g# W
  65. GetDriverFunc=getSQLDriverMYSQL
    ( @# k4 {& _2 c1 }
  66. VendorLib=libmysql.dll
    1 V' A# F( [9 P1 e' T) S) t
  67. LibraryName=dbexpmysql.dll
    4 t" L# @, q  A& R, z
  68. Active=1! s( [  h5 ?% R$ A+ `8 k% h3 \
  69. ---example----
    ; m( V2 X$ g( L, \( g. o
  70. - written 02.03.04 by pwk.linuxfan! y/ Y" o+ U$ ]0 i# ^! p
  71. " e( s, w3 D& P% Y) G, T0 V
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看# ]8 K, ^# k, R; k0 W6 C- N% U% E
  1. ) F! \. ^2 P( R, `2 V" @3 G/ j9 k5 X
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   k, |$ k7 A. x0 g: z

  3. 5 k' w: [6 ?5 |+ i$ \
  4. # # #我们所需要# # # # V9 m, e8 A6 [( g- |. V/ N1 E
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件5 Q% l( q8 d; t# C# X
  6. 不会解释如何做到这一点-也有文件存在,为0 R6 f. ]0 q; G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    ) N( e/ u  f/ ^3 V" D' H1 y; c
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西+ c+ d1 p# e/ c2 g3 G
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: G, c0 L, o) \: q
  10. 本地机器,这是我的MySQL安装。
    5 z1 ]& w; {* @/ |) p2 |8 s
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 W3 ]8 L1 ~5 _# F# p
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    + x& X1 a0 c: v" G0 x; \! Y
  13. 数据库。 $ `2 n" a" H- y6 u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    3 i+ b! e4 Q1 u( ?3 u. U
  15. 编写本报告的时候,仍然有太多的问题-检查现状* B  A: ~% b' R' c- W% ]0 t6 i2 x
  16. 在teamspeak论坛,如果你有兴趣。
    3 c' n# X$ F3 p. Y4 z9 p7 X
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机0 k2 t- @& J1 d# O; I: p/ U
  18. Borland公司使用。这个司机只能界面与客户端库4 Y& J6 b9 t' l" P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这: V% k% s& C$ Y$ {: n: q
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为5 o* C- C7 G2 U$ l: {7 D% R0 k
  21. " vendorlib " ,并解数据库连接。
    # r$ x8 t4 B2 J0 G$ m4 t" }1 Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 # v: [: D* J0 ]# \: J0 ]
  23. " h2 J" `3 z" t* g- O  _5 H0 v' p% S
  24. # # #做好工作# # #
    ) ]; X& `7 s2 w+ b; E6 G' C
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    9 B' H8 o( d2 k1 v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* o9 l+ Z- a  l
  27. 结束:
    % p, l6 _0 Q. O; [
  28. ---削减这里---
    5 O, a3 s. m: z4 T2 E
  29. [ dbexpress ]
    / O* W/ n# B) F3 Y9 {1 ]
  30. sqldir = mysql_sql : Z/ I* v$ b4 j7 n4 g) k* W  p- W) g
  31. drivername = MySQL中
    ! l5 g  C* V; U
  32. 数据库= your_database_name_here
    4 s7 D5 R/ m7 t6 D  Q7 R
  33. 主机= the_pc_the_mysql - server_is_on
    ) ]3 [3 ^3 z" B
  34. user_name = user_name_on_the_mysql服务器5 U2 A2 u/ C- U0 W
  35. 密码= password_to_go_with_above_user_name 7 W6 g6 B( ^7 [
  36. getdriverfunc = getsqldrivermysql 0 N/ y9 i, `+ ~; h
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : S+ o8 Z5 X; Q# m3 {, R
  38. libraryname = path_to_libsqlmy_libary
    # ^  E/ n) N8 V. u3 ~
  39. 积极= 1 / t" F; J, Q: k5 m7 Q
  40. ---削减这里--- # D- |) n( H! @+ y  Q; ^) l
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ! E( f0 a$ j/ Z3 c* a& I
  42. ---例如---
    9 Y0 O- O, n" n; h# a6 \
  43. [ dbexpress ]
    * r5 w" J# @7 p7 y4 \# c
  44. sqldir = mysql_sql * W! q5 m4 U( L$ B5 w% L; ]" q5 F( R4 n; j
  45. drivername = MySQL中) }9 k# X7 t2 x8 Y
  46. 数据库=测试. ^) ^2 \2 Y" Z! B% ~/ V# k, I# N
  47. 主机=本地主机
    ; N( o, L; C5 G! M+ L! n7 v) T, N) a
  48. user_name = testuser
    : d- `" P- p8 p1 t
  49. 密码= my_password 6 k% G7 z9 f. ?/ [( P$ f2 G2 t
  50. getdriverfunc = getsqldrivermysql
    , @+ @: @' Z4 b& e- `
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 $ @/ {2 A' F! ^3 V3 W  g: K/ L
  52. libraryname =. / libsqlmy.so : k% L* y2 }! Q, m9 ~# s5 y
  53. 积极= 1 9 N9 f# l1 f" y) f) R
  54. ---例如--- / J0 u- r" q% y! I- \* A
  55. $ l8 Y) S; M! ^6 k, |
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! t9 r. N- o1 [7 W0 S- n. `
  57. ---例如--- ; r# \1 [6 S6 O. |
  58. [ dbexpress ]
    0 z2 C5 B2 X+ \% l  B* Q1 _% X
  59. sqldir = mysql_sql
    ) ~# A0 Y/ z- ~# O7 i
  60. drivername = MySQL中1 ]: f1 c( j# o) u" i" }
  61. 数据库=测试
    # p3 |: {5 A' e- R1 @
  62. 主机= 127.0.0.1
    + i; f* h: a' E0 i
  63. user_name = testuser . R% Y  P1 I1 b& `  E
  64. 密码= my_password $ x( ]' \. _" ]( d8 W
  65. getdriverfunc = getsqldrivermysql
    * q4 x+ D$ T/ U2 Z' t
  66. vendorlib = libmysql.dll在
    " m3 C/ V' d& q4 Q
  67. libraryname = dbexpmysql.dll
    1 V" L+ v5 f- s1 B2 ~  n2 K
  68. 积极= 1
    8 F8 ^+ o1 Z4 F0 h$ \& u1 ~: D
  69. ---例如---- ' N2 c: v" s2 }- Y  _9 @' j
  70. -写在0 2.03.04由p wk.linuxfan
      B1 ~% m# d9 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* |* z. W9 ^9 `0 a2 z2 b1 r) u4 V

7 g9 a; x. ~( G2 Tbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-10-21 03:08 , Processed in 0.090962 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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