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

2924 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan - A5 \) j; q( q/ o- \, y
( u6 H2 h, U; C, l, L; T

  1. 2 X/ r) W0 E" k! l" N* a1 N- e5 |) c& Q
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######' ^9 `/ s% Z& U: p7 p8 z: r

  3. & m  P' R' e4 J( a8 c' g2 a$ K
  4. ### What we need ###" X0 d; w: K8 ]& b1 O( d9 n9 V# ~1 l
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 ?8 H* ^6 r% e# R$ @. V
  6. will not explain how this can be done - there are documents out there for the & Q5 j& K; v1 p5 o, X
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    0 _, ]" ~7 D8 ?$ G
  8. and a user account (username + password) that has the permissions to do stuff" D( D0 W/ u/ `; i( O  K8 [6 ]- w
  9. with the database. Additionally, you will need a vendor library installed on the6 J! @. U# L5 [& ~) d* x' x
  10. local machine, this came with my MySQL install.. }6 s6 `4 j! }
  11. These instructions will not tell you how you might transfer your data from the4 p& C* a3 o3 T# E
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL" v3 T4 S) j! i6 ^
  13. database.  v7 B7 X8 D2 V4 m4 M$ p
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 w5 p8 S* J2 b5 u/ i- ^
  15. the time of writing, there are still too many issues - check the current status
    " W; D0 S# t: h/ C
  16. in the TeamSpeak forums if you are interested.
    ; H" x; a  k: u" [
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
      ~8 t, G! X$ J  S
  18. Borland was used. This driver can only interface with the client library that
      I+ l! e) Z4 N7 t7 o8 V/ x! ~, z
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this8 n+ J) c* R+ X3 [: E6 J+ W
  20. client library - basically all you have to do is to use a 3.x client library as
    9 W7 p( y! T1 _0 D; M
  21. "VendorLib" and a 4.x database to connect to.: c% `4 M: n) c+ v. x; d9 W
  22. If you need more info about dbExpress, you can contact Borland.
    ' h2 ^' O3 b3 f) B+ u
  23. 1 w6 M) m& {  L% r$ l* h
  24. ### Doing the work ###4 ]( P6 b. N( O# k
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, \/ `+ D* W* b' D) U
  26. the perquisites right, just open your server.ini file, and add this section at; Q- O8 |. a1 W/ k% z- j, I7 k
  27. the end:
    9 w6 m( l7 d! _6 v7 B6 ^: K: {, w
  28. ---cut here---
    9 L+ b% C1 t: s" e9 ~0 G6 W
  29. [DBEXPRESS]
    ! U5 ?4 Y8 M* c: Y
  30. sqldir=mysql_sql
      Z6 v  B5 P8 y" c$ S1 j$ \2 {) b% b
  31. Drivername=mysql
    4 j( f' A% r' n! z6 C* d+ s
  32. Database=Your_Database_Name_Here2 c9 o% |$ R8 m1 y3 B
  33. Hostname=The_PC_the_MySQL-Server_is_on8 c: U: a& x/ {% I* Q, t  K1 D
  34. User_name=User_name_on_the_MySQL-Server
    2 O6 |& C; N; Y; H
  35. Password=Password_to_go_with_above_user_name
      ?4 k! O; n4 @. `6 I' i
  36. GetDriverFunc=getSQLDriverMYSQL* s# ~0 Q3 b2 ?: }
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# @8 p# A/ O$ P! I) _" V+ P8 O
  38. LibraryName=path_to_libsqlmy_libary
    - s  v' A+ L% H4 R
  39. Active=18 V8 G; b) d/ S
  40. ---cut here---
    & j" f: ^5 a) |: U, @% V' J: a) e9 O- j% f
  41. In my environment (a linux box with a MySQL server running locally) I have:
    3 G: b" J7 ?$ @! C0 d
  42. ---example---
    ) r3 B$ ~" n2 \7 m" H
  43. [DBEXPRESS]
    7 ]7 h8 r) c1 O- U8 C% x
  44. sqldir=mysql_sql
    ; ^0 N# h* P: {- V* b
  45. Drivername=mysql
    $ F0 j4 y0 K: e; e4 o8 [6 v1 d3 g: I
  46. Database=test
    3 z. H" U7 ?' {' z8 O  I% C
  47. Hostname=localhost- p( P- ]( O3 U6 \8 T& a
  48. User_name=testuser
    ) r( f6 C* O% B* K$ e7 v& `
  49. Password=my_password0 Z! |) R* N; P
  50. GetDriverFunc=getSQLDriverMYSQL
    ' V0 t9 v6 E' ^
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0: x; M/ G- g0 L  D/ [- V
  52. LibraryName=./libsqlmy.so
    % |( v+ a1 J$ {. R
  53. Active=1
    , c, G  S" C: t$ q
  54. ---example---
    # W$ p% {8 l2 f0 I
  55. # n) e: Y! P9 M! _! ^' q) `
  56. On a windows box, also running the MySQL server locally, it would be:
    8 h* J9 f$ P) X# y4 e. y) u( R
  57. ---example---- n& Q( C- t+ Y; h9 H4 t/ q
  58. [DBEXPRESS]
    * d: u9 C" x! @4 k+ Q# c
  59. sqldir=mysql_sql
    7 H! U; m2 I. X( F
  60. Drivername=mysql* m: i% T: A. R$ P5 T) F7 Z
  61. Database=test
    # \: [% }9 b$ f" o. `
  62. Hostname=127.0.0.14 h6 i3 m( L- {! ~- h
  63. User_name=testuser9 M8 ]' x7 S+ r' v) I8 b" t
  64. Password=my_password, {  l) h+ q; K/ ?* j
  65. GetDriverFunc=getSQLDriverMYSQL. C! D# H7 c3 S
  66. VendorLib=libmysql.dll
    : @0 P5 B) T3 Q. z* p
  67. LibraryName=dbexpmysql.dll- ~. I$ z: c3 e
  68. Active=10 j6 K! l( G, ?" H+ X& g, K
  69. ---example----
      C. }1 l0 B# D! f" H- ~
  70. - written 02.03.04 by pwk.linuxfan% E: {$ N) ]# Q/ n5 s
  71. 8 z6 B% d  v8 r2 _2 C2 M- y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
  B: {+ U) C& }9 _

  1. - ~( [/ ?8 M$ ^# u+ O
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    ! ?% _( a2 N4 L0 G1 ], g
  3. & M# M. _. b; \$ V' N
  4. # # #我们所需要# # # * w- x6 n% d# V8 m; C5 I
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    + n# D$ j+ w- C& d
  6. 不会解释如何做到这一点-也有文件存在,为8 n1 D4 O& l% l' a# m' D
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 o! J) `4 v' _) r- N/ L  p
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    : Q# W; }; `7 Y# L3 @: v9 J
  9. 随着数据库。此外,你需要一个卖方图书馆安装于& {( {# R- Q0 C! u! b) m
  10. 本地机器,这是我的MySQL安装。
    & N/ X9 L. X- \; e0 ]$ I
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ( X: u- _2 v/ N4 V# ]6 F  Z3 W
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
      K2 e- J: O7 T; t& [
  13. 数据库。
    3 I( v( N, j) c, k4 z) K2 Y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    : r; d2 X' @( V# n: r5 N
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    9 N/ B& {0 K- j$ _3 W. R+ u" |1 |+ z* [
  16. 在teamspeak论坛,如果你有兴趣。
    9 T7 ?0 C# }3 c/ q2 o
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    6 {2 N* q  h2 a" e- x$ i
  18. Borland公司使用。这个司机只能界面与客户端库
    0 {# w9 w* ]/ a* G
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这- [: ~# r: ^# E& }  j, T
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, ?" e6 \8 t5 I
  21. " vendorlib " ,并解数据库连接。 . d7 U9 A: T/ O5 i4 z3 h
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    9 R  Z6 s1 A* ]- G
  23. 1 _" L! t: B& ]3 N: V
  24. # # #做好工作# # # ) h; C. Z. L5 T- l
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ' i; O; p* ]: Y+ O9 ~5 M7 I( D/ @
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在3 d3 f- l# m  u; M) w
  27. 结束:
    ( s2 ]4 F# a' t
  28. ---削减这里--- ) H! B* M$ y  H1 }; D7 ]
  29. [ dbexpress ]
    ; D+ m  c9 ~, V
  30. sqldir = mysql_sql
    8 x0 c* g! p* H4 H1 |" [" }
  31. drivername = MySQL中
    & Z0 m5 T  l0 W! F6 }
  32. 数据库= your_database_name_here
      q, t# _6 n8 a8 }
  33. 主机= the_pc_the_mysql - server_is_on
    9 U3 Q* K, N) u1 a" t) n) q
  34. user_name = user_name_on_the_mysql服务器* m% v* C4 d; H) `( o  F/ J' D
  35. 密码= password_to_go_with_above_user_name
    7 z0 J( W* I! f- C( H. d: Z- U
  36. getdriverfunc = getsqldrivermysql
    5 r9 v/ z0 n( G' E  J
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) p3 g- U, E: {6 ?
  38. libraryname = path_to_libsqlmy_libary
    1 P* g8 j6 j1 U: U: P. k
  39. 积极= 1
    , l4 W% t4 b& `2 I
  40. ---削减这里---
    " C0 f& p  s+ m; d
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: % x2 [2 S- Y/ P5 [# S
  42. ---例如--- ; h" S& a  j, s  q) @
  43. [ dbexpress ] + C) f. u) o- g* y# M  O; {. J
  44. sqldir = mysql_sql 8 }9 B7 [# [/ O" c2 U
  45. drivername = MySQL中
    ( @& Z* E; L6 X
  46. 数据库=测试: J- u6 _5 i) c- z! m5 A9 z
  47. 主机=本地主机
    ! m- Q6 s( o0 R2 z6 |' h- a2 }
  48. user_name = testuser " Z. f% o, w" _; \2 b
  49. 密码= my_password & K0 Q: c3 M" ]/ P/ R
  50. getdriverfunc = getsqldrivermysql 2 }. h0 r: Q7 \6 Y, _
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 0 x) c, b( s: d
  52. libraryname =. / libsqlmy.so % a, Y/ @+ n1 p9 J0 L$ s
  53. 积极= 1 9 B! i; T0 k$ u3 |  d8 E
  54. ---例如--- 3 q/ m$ M$ ]: u
  55. # n2 ~* V3 s: D8 L/ g, D1 E1 G
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 G8 c+ q1 C. \8 n6 O: k8 f: J
  57. ---例如---
      S$ f' k% \- q: e8 w5 i
  58. [ dbexpress ] : U( T6 l% ]2 u  f9 m7 M  F
  59. sqldir = mysql_sql 5 s: d, Y) M3 H* b
  60. drivername = MySQL中
    # F4 \# h. U3 ]1 H3 q
  61. 数据库=测试
    2 V1 L* u; p  E9 X, b: p
  62. 主机= 127.0.0.1
    2 z6 n. a) q  Q5 n5 C: ^
  63. user_name = testuser
    ( F8 I0 J0 d/ W, R
  64. 密码= my_password / J) Z( {- m- r- S9 j' O! S$ u3 x
  65. getdriverfunc = getsqldrivermysql
    3 s! Q+ |. a/ t- P. ~
  66. vendorlib = libmysql.dll在& L$ A4 n2 N; D/ o# T' \0 {
  67. libraryname = dbexpmysql.dll
    / D, O! b7 }) f& n- N0 k
  68. 积极= 1 % _" J. j7 y  i" E
  69. ---例如---- ) `( D$ S( w2 _) i- K* F) V
  70. -写在0 2.03.04由p wk.linuxfan
    + M$ E/ f( a( g
复制代码
发表于 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! Y4 M6 }2 N7 g1 W; _: V: A
8 z* x" |/ |) S9 [) {. f- B8 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-7-22 11:34 , Processed in 0.090999 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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