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

2767 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
$ a* `; ~2 }; e$ W5 a5 x8 l) b8 |0 _; G4 B5 w- u: A

  1. ' c' o& R# {3 J& |- T
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######$ D( c1 t0 ?( ]# H

  3. 3 i* O1 h, W+ V6 t7 _1 B
  4. ### What we need ###
    " {  {8 k5 _8 @4 b: b2 d/ o
  5. Naturally, we will need a MySQL server to store the data for us, this document : b8 n) f% m% a5 v) L. h
  6. will not explain how this can be done - there are documents out there for the ' P  W# I, J0 H) g% b# h+ e
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 D5 K% B( e3 }3 h) l2 I
  8. and a user account (username + password) that has the permissions to do stuff+ k. p. s) S" E  t4 j! M
  9. with the database. Additionally, you will need a vendor library installed on the
    ; N1 _7 ~5 o' B
  10. local machine, this came with my MySQL install.; _. e: p' v& R9 Q& Z( i
  11. These instructions will not tell you how you might transfer your data from the: B7 Z( @0 B/ W  X9 e
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* O' D. t- |. |
  13. database.
    4 I7 X$ R; y3 r# H& T9 O2 T
  14. Some users have reported ways to import a SQLite database into MySQL, but at# o: m; l% O( p; C* d9 B/ d4 @
  15. the time of writing, there are still too many issues - check the current status% X8 h  g/ i: ]+ ^
  16. in the TeamSpeak forums if you are interested.  U' e( z, \. L6 ^6 j
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ! L# V' X8 k; ~. T$ Z4 A) J
  18. Borland was used. This driver can only interface with the client library that ' e# l4 Q0 o" Q
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    4 I4 B% }' W, O3 \
  20. client library - basically all you have to do is to use a 3.x client library as
    8 L0 G! D5 b) w* _( I$ {
  21. "VendorLib" and a 4.x database to connect to.
    2 y. q* L5 {+ D2 \- |" E
  22. If you need more info about dbExpress, you can contact Borland.
    ! G9 `$ y% H- Q
  23. $ r  \6 @8 ~/ V* u+ w  J
  24. ### Doing the work ###
    . z  v( t+ H( E2 q0 j, q3 g" A* t
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, c2 m8 a2 y3 T% `' Q8 q$ V
  26. the perquisites right, just open your server.ini file, and add this section at
    " U7 O1 G, z: r5 V
  27. the end:
      s8 W. n$ A$ u! @
  28. ---cut here---
    ( t! ^9 B0 q5 p9 Z2 C( A- p, m- H
  29. [DBEXPRESS]" E" M7 t% d0 b
  30. sqldir=mysql_sql
    % j$ F2 s" M0 K9 Z
  31. Drivername=mysql) s' ~9 n, T/ e' H% q
  32. Database=Your_Database_Name_Here
    9 z) F! t8 H( c7 L6 w4 X, A) ?
  33. Hostname=The_PC_the_MySQL-Server_is_on; X- C1 y! m' k( M* B$ t* h
  34. User_name=User_name_on_the_MySQL-Server
    & R+ @3 U: C0 I) H
  35. Password=Password_to_go_with_above_user_name
    ( \1 w' q. z. M& `
  36. GetDriverFunc=getSQLDriverMYSQL
    ' S" a: C* k8 G( X3 \1 [
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : N2 H8 x8 ~9 _% F
  38. LibraryName=path_to_libsqlmy_libary- l: @' u% F. k1 F2 M2 z8 x" ]
  39. Active=17 K6 C* u% z: T) s3 F. R4 S+ b
  40. ---cut here---! I/ J0 l* h; N" {: k8 q' V
  41. In my environment (a linux box with a MySQL server running locally) I have:6 Y, S9 [2 P3 n4 O& k% @
  42. ---example---
      a5 [' k% a# v! y; {3 t
  43. [DBEXPRESS]
    0 H! t) h. w# h
  44. sqldir=mysql_sql
    8 B" J/ ^/ N6 N6 _8 x9 M7 O
  45. Drivername=mysql" W2 K! K6 Q: Q8 t& n
  46. Database=test+ G* ?5 V# I' H' x$ O( e9 J
  47. Hostname=localhost
    3 ^4 X* b0 H- I' @7 d& }
  48. User_name=testuser' B. G: Y' }. x- d- K' \8 y
  49. Password=my_password
    0 t3 W2 T" T" f
  50. GetDriverFunc=getSQLDriverMYSQL' |9 g8 h2 G8 T5 ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + Z% k( S( h) u: A0 W
  52. LibraryName=./libsqlmy.so
    , `" p; V# n+ X, V/ Y8 O
  53. Active=11 g2 y2 C& ?4 {2 P3 J2 M7 k
  54. ---example---9 ]' G+ i6 P# ^% m+ ]6 e3 b
  55.   `5 J% ]) ~) E7 ~' X6 L
  56. On a windows box, also running the MySQL server locally, it would be:
    % e6 R' ^% x' G% |- M
  57. ---example---
    3 m4 r* C- Y- k/ u# \" f2 ~; b
  58. [DBEXPRESS]
    " x  R* C. U5 w- Z4 M" l$ D
  59. sqldir=mysql_sql: r: T, V0 Q1 @3 \
  60. Drivername=mysql
    ! o- U) N# u% K% X9 {' Z
  61. Database=test
    1 x, f; X9 \/ P
  62. Hostname=127.0.0.1
    ; N5 F& a6 ~5 p( H9 Z, i
  63. User_name=testuser! }4 L4 x( z# ]9 M3 `) Y- `1 j
  64. Password=my_password: u( F2 Z' e& I5 ^! A
  65. GetDriverFunc=getSQLDriverMYSQL
    2 |2 Q+ e4 o( N2 p1 i
  66. VendorLib=libmysql.dll
    ' a, @. S( A) e) S9 q; L* y
  67. LibraryName=dbexpmysql.dll* Q1 U% ~2 M3 l
  68. Active=1& A3 u/ X6 |/ H1 m- s
  69. ---example----
    ; q1 X- I/ T( B  D. p3 {
  70. - written 02.03.04 by pwk.linuxfan
    0 O% Q: X4 W$ e! m/ k) L

  71. 7 T2 h! ^. S# Z1 E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ z+ @) Y3 d7 a! D! t
  1. + S" f( o+ i2 y) d$ \- L8 H
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 9 i$ j% @$ g9 U( X0 {
  3. 5 E& K& Y2 T. w6 z+ K0 f. h
  4. # # #我们所需要# # #
    , n# Q3 F+ b) A9 v" |/ n
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % l6 v% g% F/ P9 {# j! x
  6. 不会解释如何做到这一点-也有文件存在,为+ ~6 L" P7 v+ I/ D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 Z, R! G  B' Z
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西) e8 ~3 I5 w8 V! x7 w
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: R! w& m3 L& U7 {0 L
  10. 本地机器,这是我的MySQL安装。 3 N6 k9 W- E4 c! t) H- ?
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    9 x7 A& p+ t( u
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 9 u4 U# F4 h9 a
  13. 数据库。 ) ]4 ?0 u% S: ]  n% c2 z+ J
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在; A  A; _: r4 F! \* j6 c8 f
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ' O1 c1 G: ^- c7 g
  16. 在teamspeak论坛,如果你有兴趣。
    $ r. M% F4 b! ?" H! N( M. ?
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + \4 l! P. o7 z; J! @
  18. Borland公司使用。这个司机只能界面与客户端库
    ( O- P9 B6 G: \% U2 U* m
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . Y5 V+ G2 [$ l; z: J' F
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为9 {% e1 B7 J( J; K
  21. " vendorlib " ,并解数据库连接。 # T" \/ W8 J4 j# r
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 F$ [; F; \5 |$ d3 s
  23. 2 l/ L; c' P1 s( x' o, n
  24. # # #做好工作# # #
    ; K8 o2 Q* z, \1 ]
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    4 i7 K- d$ \! b
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    " H4 m) I- \* t* x" X4 P0 ?
  27. 结束: 4 N( b) |! A4 b2 |7 `
  28. ---削减这里---
    1 E* W) g: {# w2 o
  29. [ dbexpress ] 3 N8 f# v# w  y/ w( \: Q
  30. sqldir = mysql_sql 9 T+ `$ i4 ]% S9 ^/ T
  31. drivername = MySQL中
    0 k1 V. a, o$ {1 n8 w
  32. 数据库= your_database_name_here ; B$ Y; M  k" i( V
  33. 主机= the_pc_the_mysql - server_is_on
    2 V5 I  a' S2 M& X% L& M( Q
  34. user_name = user_name_on_the_mysql服务器% Z) D; l! l3 X& a: n# y/ O3 ~2 Z8 x
  35. 密码= password_to_go_with_above_user_name * G0 d1 m) d+ s& {1 ^8 d
  36. getdriverfunc = getsqldrivermysql 7 \' K5 A* Y. w
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    2 D1 V! q( |6 R: ^% T
  38. libraryname = path_to_libsqlmy_libary
    & L0 n% ^. W' r. i: ]; Q7 x
  39. 积极= 1 : K  ^+ }7 F& ^, |- _
  40. ---削减这里--- 7 U9 r% ^% A" s8 s" K6 v
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 A9 ?! Y. Y+ A9 o) M$ h
  42. ---例如---
    : T- H6 ~' E$ ~: U. o1 u# W
  43. [ dbexpress ] 9 j& L- S) R$ k& v6 y3 g. F, W; z
  44. sqldir = mysql_sql
    + C% O2 Q8 P: G* _& ?
  45. drivername = MySQL中) J3 r* {" m9 O7 h
  46. 数据库=测试( d. N: W$ ~* i, ^  R: n
  47. 主机=本地主机) G4 K1 k* t6 P' M
  48. user_name = testuser
    ( f1 X2 N& Q1 W6 S  E3 j& a5 S
  49. 密码= my_password % Z5 @% b3 N" w& g3 q# K( O
  50. getdriverfunc = getsqldrivermysql
    . w* C6 f6 Z: @/ J: w( J4 j
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0   E' d$ r1 o( I) Y
  52. libraryname =. / libsqlmy.so
    ( ~8 _) g" i, {: m, \
  53. 积极= 1
    4 ~; Y/ ~7 o  ]2 g" x
  54. ---例如--- ) K9 {1 I- \% Q0 u: l& T) \

  55. ; r( |) X7 ^1 u. X8 \9 w% P0 X
  56. 对Windows中,也运行MySQL服务器本地的,那就是: % u7 {5 e8 _9 E8 [; u
  57. ---例如---
    ) u/ W* ^' F$ S, u) i+ o1 g
  58. [ dbexpress ] 2 ^2 Z* U2 F" r& O, l# S
  59. sqldir = mysql_sql
    1 N, B: N/ w1 j7 |; |& t' }) e
  60. drivername = MySQL中
    & t/ \2 k  R! l2 A
  61. 数据库=测试0 a. ~9 k! F) ]! J/ ]- o0 ~" R
  62. 主机= 127.0.0.1
    : t+ s0 |+ v! h& A- s4 [
  63. user_name = testuser
    + \; X% ~0 y8 m4 c* t
  64. 密码= my_password
    $ Z& G7 }7 k) M. Q6 {
  65. getdriverfunc = getsqldrivermysql
    . j  ?% c+ X. f) p6 H% K( {
  66. vendorlib = libmysql.dll在
    ! _0 g5 v& N% M" L+ F5 y
  67. libraryname = dbexpmysql.dll
    7 O2 w8 s; d' x1 K
  68. 积极= 1 ( x; _+ i  v* C% m$ ?
  69. ---例如----
    4 f; v2 Y1 C6 y1 b9 f  O
  70. -写在0 2.03.04由p wk.linuxfan$ v8 l, x3 Y' w; x# q! D
复制代码
发表于 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# }+ Q1 W1 J4 l; E  p* v6 ]" q
' M. k1 n7 T/ J1 E& ~
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-6-16 15:32 , Processed in 0.111124 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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