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

2699 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 8 m  p9 e7 [; {9 i8 s: i

7 M& h4 x. I7 Q* y. W

  1. 9 U+ @- M1 f) b( X+ ^1 L4 B1 X
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######4 x6 h8 ^5 b' p

  3. " I9 B+ ]" t+ m) N" _" |$ V! A
  4. ### What we need ###
    4 ]. i3 n( D$ m5 |% C# q% T- g
  5. Naturally, we will need a MySQL server to store the data for us, this document + ?$ Q7 U" V* I# z
  6. will not explain how this can be done - there are documents out there for the
    - J1 i6 Y% W! t& u/ T7 N8 F
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : _+ d" M  e& a
  8. and a user account (username + password) that has the permissions to do stuff
    " F9 G) \! L+ x3 D. _8 d
  9. with the database. Additionally, you will need a vendor library installed on the
    + m' ]0 g- h" m) v7 s* ~6 ~
  10. local machine, this came with my MySQL install.
    6 u( c! l0 v9 w
  11. These instructions will not tell you how you might transfer your data from the
    + o3 S1 a' Z0 b& }8 ]& x; S
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    & s  G1 w" e: l. G% `
  13. database./ t' W. m: J* N* O9 [; r; j
  14. Some users have reported ways to import a SQLite database into MySQL, but at9 E* R0 G; M& f0 e/ V6 W
  15. the time of writing, there are still too many issues - check the current status
    9 o2 n$ m  R# R* N5 E0 l0 c
  16. in the TeamSpeak forums if you are interested.
    : F# w0 _7 p5 U& j( j- J
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ) d( ^7 J" S( S" A( i
  18. Borland was used. This driver can only interface with the client library that + A1 t& ^- N/ ^! @
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this3 L( U* G& t& }) s( S
  20. client library - basically all you have to do is to use a 3.x client library as , h* C  o9 H6 g5 C1 A$ c% k2 d# n
  21. "VendorLib" and a 4.x database to connect to.4 v& N7 D: x0 ?9 J' R: z
  22. If you need more info about dbExpress, you can contact Borland.
    4 p) c' I! d, R6 C, q- ?9 Q0 c# M) H

  23. . m0 l' z/ u8 C+ a! Q  @" B9 r
  24. ### Doing the work ###
    3 o% G7 x  |8 m+ P
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    3 h3 C& O* g0 N2 g
  26. the perquisites right, just open your server.ini file, and add this section at
    / F; {4 B1 P$ i  F
  27. the end:! @. }7 x# N3 s# j  l4 Z& }
  28. ---cut here---8 m5 A' H' Z" y- v$ l& P1 |
  29. [DBEXPRESS]
    # K+ \; e, T8 X0 H7 j0 ?' K2 _' Y; x
  30. sqldir=mysql_sql
    0 b" Y  j: ?1 K  s6 Q; d  S; R
  31. Drivername=mysql: p6 \* e5 Y! D/ T$ V+ b! z1 {
  32. Database=Your_Database_Name_Here
    * _$ g% K% m* \9 R, S$ ^( ]
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ' P" Y% h4 E8 v* n* c4 r
  34. User_name=User_name_on_the_MySQL-Server
    ! w' r& k# I" W
  35. Password=Password_to_go_with_above_user_name1 K( _& i3 G- e( J4 f0 W
  36. GetDriverFunc=getSQLDriverMYSQL; e' F9 o' r% J
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib( t0 r) u9 Z$ h* I9 X9 Y2 N
  38. LibraryName=path_to_libsqlmy_libary3 I! t; b2 b. c6 h# B7 j1 g; |" L3 h
  39. Active=1
    ' H8 `/ p, Z1 I* F& F0 a
  40. ---cut here---: O% M2 P2 ]& w$ F
  41. In my environment (a linux box with a MySQL server running locally) I have:1 {2 z" _) A% }) m
  42. ---example---8 S( i/ _' |8 l+ m% r1 @8 m% [. C
  43. [DBEXPRESS]
    5 L% M; q, H! N$ g7 C9 S5 ?
  44. sqldir=mysql_sql/ f* {. M# S# c) e* W& p! Z" g+ N
  45. Drivername=mysql
    % s; r1 B, O; c4 X( u3 J7 Z
  46. Database=test
      a! n4 e4 L1 P* P0 E
  47. Hostname=localhost
      ]  D4 P3 J# r2 x: w
  48. User_name=testuser
    2 Z4 X8 R% u  T$ {6 S9 g+ \: x
  49. Password=my_password
    2 F2 {7 Y9 R5 X
  50. GetDriverFunc=getSQLDriverMYSQL
    4 i; p& f; a1 B( `
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    4 H5 t- ~1 x$ |4 [
  52. LibraryName=./libsqlmy.so* u' Y; M" q# r
  53. Active=14 y$ b! x, R, D9 s% w
  54. ---example---
    7 \- A) D& l0 C9 p) E
  55. 8 D7 P/ j3 n! w: D5 W- S' C, V) \
  56. On a windows box, also running the MySQL server locally, it would be:* q- v8 j9 C' K$ j" _( [1 \
  57. ---example---8 }1 w) |; X9 x: s, U
  58. [DBEXPRESS]$ {' K! k; a3 _4 H( W
  59. sqldir=mysql_sql
    . ?3 i6 i  Q1 ]2 F
  60. Drivername=mysql2 {  J; q5 v& R: B+ `9 g% b  J
  61. Database=test; {" d  g% z5 v$ h9 W2 |- _9 ^
  62. Hostname=127.0.0.1
    % r: z8 c$ @0 M; H% N( u
  63. User_name=testuser
    * N7 k+ w7 s, f
  64. Password=my_password
    % ?# V* s, E8 D( v) L% N2 ~
  65. GetDriverFunc=getSQLDriverMYSQL
    7 I  p4 Y( @, b1 Q3 G7 O
  66. VendorLib=libmysql.dll
    2 v/ f4 L; W! n& Z/ y* c
  67. LibraryName=dbexpmysql.dll
    # N) N' b4 |1 K5 G% F; k( z
  68. Active=1
    0 Z8 `5 i) O9 u# O/ |7 }
  69. ---example----4 b9 W# y( A9 V/ j! f
  70. - written 02.03.04 by pwk.linuxfan
    0 L  z$ h! T$ D+ t7 P

  71. 6 ]% o" m. a/ j0 T# K6 O9 K3 _
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
& s+ N# M5 l1 \" K' l

  1. . p/ M- |9 x3 t* Z( b- h9 [/ |9 s
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & y' z6 a* g( _' x

  3. . y7 a" c4 J/ {; c7 c. s
  4. # # #我们所需要# # #
      V) U  e6 Q- p% s
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    9 Q- f  U. ]1 z0 G
  6. 不会解释如何做到这一点-也有文件存在,为6 H8 f8 I9 I. F, B+ a
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用+ B) @. A: i" N, [8 O8 x, ?
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    1 C6 P1 Q& J* F' l1 \& V
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    . T4 w7 I' N" i0 n. I
  10. 本地机器,这是我的MySQL安装。
    + T6 q3 Q" t+ m
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    ' V1 j4 G5 S5 @5 }* y
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL ) l9 q+ y( }& G
  13. 数据库。
    ) g; [( Y, l- p
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在6 q9 w3 y7 O% l# K
  15. 编写本报告的时候,仍然有太多的问题-检查现状0 D- t, P4 I3 M1 D7 W
  16. 在teamspeak论坛,如果你有兴趣。 5 G% w6 s- Z7 Q& h
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    8 I1 `! ~& L3 V8 Y
  18. Borland公司使用。这个司机只能界面与客户端库$ S9 B" U7 G/ {8 B7 D8 [. s! |
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    # G9 }  t3 k( x0 T1 S$ b
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为/ [: L! {% l' b
  21. " vendorlib " ,并解数据库连接。 5 B! V% c7 Q3 H+ d2 y" \& ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 . f7 ^% }9 \( d* I" W9 S0 ^
  23. $ E! N; }* k$ Z( r( p; W9 _2 W
  24. # # #做好工作# # #
    * H) r3 _4 y0 Y. P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) I* A+ T. ]5 w& T$ v
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    4 Y' _! k6 h3 A* V
  27. 结束:
    & _  E% _& j# D; j+ k' v: V
  28. ---削减这里--- - R. F) b* `, c0 O, v' z
  29. [ dbexpress ] 1 Y$ b( ?, M0 Y: H. i7 \4 E/ r
  30. sqldir = mysql_sql
    * c& i3 y( Y' V; z: g
  31. drivername = MySQL中4 n; `7 L; n. s' e6 K) v# M
  32. 数据库= your_database_name_here
    & o+ e. Z# t4 R% _1 F& r3 T
  33. 主机= the_pc_the_mysql - server_is_on ; O. q) J) P8 x' `, g
  34. user_name = user_name_on_the_mysql服务器; s& d- J3 y( B3 n
  35. 密码= password_to_go_with_above_user_name $ _, g+ z) t: C4 t) Z3 Z' H
  36. getdriverfunc = getsqldrivermysql
    / N9 ?& P- j/ F  D2 u$ u; |' M  p
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib   O1 v) K3 i+ h0 O/ i0 l$ ^
  38. libraryname = path_to_libsqlmy_libary $ J9 \9 p! b8 l/ R) V. x! [- E
  39. 积极= 1
    3 g0 N& M2 t/ l, K) y0 G) j
  40. ---削减这里---
    0 U6 i9 T) {5 e- e5 }
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    * S, b# `- M8 I
  42. ---例如--- ! @4 k# _4 z  p+ y
  43. [ dbexpress ]
    1 z$ F1 x+ [/ C  C$ u! C  X
  44. sqldir = mysql_sql
    2 ]# b9 W  i8 R1 c( O3 _8 _2 B
  45. drivername = MySQL中
    8 C! B8 w4 O8 B& V8 [: h% f2 B
  46. 数据库=测试
    4 e7 |3 S$ M( k- k! s
  47. 主机=本地主机
    % }& j2 {( t$ ^0 Q; M2 q
  48. user_name = testuser
    & d( u/ J4 L1 F+ g1 p9 D
  49. 密码= my_password
    8 P9 B0 e7 U! b( i+ l
  50. getdriverfunc = getsqldrivermysql 1 Q- M0 |# J# z# m. x1 `
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 / m% b% m7 r- ?) s' s: W
  52. libraryname =. / libsqlmy.so
    ( b, A7 o" o% D' Q) X& {$ u
  53. 积极= 1
      X5 P; f2 }8 q4 c  S
  54. ---例如--- 6 e/ [6 k; w2 p/ N8 a

  55. 9 S- m# O0 i! h+ O, m8 Q
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    & I  t1 p0 b- c8 L
  57. ---例如---
    : n0 ^1 T% E2 A9 `6 A! R
  58. [ dbexpress ] 0 E6 ~! P8 l# N5 `: u! m, X) d
  59. sqldir = mysql_sql
    ' ]1 {  B- y3 ~9 l1 y
  60. drivername = MySQL中# `/ N; V$ b, _. G. o; ]
  61. 数据库=测试
    0 S" s2 }- G6 C3 v4 `
  62. 主机= 127.0.0.1
    ( Y$ e8 x. j" S* \7 D
  63. user_name = testuser / k  K3 G. z6 ^% S* \
  64. 密码= my_password
    1 \: O' g  }& _3 Y
  65. getdriverfunc = getsqldrivermysql " ^, b- j* f' c* `  v- k8 _8 }
  66. vendorlib = libmysql.dll在
    7 N. o9 {  X# P' W9 M
  67. libraryname = dbexpmysql.dll ' g& F0 v( Y9 U: g& Y4 d! |
  68. 积极= 1 # r5 {5 E& a+ I9 D7 i9 X
  69. ---例如---- 6 u+ v7 x8 J9 l8 @( X6 C$ w
  70. -写在0 2.03.04由p wk.linuxfan/ Y+ q$ z, I# h) L5 ]
复制代码
发表于 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) D8 `3 w% i/ X
3 z' o. y* Y+ v. |
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-3 15:21 , Processed in 0.112931 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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