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

2281 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan / f$ u  |' q" N
# m4 P( \, @+ L4 P
  1. . G" ?: O3 V" G3 {
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    / h  Q, F: X! A: b* |8 r

  3. & h1 X1 u3 t* K5 P: G$ j
  4. ### What we need ###5 E" L/ ], i8 n+ y$ x
  5. Naturally, we will need a MySQL server to store the data for us, this document & b! k& |% J/ g7 O% L" I: s
  6. will not explain how this can be done - there are documents out there for the . d6 l* \8 T' o* e8 ^
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    7 r+ z. z7 b* Z2 J( P+ H
  8. and a user account (username + password) that has the permissions to do stuff
    6 S% Z+ l8 w: S6 _% J9 b* x
  9. with the database. Additionally, you will need a vendor library installed on the
    * ]& {4 E) v- j' ~
  10. local machine, this came with my MySQL install.
    5 k7 R8 H, ^1 K$ X$ _3 \8 g" t
  11. These instructions will not tell you how you might transfer your data from the
    . H3 B" \! W) ]. C. ^  X
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL; ]! L, [& s; Y! f9 S% \
  13. database.
    ' W; j' N1 `3 J5 Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at6 E* m3 q) L' h  ~
  15. the time of writing, there are still too many issues - check the current status0 a; h( M6 ?( G  L$ u
  16. in the TeamSpeak forums if you are interested.
    ; D) B! ]3 H. B1 n  r" c
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: G  W( ?1 w) B
  18. Borland was used. This driver can only interface with the client library that
    5 x' C# W& W" b# a, ~& X
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 w3 g1 |5 I: j6 e
  20. client library - basically all you have to do is to use a 3.x client library as
    % R, L9 N" J8 Y
  21. "VendorLib" and a 4.x database to connect to.
    6 x" d: x3 I9 Y2 f+ W
  22. If you need more info about dbExpress, you can contact Borland.) J# i* J! J6 k* G! H8 q

  23. 8 K  G/ w4 l" G" C/ B3 d% ?' L( r0 Y
  24. ### Doing the work ###  F% _0 y+ e4 M- M0 w* |
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    2 v% g( x/ P) @/ ?; m: F
  26. the perquisites right, just open your server.ini file, and add this section at
    6 ]! Y0 t. T- P+ G+ ?& T
  27. the end:
    7 a/ G9 t1 k3 G4 z9 U$ A
  28. ---cut here---' d- }, a; w6 u; z* `) ~) ~
  29. [DBEXPRESS]. z# W/ T3 I7 u! Q( `4 c7 h
  30. sqldir=mysql_sql  |( g( ^) S# f0 p' l) F
  31. Drivername=mysql4 C3 |7 Q4 ^1 S6 o/ f
  32. Database=Your_Database_Name_Here/ i6 f) K# E* a: l
  33. Hostname=The_PC_the_MySQL-Server_is_on# c; D( {, ~' L% c
  34. User_name=User_name_on_the_MySQL-Server
    ' R$ G# E7 p8 V* J
  35. Password=Password_to_go_with_above_user_name2 B% T1 M. s/ V3 I3 \8 L. S
  36. GetDriverFunc=getSQLDriverMYSQL, C' p* i+ ~0 s* Z6 w
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    ( G/ [( K8 I4 T$ E1 `# j6 ~
  38. LibraryName=path_to_libsqlmy_libary
    # g( q' T! z) |7 ?
  39. Active=1: _: @4 V4 M1 l  P4 r0 o- x
  40. ---cut here---" Y( a& E' ^  O8 \  V9 M* \2 z
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; u  n+ w# O8 W) E* v& T% o
  42. ---example---4 L) ?* h4 x/ Z( m
  43. [DBEXPRESS]8 i$ [9 ^" U' V! U$ K
  44. sqldir=mysql_sql
    : e. m! I2 O/ A& g* D# S
  45. Drivername=mysql0 d6 |  }4 G  r/ m$ s9 t& ^4 h
  46. Database=test4 v4 S! A. c, Q
  47. Hostname=localhost
    1 Y; d) m0 O8 C* e* k7 F/ ]
  48. User_name=testuser
    + o9 s, U; X  a( s' R& v) Y( ~
  49. Password=my_password
    # {5 R5 ~0 K2 C4 K7 }* T- E+ c
  50. GetDriverFunc=getSQLDriverMYSQL: V6 @+ k4 x) I  \- \
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ; s% C3 f# d7 @% {* t6 U6 K/ q
  52. LibraryName=./libsqlmy.so
    4 d$ \* I! `  N$ s1 n
  53. Active=1
    5 f( E% l/ u* Z4 a8 I( j) |0 p
  54. ---example---
    4 [) K, ~3 Q% |- [2 B- Z

  55. ; [9 o! f4 a+ P. U6 A
  56. On a windows box, also running the MySQL server locally, it would be:
    5 D; ~: ?% N+ N7 b6 A" m9 f
  57. ---example---' Q2 W! ?" H8 c4 v+ ~
  58. [DBEXPRESS]
    ' S8 A  r% ?: A+ J& h" E- p
  59. sqldir=mysql_sql9 w6 W% c2 \; L7 f1 |* x
  60. Drivername=mysql5 ~% r8 W9 o: W/ e! ?7 e
  61. Database=test
    4 B# ~1 H( s5 Z$ a1 ]
  62. Hostname=127.0.0.1, i% L  K+ A7 O: F  |9 Z) g- D
  63. User_name=testuser2 g/ C1 d5 F; f9 y8 c5 [) T
  64. Password=my_password
    0 \- o$ y8 }* @( ?5 T- q
  65. GetDriverFunc=getSQLDriverMYSQL
    # Q9 I1 F, _, Q/ Y* L3 [
  66. VendorLib=libmysql.dll
    1 w+ ~& h7 T( H0 J' U, w0 W
  67. LibraryName=dbexpmysql.dll; ~' V: h/ y4 H9 P
  68. Active=1
    # W- y* e+ l2 L2 {- F+ [- Y: H
  69. ---example----; x) X3 m) Z, X1 O" W
  70. - written 02.03.04 by pwk.linuxfan; w( Q9 L! s. ~# G
  71. 0 s) I+ B  D/ |3 R8 N0 h
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看& B% R2 X7 N2 K
  1. 0 t6 S  c% U+ `8 q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### $ r1 N8 J+ e( M: P$ Q) k9 c
  3. / H$ t* ?- l- V# V7 u2 r- y' A
  4. # # #我们所需要# # #
    $ w5 b" n/ U, W" H) M
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件. l$ x' n3 ?* |! ?. I+ |1 l/ u
  6. 不会解释如何做到这一点-也有文件存在,为! e  q* x" W: O8 y1 X/ M# P
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用% W/ W- y& e7 R) j! ~7 C" ~
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西' G( z, }* a  C
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    % l* c6 V- W$ R4 m, g% j6 l  r4 }
  10. 本地机器,这是我的MySQL安装。 8 Q- V9 X- T& h( X4 ]: U
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从9 a0 H! {4 K. I' M
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    6 N5 ]& |% b4 x: a8 Z
  13. 数据库。 % ^: s8 c$ v! O" f! m  f
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在) p& M, H: b1 g$ Y/ |- W
  15. 编写本报告的时候,仍然有太多的问题-检查现状9 c" o4 H9 |0 F$ V( p' ?8 R
  16. 在teamspeak论坛,如果你有兴趣。 , D4 g; X8 J2 F/ h9 i) J2 U6 A
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
      W. z8 W% q- `7 O
  18. Borland公司使用。这个司机只能界面与客户端库/ r% D6 W- b) Z: C! n+ w+ J* g$ P
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + v1 }6 c( W3 D" V
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    7 l1 G: r/ c% l3 s# |/ i, u
  21. " vendorlib " ,并解数据库连接。
    3 @6 }) w- `( W. ~; b) g
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    # K  h* c6 Y& ~, ]0 Z$ \  ~% X6 n
  23. . h  D# W. Q$ j7 g( O9 j8 U5 l. b! ^
  24. # # #做好工作# # #
    9 z) M/ R. \0 I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ k. I7 m( ~; ]+ a. B" m: R2 ]
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在( T# X$ L7 S# @- C, y
  27. 结束: ) ?, m7 Q  [( A! H) R! l) V
  28. ---削减这里---
      s  y' o* x. M
  29. [ dbexpress ]
    , i$ Z! J5 t7 S
  30. sqldir = mysql_sql - j' }' ~6 `, `9 s3 y9 N
  31. drivername = MySQL中
    : p' k" A4 Z. m# I
  32. 数据库= your_database_name_here
    ) y. U: a- F5 E/ l& Q- {
  33. 主机= the_pc_the_mysql - server_is_on + V0 R& B) @, T, J) U+ ~
  34. user_name = user_name_on_the_mysql服务器
    ! u5 }2 }* L# A+ K7 z6 d& ^
  35. 密码= password_to_go_with_above_user_name 6 E/ ^( n# p! g' M+ l! p
  36. getdriverfunc = getsqldrivermysql 0 s( y  l5 n) e1 `# b
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    : U8 H% N# s% A5 F: L
  38. libraryname = path_to_libsqlmy_libary
    + l4 V, ^  a& S( F) j3 u6 ]" b: V) L
  39. 积极= 1
    9 s2 C: K3 C" c+ K$ l* ?. a: ]
  40. ---削减这里--- 7 u% b  f: F3 z- h/ \2 j; b1 Z
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    $ c/ J( d8 A, y6 \2 ~
  42. ---例如--- 5 C( g8 U& B; \: B  n
  43. [ dbexpress ]
    2 n! M. ~/ G! t" ]
  44. sqldir = mysql_sql
    & d8 E1 p3 D# G% C5 T
  45. drivername = MySQL中4 l- U, t( ?1 m  D. I
  46. 数据库=测试5 v; r$ d1 a! w; ]4 _
  47. 主机=本地主机
    * p+ R, }* n* f% u1 s
  48. user_name = testuser
    ' |% P# M; ]  c1 E/ ^
  49. 密码= my_password
    8 f8 h; U" H/ \7 W( i5 L
  50. getdriverfunc = getsqldrivermysql & f2 M" i( D; Y8 I9 C) a2 }4 b' p
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 6 h: S/ l# Q1 ]' n& Q  E5 X
  52. libraryname =. / libsqlmy.so
    , \4 C' d% N, `& _( b8 W
  53. 积极= 1 $ D6 A9 [. Q6 o
  54. ---例如--- 0 {% S/ A" w$ R' n& P

  55. ' e" a( g$ `, b
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 9 y- P& y& D$ k. m+ J  G# E
  57. ---例如--- , O' R" ]& B6 \. C* a% y
  58. [ dbexpress ] 9 P% B# g: G  z
  59. sqldir = mysql_sql
    # x( q) v0 L5 U
  60. drivername = MySQL中
    2 C) \) O1 B( h0 ^, {) W" \& n
  61. 数据库=测试
      r8 O. I# z( N5 b, v) u
  62. 主机= 127.0.0.1 ! W& G, _; W/ Q/ E# c: X7 P1 U
  63. user_name = testuser
    6 r1 Q- v# x, D" n$ |" v0 c
  64. 密码= my_password
    8 H+ G5 P+ I, r" ^+ q; d' X$ \
  65. getdriverfunc = getsqldrivermysql
    8 i  K0 v1 ]# ^9 T
  66. vendorlib = libmysql.dll在
    # Q- u3 p& ]8 G' C
  67. libraryname = dbexpmysql.dll 8 U& g) Y; E* r6 g* }1 ]
  68. 积极= 1
      j& O3 r  U% U2 S
  69. ---例如----
    ) ~5 u% Q7 ^9 o1 I' I, ~4 n
  70. -写在0 2.03.04由p wk.linuxfan! v+ F3 F2 y) {3 J) ?
复制代码
发表于 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
: D- l. ^) }  {9 a3 e1 v" o) F2 C7 M3 O+ W( M: C- V' d( 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-2-10 14:53 , Processed in 0.095434 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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