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

3175 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
4 u1 N8 x! N8 Y# T5 O" Z& I7 v
  I# m8 L* U6 H) A0 s( U
  1. 9 X) ~* v# p5 N7 r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######5 @! x0 H- y1 F# k7 Z
  3. ( q' n3 Z$ l  c/ F: W9 [" p' M5 s) f
  4. ### What we need ###/ T1 c) q- K: ~$ S3 k7 \: j- w! x# j
  5. Naturally, we will need a MySQL server to store the data for us, this document
    . O1 W" i% M5 X2 a6 K: v2 Q
  6. will not explain how this can be done - there are documents out there for the
    0 a4 v2 R% p4 \6 Z9 q7 |! R+ q
  7. interested. The requirements include a (empty) database for TeamSpeak to use! {/ H3 e. x, _# q- e
  8. and a user account (username + password) that has the permissions to do stuff: V7 N* A! a8 j8 q7 N
  9. with the database. Additionally, you will need a vendor library installed on the; c; w% h3 N, \! l2 \
  10. local machine, this came with my MySQL install.: w& G8 B) y3 L% R" @; Z3 e
  11. These instructions will not tell you how you might transfer your data from the
    $ g, B; {1 _7 s4 U2 i4 b- I
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL5 E( R  q8 z& p
  13. database.3 _+ X' F- g$ E) t' M
  14. Some users have reported ways to import a SQLite database into MySQL, but at# ^, O  |% i; W: d0 d; I) t/ ?& v# K
  15. the time of writing, there are still too many issues - check the current status
    * ^- H, |5 H8 f' t5 [% }
  16. in the TeamSpeak forums if you are interested.2 K5 w5 y2 _- ^) e! j# V
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! j) i3 _/ E' P/ Y6 I; ]( J
  18. Borland was used. This driver can only interface with the client library that
    ' @. ~9 \/ D3 B' k$ `
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    % }; i6 c+ R* P) I! p1 e8 Q
  20. client library - basically all you have to do is to use a 3.x client library as - \! A8 S. q4 m6 g6 G
  21. "VendorLib" and a 4.x database to connect to.
    ) i  i4 p: `1 {) W
  22. If you need more info about dbExpress, you can contact Borland.0 m' V1 i) ^( Y4 h* \- l) n# j" p

  23. + T: v% M2 n- i) G( M
  24. ### Doing the work ###
    ! H# K* l) u5 B( t" C" i- Q8 w
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all+ `' y* l$ U9 c9 ?% I) \
  26. the perquisites right, just open your server.ini file, and add this section at7 c3 e+ V- v8 x( }! z9 d
  27. the end:
    % w) G* m" O6 D$ [" @
  28. ---cut here---
    0 ?1 g8 g" m, I$ b
  29. [DBEXPRESS]( S8 r& G, A7 j
  30. sqldir=mysql_sql
    ! A! l# C4 f; g3 G( p! ?
  31. Drivername=mysql* P0 k% B4 a! d/ q! X  U+ N0 N' w
  32. Database=Your_Database_Name_Here
    0 }0 W  m+ u( m# I) q
  33. Hostname=The_PC_the_MySQL-Server_is_on$ P& Y& H$ i* B7 ~* E' V
  34. User_name=User_name_on_the_MySQL-Server! N, I3 d5 G6 y. g
  35. Password=Password_to_go_with_above_user_name
    5 ~# x; _5 a- u. G5 z
  36. GetDriverFunc=getSQLDriverMYSQL
    - [) b/ g' {( E  i4 j; F5 b. L
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# F; ?8 v, O: V8 F- B
  38. LibraryName=path_to_libsqlmy_libary/ I6 |; h, d; I* {0 T. ~- \& ]
  39. Active=1
    1 V# d: p  h8 `: ?" q: G' V% f+ f
  40. ---cut here---: I/ F2 `$ n5 P
  41. In my environment (a linux box with a MySQL server running locally) I have:( d1 S) K' E7 f8 F
  42. ---example---; ~! k4 ]7 V& v! }$ \1 b2 |
  43. [DBEXPRESS]
    ; P+ L" b+ T3 F9 o2 e8 T; u
  44. sqldir=mysql_sql4 C9 N0 `  @; u) f
  45. Drivername=mysql
    4 Z' J. r$ M: I
  46. Database=test! r6 ?% o* l- v6 L6 @
  47. Hostname=localhost  n& _6 V! x' w# ~7 T5 r& k- I) F
  48. User_name=testuser
    0 V* Y- g# \5 V7 W5 w% d- Y5 W
  49. Password=my_password
    . E4 s4 ?8 U9 m: ~( h# x
  50. GetDriverFunc=getSQLDriverMYSQL
      O# K  K# J, e4 G
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ! a4 `$ C# K1 [! R
  52. LibraryName=./libsqlmy.so
    5 ~# v! f- C  ^6 K' m3 w% T
  53. Active=1
    , I& y( c5 q2 c: n: x( F* B( d- ~
  54. ---example---8 ^9 y. `$ Z) q) x' z' v9 \
  55. ( Q" ?( G6 K/ U
  56. On a windows box, also running the MySQL server locally, it would be:; l8 s3 P% [9 e% O+ I
  57. ---example---! Y* i2 l& P, q: I9 C  a
  58. [DBEXPRESS]
    ) I/ w2 H4 `( n
  59. sqldir=mysql_sql
    3 \& I2 H( P4 T& K6 [. y
  60. Drivername=mysql
    3 k' h2 ~. Q) x0 ?, q
  61. Database=test" c" u! u& a/ n
  62. Hostname=127.0.0.10 ?/ o, h: `9 L
  63. User_name=testuser5 ^4 O4 G4 v7 k; k
  64. Password=my_password& \1 [; W8 ]3 f; h" y. Z" I' A
  65. GetDriverFunc=getSQLDriverMYSQL  d$ f& M8 o! Y* i  Z% }. n- R
  66. VendorLib=libmysql.dll
    $ O3 j% t- [( w* C6 Z7 M/ |! q
  67. LibraryName=dbexpmysql.dll
    / Q8 A0 U1 n7 i
  68. Active=1
    5 D& r2 k# Q' V4 S  H4 A* r
  69. ---example----+ Z, S# v: S" |$ S  f4 R4 V
  70. - written 02.03.04 by pwk.linuxfan4 v8 g+ o" H) m+ @+ Q8 ?

  71. ' [3 ]( A* {! @* ~& ]' S
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看4 D$ s: Z( j) b! l
  1. & L" H) K# X/ U/ u( |: b2 F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######   @( H( P, o3 Z  F- q7 W

  3. # r+ V  k1 |" f$ c. K. H; t9 S
  4. # # #我们所需要# # #
    : a9 z/ m3 W& U2 t$ m. N
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    # B$ x, W4 ~- i0 c, V9 w
  6. 不会解释如何做到这一点-也有文件存在,为
    6 N/ H* a- W- k4 N; y6 ^
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    : H: }8 \, I$ V3 v1 ?% |; Q& ]
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : C+ t0 C' e# l1 z6 r
  9. 随着数据库。此外,你需要一个卖方图书馆安装于" Q4 H+ u# C! }
  10. 本地机器,这是我的MySQL安装。
    3 P, N8 \, g8 s* U+ p  g
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从2 N1 m4 T5 v& y9 }" w' g
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    % q) m+ G  \# O2 x0 M
  13. 数据库。 ; K; {5 o- x) U$ ?$ s
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 T4 b0 p% |  o# W+ z
  15. 编写本报告的时候,仍然有太多的问题-检查现状3 b; q' R) Z% ^' I/ z0 n
  16. 在teamspeak论坛,如果你有兴趣。 ' t1 T* B) ]0 y# F" Z- T' @
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    9 x& Y$ W7 [+ y% R
  18. Borland公司使用。这个司机只能界面与客户端库
    5 N! ^1 G  W- p- M7 s& h% w( e/ l. j
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这9 Z' x- m' |. ?
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为* G! l4 [. l3 @) G
  21. " vendorlib " ,并解数据库连接。
    $ _0 h5 D: ~/ t- q' V6 w
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    : @. n& m9 R2 m% Q2 c

  23. 2 [, B0 Y7 x2 h% W' ~4 X; p+ N7 Z
  24. # # #做好工作# # # / p" f5 o9 j" p% V" n4 Q, H( D! k
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    & K, R/ t4 b$ `& N8 y3 Q& K
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    0 l2 e/ G' w- I
  27. 结束: % W% t# i" b" @# ?; X
  28. ---削减这里--- ; s5 d: D- [% \' k- q! k- ~+ i8 W
  29. [ dbexpress ]
    # A6 o! {* q8 ]2 n! ^% E
  30. sqldir = mysql_sql / _! o' L, B1 a. T; d, ~
  31. drivername = MySQL中
    * H' m5 F3 |9 n. o7 \
  32. 数据库= your_database_name_here : f1 ^7 R6 O. h+ h
  33. 主机= the_pc_the_mysql - server_is_on ; w2 W7 B3 a+ z& P( y, z' w0 R- }
  34. user_name = user_name_on_the_mysql服务器
    " K6 p1 M- M! y+ W$ e% D4 D
  35. 密码= password_to_go_with_above_user_name
    3 \( J. [/ v0 D; D" q8 r) k! S
  36. getdriverfunc = getsqldrivermysql
    7 W& J& k( K+ U3 t" K# I
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    4 [0 s) X( j! f9 M) Z
  38. libraryname = path_to_libsqlmy_libary
    6 |2 B0 T- U  M+ L9 j0 W
  39. 积极= 1 ; u6 s- l5 w9 k& {( F
  40. ---削减这里---
    / X/ B- X$ e4 s* A. q  i
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 C- B1 j) r8 }' _1 W: f* I! x
  42. ---例如---
    : \! P1 M: c. R, I
  43. [ dbexpress ]
    4 |' x3 u# K$ O; q! a' j, ~- t
  44. sqldir = mysql_sql
    5 L6 U/ x2 q, P+ b% ~. m( e
  45. drivername = MySQL中2 x- T+ P) m& s3 H0 H4 s
  46. 数据库=测试: H! }2 y2 n; m
  47. 主机=本地主机" V; d" z" R! o5 t: y% |% n
  48. user_name = testuser + Y; \7 u% Y! Y; y; v, K
  49. 密码= my_password
    6 H1 ]% P* g9 u" C
  50. getdriverfunc = getsqldrivermysql
    ; X9 v% O7 B4 C2 D! ?1 k
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( o0 v( c8 a; }4 v
  52. libraryname =. / libsqlmy.so - M  u3 t) }8 l) F" k
  53. 积极= 1 " E! O3 k+ |; G7 Y$ g( [' V8 @
  54. ---例如--- 4 `$ b0 _8 G  _; t
  55. , i  q3 \: A2 B, K( Q( e! K" [
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( e- B% L$ O9 r& U: a
  57. ---例如--- ! C/ z7 ?5 u( l4 v& ]# f2 S
  58. [ dbexpress ]   |9 E  X3 k6 \. b9 o9 s! i
  59. sqldir = mysql_sql & F; O6 x; o" y9 c7 `/ J
  60. drivername = MySQL中
    ! n# M0 `( c% w7 R# \0 L
  61. 数据库=测试: Q' k) Q- k' O& J; {, F( G
  62. 主机= 127.0.0.1
    $ e* Q! S5 f1 V, p" ^6 o
  63. user_name = testuser
    * Q* R5 R* A3 V3 r2 _) Q' ~/ T" T6 `9 ~
  64. 密码= my_password
    , E1 }; e) l3 D* Y# \9 b0 \. I
  65. getdriverfunc = getsqldrivermysql 0 e/ ^7 T3 D" Q, b
  66. vendorlib = libmysql.dll在) I( T( K: w, s7 V7 E. g
  67. libraryname = dbexpmysql.dll
    0 g1 n+ y0 ]9 L: B: ?0 }" [5 T
  68. 积极= 1 7 j/ {0 J: `7 ]3 u) n' [
  69. ---例如----
    # q& v! V: _( X) Z/ C1 X  o
  70. -写在0 2.03.04由p wk.linuxfan
    $ m" ^: \7 C+ `$ q4 }
复制代码
发表于 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" M5 q1 a3 R" ]( _8 O4 ^7 g
6 ?: h8 _% R, F( O7 h
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-9-16 18:22 , Processed in 0.115642 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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