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

2918 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 9 L: y$ S' V  ]: l5 w
& i' o+ c" j& J0 p8 F" T
  1. - b' i" P' x1 n) U5 l! f
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######, v+ ^2 b6 a! O' A4 N3 \5 R
  3. $ Y. Y. P" {& J, h/ A2 z+ O
  4. ### What we need ###
    - \7 t# l- D' O( ?4 z5 |& J$ P
  5. Naturally, we will need a MySQL server to store the data for us, this document ) K2 w9 U) e' x: c4 \7 o
  6. will not explain how this can be done - there are documents out there for the
    ( k; e  v" S  X# Y1 {5 v
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    & H) I: g  H, `7 Z1 u
  8. and a user account (username + password) that has the permissions to do stuff
    5 E  L( M* B  Z2 E
  9. with the database. Additionally, you will need a vendor library installed on the, t5 T9 Z( ]; r8 \* E, k
  10. local machine, this came with my MySQL install.3 o: J% b6 W( X7 n( N. G# Q) Z/ y
  11. These instructions will not tell you how you might transfer your data from the/ s9 k7 A: B1 w) X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL- O- [* W! e9 H$ j7 J" h6 h
  13. database.
    , q8 V% i  H1 y9 g
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    , H; [  S! O1 Y. K
  15. the time of writing, there are still too many issues - check the current status
    0 C  J; E' a% S9 B
  16. in the TeamSpeak forums if you are interested.
    2 _6 g6 [' E& Y2 U- b
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from/ o1 n. ]' T  u2 [1 w
  18. Borland was used. This driver can only interface with the client library that
    . p  E. C2 T5 L+ n# ^0 Q% h
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    1 k- X' Z( L* B2 O
  20. client library - basically all you have to do is to use a 3.x client library as 3 N- e8 ]% {: @' g  q9 ^, u
  21. "VendorLib" and a 4.x database to connect to.
    7 E( ~8 h) f: Y
  22. If you need more info about dbExpress, you can contact Borland.
    0 c% b" G' p/ h; ]7 {" m( W4 n1 m
  23. 7 |+ O6 \: n7 x) l" P
  24. ### Doing the work ###
    5 R' J, m- m4 A# v
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    5 T6 J0 {$ U* N0 K' H: Y; ^
  26. the perquisites right, just open your server.ini file, and add this section at
    : M6 Y# c. j* j% c; N" K7 L7 K
  27. the end:6 u3 b- s6 l( [- I, p2 i5 q
  28. ---cut here---
    9 m( q- C/ A4 e, m' {
  29. [DBEXPRESS]
    6 D) H: X! G! B/ d5 }& C
  30. sqldir=mysql_sql
    5 a1 w, i3 n, `$ b; f
  31. Drivername=mysql
    2 O; Z% z, z  L8 Q' F
  32. Database=Your_Database_Name_Here
    - G! p/ S* z. ]
  33. Hostname=The_PC_the_MySQL-Server_is_on
    6 u8 d/ p* K% j& S! \& [4 ^" C
  34. User_name=User_name_on_the_MySQL-Server
    8 \' i/ y! N" u- g% W
  35. Password=Password_to_go_with_above_user_name
    % Z% R6 C7 E. T; f3 J
  36. GetDriverFunc=getSQLDriverMYSQL
    0 u4 b/ o+ }( w. ?& {
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 \6 M' D' `9 w5 R  T# P
  38. LibraryName=path_to_libsqlmy_libary
    9 d7 C1 |  Q/ G6 Y+ B
  39. Active=1
    1 n! K; }# r6 W8 K* x
  40. ---cut here---/ [% U; I# {5 N3 K. n$ m
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ' C8 i9 ~; S) C5 p6 l* _
  42. ---example---3 \) O# B; x" w+ u) z
  43. [DBEXPRESS]
    1 V! I5 B. I# H# h- M# X1 J7 n/ O! J+ {
  44. sqldir=mysql_sql
    # {& K2 w; ]+ R2 R9 t0 M) T
  45. Drivername=mysql$ Q5 U1 a/ y& x; k" h& W
  46. Database=test
    2 N3 Z: B+ w* A6 r0 H
  47. Hostname=localhost
    - g3 D& A# a. V+ T  E( v
  48. User_name=testuser1 h) x. `' _2 q+ ~2 E+ m
  49. Password=my_password
    1 f& S5 |/ a  @2 i% a/ W' d# \
  50. GetDriverFunc=getSQLDriverMYSQL
    " V7 ~" N4 z& u, p, b) g
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0) t, N2 B' o# \3 ?/ @
  52. LibraryName=./libsqlmy.so
    # l& q( O0 B  x  g0 L  k& k9 y3 X
  53. Active=1' W6 R, q6 X9 u; H4 M) i
  54. ---example---
    8 y7 W  S* I4 a: V
  55. . ?& f$ w9 F8 M4 S" Q
  56. On a windows box, also running the MySQL server locally, it would be:
    2 o% g4 f& y8 X$ H
  57. ---example---
    & ?/ f% _4 f8 D3 J! F) {; ^
  58. [DBEXPRESS]
      g! v3 N5 F9 }. r8 Y  [
  59. sqldir=mysql_sql! v6 {' u7 A  X( h& H
  60. Drivername=mysql; [7 {( s1 z! V
  61. Database=test
    4 G- g& B& p# Q1 O( Z  d' g
  62. Hostname=127.0.0.17 P( X) V; ~# z
  63. User_name=testuser, W7 {( P6 m: p( B; ]
  64. Password=my_password9 n- V5 W- \& l
  65. GetDriverFunc=getSQLDriverMYSQL
    + g2 p* N& ~2 v7 T- G. R
  66. VendorLib=libmysql.dll
    " E  f% R- @( J4 {; k1 B, b% B
  67. LibraryName=dbexpmysql.dll
    " U4 f, t/ _4 @9 {* Z
  68. Active=13 ?. K* x. J7 v
  69. ---example----
    5 ]$ N4 I, y3 j* @* o: K. K
  70. - written 02.03.04 by pwk.linuxfan, ?6 {8 i" ]9 V2 y
  71. / X) l' E1 l/ b0 S* K! N4 W) Y
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看/ ~9 k- r" H1 S( B9 v8 h( G; z

  1. 0 [- Y( O$ ?0 w" F6 F
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
      F: k  {& `" w3 v/ ?* ]

  3. 8 ^4 v% H; w/ [- p+ p
  4. # # #我们所需要# # #
    5 A+ X" @7 @9 Z/ [4 u$ ]
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件9 U0 ?5 j. s8 H4 M/ t: E2 X5 a1 n2 G
  6. 不会解释如何做到这一点-也有文件存在,为
    4 a1 A% I; g$ E, j
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用" {5 {# E% @  t" C
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    ) v, h& h* b8 C' `, z0 K& u
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    ) Q5 D4 B' v/ N& P0 ^
  10. 本地机器,这是我的MySQL安装。   H1 O# E/ V# F% X
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    " o1 {+ G( Y6 ?( n$ F" k8 v
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    9 ]0 p2 f  l$ `9 ~8 P4 Y  s) x  u' M* R
  13. 数据库。 + n0 T  }+ t6 ]  y
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在, X) a; N7 W; B' K. G2 f
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    4 m5 J3 _* D4 k# H# t9 z$ \! {" m
  16. 在teamspeak论坛,如果你有兴趣。
    ! ~. D# F" T9 ?  `1 X1 K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    + V& Q, W) d6 p  p2 q
  18. Borland公司使用。这个司机只能界面与客户端库
    * H0 Q" G' k# j
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    3 @# y+ E$ E3 ~9 j2 X
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
      [  f5 h1 S+ {" j3 P
  21. " vendorlib " ,并解数据库连接。
    2 i- o; u9 O, k: m8 }! R
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , h5 T9 h5 o5 l

  23. # Q9 ~' m5 \$ z) J) E
  24. # # #做好工作# # # ( i; g; q7 N3 R" v/ G! P/ K# I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都) f" _* }3 I6 [) a' w) h, O4 r
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / p/ D+ e! F2 e: T8 R6 W
  27. 结束: ! M8 v$ Q; y/ r" u# Y2 k" e
  28. ---削减这里--- 7 r& V  L0 ^7 N/ X( f( v0 h
  29. [ dbexpress ] 7 d* c% h7 w& Y! C4 {, |% l
  30. sqldir = mysql_sql : Q4 U/ K% e8 h: I9 `( B1 {3 S
  31. drivername = MySQL中
    * J5 \1 a4 c- u! s, f
  32. 数据库= your_database_name_here ; Z- s$ l% P7 L) D
  33. 主机= the_pc_the_mysql - server_is_on 5 ~) @7 _" a) F: s. r+ o: B
  34. user_name = user_name_on_the_mysql服务器
    . U: H" s, n' \* e2 l" G% [1 D
  35. 密码= password_to_go_with_above_user_name
    ! \: s& }# V9 j9 d7 z
  36. getdriverfunc = getsqldrivermysql
    $ [6 T2 \. m3 \: F" _4 ^# c7 p
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 D- l; \8 l7 O% o4 d5 H
  38. libraryname = path_to_libsqlmy_libary
    1 g* X3 }8 _) r0 C* v$ F
  39. 积极= 1
    ) K0 m1 ~2 |5 t; @
  40. ---削减这里---
    ' s; R. \, W, W+ z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 7 G* {& M( J. V
  42. ---例如--- 4 ?- p/ [+ p) \4 n7 l) R, S6 G; V
  43. [ dbexpress ]
    1 M7 A$ M3 z% o8 a2 R( ~; u$ Z
  44. sqldir = mysql_sql : }6 @+ m0 ?& a3 b$ a& n
  45. drivername = MySQL中
    4 X) e' R1 W: i6 g$ w4 i* K  e! x
  46. 数据库=测试. w- o. b; W; y" j2 s8 `
  47. 主机=本地主机
    ; Q% d4 |9 H* [/ k- D; n, p
  48. user_name = testuser
    , a" e4 `2 [+ h0 J/ R$ V* b- B4 X2 t
  49. 密码= my_password " p- ^) o" ?3 v2 w/ x; ?
  50. getdriverfunc = getsqldrivermysql
    % Q) C, j. k% P0 ]. b
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( H% \$ a( e. Z$ o! O, [
  52. libraryname =. / libsqlmy.so " d7 E8 u. i+ M8 h% z, n
  53. 积极= 1 , r( i5 V" T6 h
  54. ---例如--- 5 g: [4 _5 m& M' }+ T) }
  55. 6 Z; @! G' E' Z; U" s; @3 v
  56. 对Windows中,也运行MySQL服务器本地的,那就是: . a1 B: Z9 B* f9 K+ G
  57. ---例如--- 3 f0 L" \0 Z2 U* A$ f
  58. [ dbexpress ] 7 Y( z9 u$ @% Q$ ~/ O( Q, o
  59. sqldir = mysql_sql 3 \: B& R% s7 H5 F1 T) |
  60. drivername = MySQL中
    * ]( e3 [4 a/ z
  61. 数据库=测试' I* W, Y7 I; `% |) H
  62. 主机= 127.0.0.1 + D8 k- m# B' Z: a* s
  63. user_name = testuser
      ?3 c9 A6 q0 [" f/ W
  64. 密码= my_password ' z/ W! H" d2 ~1 x. g# W% N) o6 C
  65. getdriverfunc = getsqldrivermysql
    , v: x: G4 e' J% R. E3 i+ s$ m  Q8 J
  66. vendorlib = libmysql.dll在" m! T( g% Z# K
  67. libraryname = dbexpmysql.dll " @, m$ `# F8 Z( p6 [
  68. 积极= 1 . A" G, Z9 H+ J
  69. ---例如---- / I' ^' I+ U( V" @  n/ L8 K. H
  70. -写在0 2.03.04由p wk.linuxfan3 U& z  ^  X! z
复制代码
发表于 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
" a0 z) [( H/ o. L7 o0 c% v/ r
- K" p  v: A0 O, W0 nbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-20 16:55 , Processed in 0.109591 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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