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

2560 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( k3 p7 A7 j$ H; |- ~

" m$ I+ w6 N: z/ M

  1. 1 x0 \3 `9 K7 Y' J: N  c0 K
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * k5 M# P$ i9 G* X6 O
  3. - `9 ^( n  Z0 `- a& z8 F
  4. ### What we need ###9 k# g9 w1 `& S6 E1 _# H
  5. Naturally, we will need a MySQL server to store the data for us, this document
    . f$ k0 W) F3 p0 n% g2 ?  s( q8 h
  6. will not explain how this can be done - there are documents out there for the % ?* ]( i0 b6 A) P; Z
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 S  g. u6 A$ |: d# m. r
  8. and a user account (username + password) that has the permissions to do stuff( c2 _" s9 \: n1 u4 e
  9. with the database. Additionally, you will need a vendor library installed on the2 m0 c4 ~6 c: u. K7 M
  10. local machine, this came with my MySQL install.
    6 @% A: O3 `- _9 |+ v2 I
  11. These instructions will not tell you how you might transfer your data from the* v! G" W; c) Z' f+ Q; @- N
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
      ~% J' |7 d) N, }  m# |
  13. database.
    ! Y# q$ i6 Z* H4 k
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , b; }$ ~" Y; K4 h5 N# O0 u: A
  15. the time of writing, there are still too many issues - check the current status! Z: {5 j! }5 }( C
  16. in the TeamSpeak forums if you are interested.
    % B  [5 T: m# Y
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      Y3 `& d, ]9 G  `1 c; i8 E
  18. Borland was used. This driver can only interface with the client library that
    ! X% R" ^. b) E& i% {
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this$ V0 M; U8 z2 j; U  c  n$ Q
  20. client library - basically all you have to do is to use a 3.x client library as " M/ F. H& L4 {( M- z
  21. "VendorLib" and a 4.x database to connect to.* }/ N# [# w" G/ o7 ]$ {
  22. If you need more info about dbExpress, you can contact Borland." R2 ?: m9 i2 s! j5 K/ k
  23. 0 z6 _: r5 e6 M4 L) Z( f
  24. ### Doing the work ###
    + w3 z2 F4 p' D' {; L  K
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all% Z6 Z1 |2 i6 h5 D. |. o
  26. the perquisites right, just open your server.ini file, and add this section at8 n% B: D. |8 |7 H; X
  27. the end:4 I- i. a- @5 _1 X2 X
  28. ---cut here---3 T0 G0 X; A; i8 m) e$ ^/ ^1 x' O
  29. [DBEXPRESS]3 s# O1 m' H, [6 d1 Z
  30. sqldir=mysql_sql6 P" x) R1 U4 _# H0 z
  31. Drivername=mysql
    + M( p: C4 s# D0 B! C4 x
  32. Database=Your_Database_Name_Here
    ) _- ~2 r$ o' z( q
  33. Hostname=The_PC_the_MySQL-Server_is_on
    : W6 y% z, d3 s& ?
  34. User_name=User_name_on_the_MySQL-Server
    3 y& k7 Q6 L. t5 G! }) K7 g
  35. Password=Password_to_go_with_above_user_name
    1 V' s* V- Y$ a2 O& D
  36. GetDriverFunc=getSQLDriverMYSQL
    , R% J; z3 i% p! `- H" [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    3 H" ~& F0 }/ D5 C: J
  38. LibraryName=path_to_libsqlmy_libary
      i  z7 O4 v, r$ a2 \5 P, J! q
  39. Active=1& E- w: ]( g3 }. U
  40. ---cut here---
    # _  v: I  D. y. {. ~; V  p$ w
  41. In my environment (a linux box with a MySQL server running locally) I have:6 E- H0 ^7 w5 t  {
  42. ---example---1 @8 |0 ^/ j; ?
  43. [DBEXPRESS]  T+ ?+ x  `% M! F, o
  44. sqldir=mysql_sql
    : ]  {7 f7 E9 R1 I! D
  45. Drivername=mysql
    , {1 Y1 k3 i! R1 ~$ h
  46. Database=test
    ; Z, v9 t: _/ `0 j: V: U
  47. Hostname=localhost
    5 c. G: D8 G" A! H& g
  48. User_name=testuser* a4 t6 Z* X6 w, j
  49. Password=my_password
    / q9 S. b' ~3 T" C* i! g
  50. GetDriverFunc=getSQLDriverMYSQL+ o% G3 [. U! y; X7 p
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: z5 u6 U, @  G( D. x
  52. LibraryName=./libsqlmy.so
    , G" i5 S' l3 h4 E3 c0 r) R
  53. Active=1
    . h& p7 b+ G8 G) a( d( H
  54. ---example---3 P1 H" J1 e/ j4 O8 `% W0 G

  55. , Z- ]5 Z% w8 c
  56. On a windows box, also running the MySQL server locally, it would be:! R' }9 g. C6 s7 Q+ s
  57. ---example---7 k, `- g3 I: C; ?6 e1 j7 E; T
  58. [DBEXPRESS]
    - y( M2 ]# J2 t- B4 m
  59. sqldir=mysql_sql
    ; E5 n1 ?( z( E  b4 J+ @
  60. Drivername=mysql  L2 i5 v+ V0 U! ?0 `1 _
  61. Database=test# P! ^8 g# t' E$ L, g
  62. Hostname=127.0.0.1
    ' C9 _) e$ K# Z
  63. User_name=testuser$ F- v; E: E4 l- B8 w; n
  64. Password=my_password. S6 O: M, f& A
  65. GetDriverFunc=getSQLDriverMYSQL6 A" w  h0 c; ]) ~8 m% E! {
  66. VendorLib=libmysql.dll
    0 j9 B& h& ~- C1 u) J8 ?- x; w
  67. LibraryName=dbexpmysql.dll
    ! W$ R. x- ~7 l' t1 Q
  68. Active=1  c! L; Y) y5 N9 @- U
  69. ---example----
    5 j1 w* b/ O. G/ y
  70. - written 02.03.04 by pwk.linuxfan( S1 g0 w% D( l# L' I3 T; V/ n

  71. 4 o$ M* a8 w; k0 m
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看( N# K/ X3 Z. |. P/ K0 _$ d3 A8 ~

  1. ) L! {1 V7 d/ h& v" P# v3 _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    & F$ l, b: m3 U8 `# s' t6 O- o

  3. . b' P. `2 i* Y9 e* y# F" F( R
  4. # # #我们所需要# # # ; i1 u) ]4 |3 Y
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件# k! g5 d: {7 X# N
  6. 不会解释如何做到这一点-也有文件存在,为
      Y& ~" V5 {! i* S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    7 w! t* e2 i3 w: g) D
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    5 Q' l- W+ n# p6 B2 r  c( T6 ^
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    6 I) N: d2 i' u4 B- M* m; a
  10. 本地机器,这是我的MySQL安装。
    1 H) }9 c8 A  U/ Q( Q- ~- Q: O
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    4 l+ D8 m& }$ e* w4 j! C
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 2 z; P8 n# H) k9 c& a" S7 z; p
  13. 数据库。
    # L" L' Q, G; F/ n3 Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    # F( Y7 x5 b1 @, r4 L9 y8 I7 s( D
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    $ W9 E+ r; d+ x. A( H& V
  16. 在teamspeak论坛,如果你有兴趣。
    + Y5 S6 U& o& n3 Z" a, [& ^
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机5 c& k# b( K/ P3 E  T% s% s, d6 T
  18. Borland公司使用。这个司机只能界面与客户端库% C0 L6 [% g, ~% s
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    8 o4 _" l; {3 ^9 s' f  K& M7 W
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    . i2 p* D7 N+ c& f, `
  21. " vendorlib " ,并解数据库连接。
    5 d+ H& V& F1 E, Q
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 * p7 f# x* N. U4 |, m1 k5 C- X

  23. " G6 o, c6 p) S' }* N: T# [
  24. # # #做好工作# # #
    , i, x' }# i: f, z" l+ o
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都$ W# H0 E* C5 ~7 T" f5 P& [. r
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在& K* L0 V' m9 W" D1 S' i
  27. 结束: 7 a5 s2 B3 Z# |+ B( g4 H
  28. ---削减这里--- 9 M+ I! }4 {7 Q4 V4 ~$ `8 ^( S
  29. [ dbexpress ] 2 Y" U0 r6 {$ F. u6 Z, v8 Z
  30. sqldir = mysql_sql ( `/ K7 L0 r; m9 x* S" Q1 r7 a
  31. drivername = MySQL中7 s+ u* F9 ^3 T* a* f
  32. 数据库= your_database_name_here
    + L% c* z& e' {( r, K* Z
  33. 主机= the_pc_the_mysql - server_is_on # T2 |5 Q! B4 R9 K8 R7 B+ X1 ]5 f
  34. user_name = user_name_on_the_mysql服务器
    ) x& s0 y! W! H+ x& E
  35. 密码= password_to_go_with_above_user_name . g1 f5 Z2 n2 I4 ~
  36. getdriverfunc = getsqldrivermysql , b; v; p* K5 U- o7 _- t
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib : ~' j) f8 {; i$ i$ G
  38. libraryname = path_to_libsqlmy_libary 8 M% S7 `6 @' |
  39. 积极= 1
    0 x; f, d2 F" K9 @7 d9 \: F
  40. ---削减这里---
    8 o) M5 y1 j- ^) v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 e: m- z$ y- d/ H! h+ B
  42. ---例如--- & p% |4 i" a2 L4 Z  E9 J
  43. [ dbexpress ] 4 p) q+ Z. Y7 g  N
  44. sqldir = mysql_sql
    , _8 T2 \8 x1 Q. Z5 R. a/ |
  45. drivername = MySQL中
    3 B  [  l0 I; ^  t" I8 S  A7 h
  46. 数据库=测试2 d1 y* [# I; q8 l3 z' V  k: A. I
  47. 主机=本地主机
    # a0 t6 n. C7 [, N
  48. user_name = testuser
    & c* |* F( L0 F2 K8 @
  49. 密码= my_password ; T0 x/ ~* ]! m* s" k
  50. getdriverfunc = getsqldrivermysql , k# `- Z  B; p! T+ Y3 i5 ~  M
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 x: j/ m, }, c
  52. libraryname =. / libsqlmy.so $ d- T$ _& M/ b9 u! E9 a. i5 r( N  |
  53. 积极= 1
    ) g+ {8 i' l' f$ W& u
  54. ---例如--- % q2 A! E! _, b) X5 E* B

  55. 3 M7 J  r) L; F5 i3 `+ ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ! v, w9 W5 i1 X' r+ I
  57. ---例如--- / i& N$ y: @0 P, b5 z" x
  58. [ dbexpress ] + o2 z. O# S+ O: t' L
  59. sqldir = mysql_sql 8 C! O) `& S9 s8 R# ]
  60. drivername = MySQL中( s$ u1 y& B3 u, `, V: ~. _; Y
  61. 数据库=测试
    $ {5 n4 k" {* y, v( y8 g
  62. 主机= 127.0.0.1 0 ~# m2 W6 b4 g, D- h
  63. user_name = testuser 2 \/ `! V0 \8 z1 I( e
  64. 密码= my_password
    ! g1 H" t5 u4 i8 _
  65. getdriverfunc = getsqldrivermysql ) c$ i1 A6 H3 M2 e
  66. vendorlib = libmysql.dll在% M4 N; d9 M2 L
  67. libraryname = dbexpmysql.dll
    & O5 G3 @# }% U' z1 q* T
  68. 积极= 1 - }. [! @7 G- S, H% B1 c  k% U
  69. ---例如----
    ! y; C2 i" L! |, K8 Y9 e* X
  70. -写在0 2.03.04由p wk.linuxfan% b" O7 x% L9 t3 |! a. O3 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$ e$ l4 @: L- M) Q7 i$ \

0 A2 W% p  u! i  ~4 g/ nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-4-28 07:57 , Processed in 0.129959 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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