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

3205 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
9 Z& `( a# [$ r! h) P9 B- n3 O
6 ?* d3 L* E& e) ~4 Q
  1. 3 |9 Z" ]" E+ ]7 i7 x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######1 C* O  ~4 `/ C2 }

  3. 9 F$ N# q  }9 _0 y9 j% f* S1 y
  4. ### What we need ###
    0 u8 m7 l4 }" _; v1 v8 o
  5. Naturally, we will need a MySQL server to store the data for us, this document
    % [0 K; B6 p6 T% B, [8 q
  6. will not explain how this can be done - there are documents out there for the 5 ^/ u& ~6 _* V" k6 d
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    - N+ }7 i) s  m& ]
  8. and a user account (username + password) that has the permissions to do stuff
    5 J3 E. y  \. u/ ?) a/ K& q
  9. with the database. Additionally, you will need a vendor library installed on the
    1 W( S& y. \7 V8 T: r
  10. local machine, this came with my MySQL install.
    . `. L5 n5 x' ]! @; ^- Y  K5 c2 x) V
  11. These instructions will not tell you how you might transfer your data from the
    ! O9 y: s6 M, }% J) \  [) n( G
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL& K) {' @  I" y0 ]" ~( U4 ^2 F
  13. database.
    ( s) _, g% P) r0 T
  14. Some users have reported ways to import a SQLite database into MySQL, but at: Y9 Z, Y  g% t
  15. the time of writing, there are still too many issues - check the current status# N2 R: C4 H) K2 w: R" S- o3 u0 D
  16. in the TeamSpeak forums if you are interested.3 R5 A5 D, @1 m, a; m. Y2 [) Q
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) r( u6 f) \) c
  18. Borland was used. This driver can only interface with the client library that - r# z- A" e) G8 @5 T
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this, m# [, n( x* v
  20. client library - basically all you have to do is to use a 3.x client library as
    + |! j- F4 o# W( W/ x
  21. "VendorLib" and a 4.x database to connect to.9 Y: O9 k. J& D' \! z6 n, U3 l( x0 Y
  22. If you need more info about dbExpress, you can contact Borland.
    0 `; t& h4 o/ D" T" G( R- l7 L

  23. : @9 e+ `) ?- h2 M  P' s/ q
  24. ### Doing the work ###! x1 ?. a1 ^6 ?: k) H
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    / t& n0 K3 ~  k1 j
  26. the perquisites right, just open your server.ini file, and add this section at' d1 i: P+ ?; _9 p: p- A
  27. the end:
    " N4 @) G; J/ U4 \( E
  28. ---cut here---
    ; Q* E0 _6 w: u9 Q0 y7 D  x5 g! H
  29. [DBEXPRESS]
    2 Z$ o! z0 g" q& i+ c6 J# s
  30. sqldir=mysql_sql
    5 M0 l5 i' c/ X3 Q4 \2 N) M
  31. Drivername=mysql
    3 j' m" Y& k6 Y6 i. X
  32. Database=Your_Database_Name_Here
    ! B+ H* d" |: A! q7 E
  33. Hostname=The_PC_the_MySQL-Server_is_on
    8 ^5 X0 s! {. z9 h( F. c
  34. User_name=User_name_on_the_MySQL-Server
    8 C  \# u9 I) I* X* K, ?
  35. Password=Password_to_go_with_above_user_name( F+ B9 l3 a' x/ a8 y$ ~
  36. GetDriverFunc=getSQLDriverMYSQL
    % n. s1 O$ T, z& c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : G. `8 \7 p6 @5 k
  38. LibraryName=path_to_libsqlmy_libary0 x& a/ U  D7 T! g/ A% X8 B
  39. Active=1  @* h: A: c8 I& o; }2 h' g
  40. ---cut here---0 B; R3 T- v7 T& @4 D" P- e
  41. In my environment (a linux box with a MySQL server running locally) I have:; X- h4 E' ~! R0 w9 t
  42. ---example---9 u, g7 _3 O( j
  43. [DBEXPRESS]3 M* q: M& J. y( i) L9 @/ E1 P
  44. sqldir=mysql_sql
    ) L" c1 m+ j5 D" _8 l
  45. Drivername=mysql
      o0 C, K0 R% ]
  46. Database=test
    ; ^- P4 `' }2 M$ n! `3 K
  47. Hostname=localhost
    $ m9 T# @- m1 ]1 R; f
  48. User_name=testuser6 P6 m' g+ l3 A
  49. Password=my_password
    * u- s1 t7 ]/ E0 T" X7 r* j
  50. GetDriverFunc=getSQLDriverMYSQL
    * ?! d& s* S# r. G5 N
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    0 R# p6 H+ z6 q0 B
  52. LibraryName=./libsqlmy.so% }; h7 ]1 X& a7 c
  53. Active=1
    * z8 n, Z8 k# q" a  L, i" c# W
  54. ---example---! `! p3 V) r1 q

  55. # L% i  F- @/ U
  56. On a windows box, also running the MySQL server locally, it would be:8 Q9 n# S7 w0 G8 A
  57. ---example---( b, `; q) \% [
  58. [DBEXPRESS]3 {0 H, P: u- f' |+ m( W# j
  59. sqldir=mysql_sql
    " x) |/ W% ?! a9 i: k. _# r) c
  60. Drivername=mysql7 _6 v* |& d/ s0 i  s" u
  61. Database=test" Z& w6 ~+ j; K% z4 s  u2 S
  62. Hostname=127.0.0.1. m5 f, q8 {" K# w; M( P. B0 ]
  63. User_name=testuser
    . r* }# o/ P* x! N5 K5 h
  64. Password=my_password- `/ x: v- w5 m" u7 z4 d
  65. GetDriverFunc=getSQLDriverMYSQL
    $ r% y9 z4 R& w+ K0 g
  66. VendorLib=libmysql.dll
    : ?% c& }2 M- U( A1 T
  67. LibraryName=dbexpmysql.dll
    8 f+ W  z+ {+ J
  68. Active=13 f% `* d: t- ]# I  s$ l4 Q
  69. ---example----
    ( V. I  f+ f- `( |& `
  70. - written 02.03.04 by pwk.linuxfan- c4 b9 _) G6 I# d! t
  71. ; Z. _8 R1 S  V: k! @* H. U
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看1 A- u8 j! K- c2 f7 ^. t
  1. / r; a3 H2 m, [# [) T& m% P& U8 Z
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### + |( s6 K2 B7 J. F; t" @% l+ N6 F
  3. 3 T9 c2 h8 @+ @* n4 {" z; O
  4. # # #我们所需要# # # ; I8 x8 G9 w& Z* D
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    . Z! h- i4 F0 k  U
  6. 不会解释如何做到这一点-也有文件存在,为
    ! _% k0 }" ?  b3 J% U5 c
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
      S6 g+ e3 f4 b8 @2 B/ i% Q
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西, V  z( f  t3 ]6 x/ P- h3 J- j& y
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: z7 g  I7 j! r" t
  10. 本地机器,这是我的MySQL安装。
    * Z' ^  ?' k9 P1 _
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) X$ x- S+ B/ X' v% Y# d; ]
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 8 ~8 z2 ?3 N# q6 j% H7 j
  13. 数据库。 7 x, y1 U4 K+ R* L  J' D% z: _
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在. ~0 G$ C7 L4 b9 e
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 m! Z# n1 I6 p( h  V. I, }
  16. 在teamspeak论坛,如果你有兴趣。
    6 z+ s( }0 @# h1 O$ j/ W: M
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    7 l, ]& C' v1 H& I8 ^$ k
  18. Borland公司使用。这个司机只能界面与客户端库
    2 ^! @5 X) `1 _8 k1 q) _, f
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    % Z& a- q* t+ t8 M1 u6 a
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为& ], Y7 B; K" K; Z0 i
  21. " vendorlib " ,并解数据库连接。 " S' I5 f3 @& @6 k  e: D% }
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    0 w9 X5 [; m0 P, r  f# Y- K1 _

  23. . h8 z; w6 V) v
  24. # # #做好工作# # # 5 l9 g8 R4 A* _/ X  H1 p- P, f; z
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都9 i" O, j0 H$ E8 ~
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    5 D. b6 h* e! Q/ K4 ^5 H! p1 a4 m
  27. 结束: & N7 Y( U9 L4 v" u& [# R" I
  28. ---削减这里---
    % E+ ?  d/ X. X* O% k
  29. [ dbexpress ]
    * M. Z( r& m3 o* G8 g% b7 O
  30. sqldir = mysql_sql
    - t) d- y" w4 M, M. \
  31. drivername = MySQL中! O; f- D9 {7 C8 [5 `; Y" `
  32. 数据库= your_database_name_here   x7 a- _. W3 [4 Y/ \- u
  33. 主机= the_pc_the_mysql - server_is_on $ u4 f3 H" A5 }
  34. user_name = user_name_on_the_mysql服务器) |7 Y$ g7 M0 E
  35. 密码= password_to_go_with_above_user_name 8 g, g6 _4 w, m7 _
  36. getdriverfunc = getsqldrivermysql
    0 f. s/ ^' _! P2 m! T1 x
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib ( k. |3 j0 X( E+ [6 ~4 \3 X
  38. libraryname = path_to_libsqlmy_libary , N  p5 u, G- m7 k& g  r* M( f
  39. 积极= 1
    & N* P( `& Y3 c: e
  40. ---削减这里---
    . x" p, E2 E" f+ P
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * W4 L" d, X' B# j4 v
  42. ---例如---
    8 g$ Z2 v  F9 \$ V- {8 Y9 ?6 j* E9 [
  43. [ dbexpress ] % u3 t* Q1 v& m0 ^  J
  44. sqldir = mysql_sql
    0 R% K  u+ y% r! J5 {2 d
  45. drivername = MySQL中8 O" G" ]. S4 e" ?- V# E- \6 P7 u
  46. 数据库=测试" c! R1 O8 G1 o) {8 N; u0 Y. D
  47. 主机=本地主机+ t' ^6 l- ]9 O: F) m
  48. user_name = testuser
    ( n& D& `9 E1 A3 t/ r
  49. 密码= my_password : b  n- ~% C1 t/ R" Q# k
  50. getdriverfunc = getsqldrivermysql 7 q( o8 @4 x5 U* D  Y, ~
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    + ~6 G1 \  s: ?4 n8 I, r, Y
  52. libraryname =. / libsqlmy.so 2 c) [* q$ q* V% i7 T
  53. 积极= 1
    - g5 j6 d( x" A& a: K
  54. ---例如--- - g' A; `' f. Q. y- v/ i4 T/ H

  55. ! I) z/ t& Z/ C& C. i
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ( p1 i8 a$ g+ i, b
  57. ---例如--- ! z# b$ d% ]! g1 }
  58. [ dbexpress ]
    3 J& r! Y8 @1 f+ r* \* g
  59. sqldir = mysql_sql
    % {/ a" P, f/ g) a# p0 w. S6 v
  60. drivername = MySQL中) t5 O3 J% L, }5 B# X0 y: G
  61. 数据库=测试
    4 Z. [# l  D8 Q7 r, G
  62. 主机= 127.0.0.1 & W4 S- S: x0 e* a, t
  63. user_name = testuser 0 ~6 K# x* }' i( D: b
  64. 密码= my_password ' m5 d8 W( e/ N, l+ g& o- y5 J+ K% j
  65. getdriverfunc = getsqldrivermysql
    9 |2 d  {0 ~1 Y/ k
  66. vendorlib = libmysql.dll在
    ! H8 O1 V  O0 v3 e& ~
  67. libraryname = dbexpmysql.dll & K" v$ i3 a3 G/ Y1 Z0 ^
  68. 积极= 1
    . B* p" H) I0 J  f$ H3 L0 E
  69. ---例如----
    4 V' Y1 a) u$ `/ W7 z$ M
  70. -写在0 2.03.04由p wk.linuxfan  |; o  ~% O! D8 f" f8 t; {
复制代码
发表于 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- o7 j& [1 z7 R
* l- @9 ?8 m) H# S
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-22 07:33 , Processed in 0.105505 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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