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

3545 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan - X. ?( }7 O6 N6 S
* G! ?0 t8 R4 G- j; q4 N
  1. 2 c5 b% u8 l% F0 o8 I+ u1 Z
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    & I8 j  N- }* l6 O1 n$ m" |

  3. $ Y! t: }1 A* K+ h
  4. ### What we need ###  d7 M* m" E$ j
  5. Naturally, we will need a MySQL server to store the data for us, this document
    / Z' {/ q: b1 x( O4 D$ R. o3 J
  6. will not explain how this can be done - there are documents out there for the
      w+ \! _: S% M& E5 t0 T( l
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    2 J: P' w" q3 S
  8. and a user account (username + password) that has the permissions to do stuff
    8 N  y$ J6 P' s4 ^! J
  9. with the database. Additionally, you will need a vendor library installed on the
    - k3 ~  Z# ^2 T; u6 x9 a
  10. local machine, this came with my MySQL install.
    2 Z* K& C/ u7 q% m
  11. These instructions will not tell you how you might transfer your data from the
    * r/ z& E1 L: s# I, Q
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    . F" a( L1 W" ?
  13. database.3 C$ g/ h4 H" t) }7 o/ S  i( p# Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at& }8 g- w3 K; x, G
  15. the time of writing, there are still too many issues - check the current status
    ; V; [/ l. ?" [6 z! b; v% p5 G6 F
  16. in the TeamSpeak forums if you are interested.
    % c! i2 M1 T/ Y3 ]6 t# v
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 r2 O3 ], K" q
  18. Borland was used. This driver can only interface with the client library that 2 T- i9 l: r1 O( ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this$ Z* V& H, G0 k; B
  20. client library - basically all you have to do is to use a 3.x client library as 9 l) p2 E- {5 K
  21. "VendorLib" and a 4.x database to connect to.
    ' q4 l! [3 U* @
  22. If you need more info about dbExpress, you can contact Borland.* |2 u) g  v% ^) d5 h  Y4 x

  23. 9 V5 x: G' u9 N" k) s
  24. ### Doing the work ###
    : `# ~9 C# l  M* p& z: q
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    # F* [5 D' E  ~6 p6 J
  26. the perquisites right, just open your server.ini file, and add this section at
    & E( b6 a, t: r& ~: U: s
  27. the end:4 z7 s5 M. c9 X) f. y
  28. ---cut here---
    ) J/ ]0 E: ~4 ]" d# s1 W
  29. [DBEXPRESS]
    $ c/ b! P8 w2 B/ I" H
  30. sqldir=mysql_sql3 X' J  F1 z" ^
  31. Drivername=mysql) f  K" x8 r1 X5 ?
  32. Database=Your_Database_Name_Here
    . {  ?2 D1 a; u- H1 S. Z
  33. Hostname=The_PC_the_MySQL-Server_is_on
    " v- O7 P) x  i1 U: j
  34. User_name=User_name_on_the_MySQL-Server* n& k, i% f7 s
  35. Password=Password_to_go_with_above_user_name3 F; `  J3 p' j" I
  36. GetDriverFunc=getSQLDriverMYSQL& b8 S2 ?& s6 v- J+ s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    0 L( k$ s5 a: F/ R* B% H$ H
  38. LibraryName=path_to_libsqlmy_libary  N& y, j4 g+ R7 }0 h. G; |  f* I
  39. Active=1- ?2 z; p; J9 D) o& i" o" r
  40. ---cut here---2 ^8 N# D! X, z# E" i6 t" E- D
  41. In my environment (a linux box with a MySQL server running locally) I have:. E9 }: Y% \! p' I
  42. ---example---
    8 s5 n7 C7 v  P0 S$ q: h. M
  43. [DBEXPRESS]
      o" X) E: S% S1 y& w3 e
  44. sqldir=mysql_sql2 S' s; h1 m4 c( m# O
  45. Drivername=mysql
    9 M- I4 R$ h% G' J3 p
  46. Database=test* y5 I. d1 w3 u! ~0 a
  47. Hostname=localhost
    8 a1 u. i! K9 B
  48. User_name=testuser
    ' o' W) ~# j- E) t7 r
  49. Password=my_password% L0 ?) y2 C* ~9 k% z* c
  50. GetDriverFunc=getSQLDriverMYSQL
    " V" h0 M8 e/ N& S! g) m2 z5 U7 o
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0* ]- H4 a* r' d) v
  52. LibraryName=./libsqlmy.so: L% y- g' @6 C; r
  53. Active=1
      k* x; ^( N2 n9 W
  54. ---example---
    ! i+ B$ h$ T7 u* x
  55. & K1 o! ?, W& ]0 z9 D/ B
  56. On a windows box, also running the MySQL server locally, it would be:; P# E) w* ?: ^3 U% A6 A' g" t
  57. ---example---8 i9 ^: M# S! q0 A
  58. [DBEXPRESS]
    3 q+ @9 B, \! i; f5 U- R2 A1 R
  59. sqldir=mysql_sql3 L+ Q% P  E5 A2 e6 \2 y
  60. Drivername=mysql
    6 i* m& M5 ]* p- u' H" z
  61. Database=test% c7 ~5 V) v* F* e
  62. Hostname=127.0.0.1# z( @! X, Q5 A) C
  63. User_name=testuser# }7 t% A# i; C% M) K$ s
  64. Password=my_password
    2 d% {0 c$ N3 N! W/ k0 `3 v
  65. GetDriverFunc=getSQLDriverMYSQL
    9 f! }. a6 u; K! p8 F
  66. VendorLib=libmysql.dll
    0 e, S+ v2 O9 s  c
  67. LibraryName=dbexpmysql.dll
    8 a/ W. K; G! Q# f( M
  68. Active=1
    " N7 o! }' M& E5 ]
  69. ---example----
    + V6 b& {4 r8 p. A: }& O
  70. - written 02.03.04 by pwk.linuxfan
    7 q: k( @( v) c) S! c

  71. 0 e  o: P5 [/ p/ ]% _0 t- e5 O
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ _( ?1 P* r- n4 a) u7 s

  1. / F. a+ Z0 B$ c8 \) g' K' R' M
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### , l) K$ z) S! w) o
  3. ( |( `9 K7 s3 m7 |/ m
  4. # # #我们所需要# # # ' X. ^# n2 A$ d: v0 \) U# j+ ]9 a
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    ' O7 ^, t) }# y" o9 a2 V' w4 Y+ D
  6. 不会解释如何做到这一点-也有文件存在,为& s, y6 A& g( ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用7 n# H5 O& Q0 U# w* q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西6 b; Y' E0 U' a9 r5 A3 J
  9. 随着数据库。此外,你需要一个卖方图书馆安装于) v/ S- n$ {+ b  |9 k+ S; K  R
  10. 本地机器,这是我的MySQL安装。
    ) K: M. z4 i  W* U+ A9 e
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    : i, _1 t6 k8 I+ h
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL   T' ^% T/ c' t9 F- G! n  J
  13. 数据库。
    ( }9 P$ o7 b8 i* M' P
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在1 f, @/ o% Z0 ]3 m/ I
  15. 编写本报告的时候,仍然有太多的问题-检查现状- z8 J% m" T) b4 X4 T. y" ]  `7 y
  16. 在teamspeak论坛,如果你有兴趣。
    , V, E; z8 |6 W# V
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 v! E1 j4 ^4 {# f1 H. ~: c
  18. Borland公司使用。这个司机只能界面与客户端库1 t2 S: z4 q# q8 p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这! z7 R% G4 f$ f8 F3 ~0 `3 f
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为8 |' X; c. |* o
  21. " vendorlib " ,并解数据库连接。 * Q4 S3 [/ c7 ~  B" {9 J  O
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ; N- p5 Q1 [2 H$ y
  23. 6 n4 t2 W& z" Y9 y
  24. # # #做好工作# # # ) F5 ?" k2 `7 R' x" U. g4 P; v* }# _, V
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都& v$ h4 C, E8 L; _& K# Z$ _# v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    $ @/ b6 |* o8 x6 _
  27. 结束:
    + p2 b) _& T0 C) k6 v( L4 y7 ~
  28. ---削减这里--- ! [- S9 Z7 o9 P& i/ A
  29. [ dbexpress ] # o0 S2 D8 j8 ~! `
  30. sqldir = mysql_sql
    0 ^- r; h6 f4 c+ R& H. z. T
  31. drivername = MySQL中
    ' X/ {0 a5 r- D8 F! `
  32. 数据库= your_database_name_here
    " [3 b+ v8 v! L7 a9 G- d, r) l' X
  33. 主机= the_pc_the_mysql - server_is_on
    + z6 x5 B$ k( j
  34. user_name = user_name_on_the_mysql服务器
    6 Y* `8 `! e5 ~
  35. 密码= password_to_go_with_above_user_name 2 O$ |9 Z: F- X
  36. getdriverfunc = getsqldrivermysql 7 i8 F, r, P5 Q4 ~2 p# r9 s# U
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   Y7 A  x% D6 ]5 M
  38. libraryname = path_to_libsqlmy_libary
    , y8 J& T$ e5 ?, R
  39. 积极= 1 # J: t0 b) V$ z1 a9 \+ i
  40. ---削减这里---
    ; d9 `3 U" J7 h  l5 T
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
      S# a" \! X+ E4 e7 E1 U% `2 x
  42. ---例如---
    : c) O0 V; l3 H
  43. [ dbexpress ]
    $ K( f& p' x) m; T
  44. sqldir = mysql_sql
    " M, h+ q3 q1 b5 }; ?7 }
  45. drivername = MySQL中
    4 [5 w; _1 k8 G. J* V8 J1 M
  46. 数据库=测试* b6 `+ ^; y/ n7 ^, f* Y
  47. 主机=本地主机+ H% h# `5 f2 W9 F, s
  48. user_name = testuser ' Y$ z% C3 j, v% C0 H; [& J7 D
  49. 密码= my_password
    - E' q: ^, z* P
  50. getdriverfunc = getsqldrivermysql
    + s) r* v. z4 ?$ |6 [; _8 I( m( [
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 . w5 C8 A& r% n9 U
  52. libraryname =. / libsqlmy.so
    ) [$ N! P/ D) ?' _' I
  53. 积极= 1
    $ W4 A- r) |" I5 A, n! f0 O8 D, ]+ }
  54. ---例如---
    1 M  d  X6 f" k, G) f% d8 O! {
  55. ( s& z5 r* t! \$ ]# Z
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 2 `) L, b+ @! y0 R5 y
  57. ---例如--- ; m& }2 L: a, n6 {$ n+ \, C% H; @
  58. [ dbexpress ]   ?$ l, C! T! o/ u+ x
  59. sqldir = mysql_sql
    / y' o6 R( q7 }5 h
  60. drivername = MySQL中' L* z& f: f6 ], q# L% |  N
  61. 数据库=测试
    ' n8 e# O% r- y4 A, a
  62. 主机= 127.0.0.1
    2 Q" A8 Y, u7 l) g' V" b* R
  63. user_name = testuser
    2 e5 K3 v+ k. n  d. Q
  64. 密码= my_password ) H5 j) g, ^5 c7 f
  65. getdriverfunc = getsqldrivermysql
    9 B. b2 j  R! a& O9 ?; X
  66. vendorlib = libmysql.dll在3 A- J. D. p& K; \6 Y1 \8 l4 u) c
  67. libraryname = dbexpmysql.dll , s' ]  P, x% b; h) X! w' U0 R
  68. 积极= 1 4 L5 [! a+ k6 _+ c% J
  69. ---例如----
    ( L( t7 F# q6 D; U
  70. -写在0 2.03.04由p wk.linuxfan" Z" W2 r7 c8 ]' l) O9 N
复制代码
发表于 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
# m- T9 {; f! s' O- ?4 J9 f- d* [1 p
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-21 00:52 , Processed in 0.061343 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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