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

3568 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 \* r4 O0 K; u7 O! s* p1 l% o! a2 s& [+ p- i7 k; J& w7 R1 Y9 F

  1. 8 G& E( b- A2 J1 p  o
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######2 J! g$ N- e1 o7 r1 [/ R
  3. 1 Q$ Y8 M  n  ^! E$ _
  4. ### What we need ###' f# F+ j$ v* l( u0 u  q
  5. Naturally, we will need a MySQL server to store the data for us, this document 9 y+ y2 f. u2 n# v( x$ f
  6. will not explain how this can be done - there are documents out there for the - \* b- E0 L" }
  7. interested. The requirements include a (empty) database for TeamSpeak to use% Z  n/ X& {' o
  8. and a user account (username + password) that has the permissions to do stuff; O# [8 ^5 q* @( ~( {
  9. with the database. Additionally, you will need a vendor library installed on the& |: b' f  }/ Y- {
  10. local machine, this came with my MySQL install.
    9 s6 u. J, ~8 }! u: ?, G; S
  11. These instructions will not tell you how you might transfer your data from the1 m5 L& n- u4 P( b5 V
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    ! [# ?3 w, }; P- I3 \
  13. database.
    + O" v: y" J! l
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    0 i' Z2 |" W4 |. T% v# k9 e: Z
  15. the time of writing, there are still too many issues - check the current status
    / v% ~9 w" `% A# Q3 t% y. j
  16. in the TeamSpeak forums if you are interested.
    0 z1 B- H8 P4 r- H7 {7 k( H
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from: a* a, x5 b: P0 |0 J; b; C$ s
  18. Borland was used. This driver can only interface with the client library that % ]: }1 E/ y. a6 F  O3 ?
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    * p4 R8 q& j( q5 r# m+ G( K
  20. client library - basically all you have to do is to use a 3.x client library as
    & t5 u) H3 l7 Z
  21. "VendorLib" and a 4.x database to connect to.
    / r& Y: H' m, t" e9 Z
  22. If you need more info about dbExpress, you can contact Borland.
    6 G2 o* u, b8 D3 l

  23. 4 x5 F  _: N7 {$ N
  24. ### Doing the work ###
    ' l+ U3 F: y' H" R
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all, [$ C# [0 T/ B( O
  26. the perquisites right, just open your server.ini file, and add this section at* G; r8 I% s( K( h  T# P' r
  27. the end:
    . P" l- I# P: G$ }( G$ X
  28. ---cut here---
    # u- y8 F6 S  n6 K( c6 s
  29. [DBEXPRESS]
    ! n  l+ K# p8 [- D
  30. sqldir=mysql_sql! m9 K( s' c/ `5 B2 g# e# P
  31. Drivername=mysql
    9 {* ^% v: D0 I5 \) N$ ^9 j
  32. Database=Your_Database_Name_Here
    8 n- f) b4 h4 f3 [2 ^. F
  33. Hostname=The_PC_the_MySQL-Server_is_on9 S, ?7 f5 x* y9 e2 d$ F
  34. User_name=User_name_on_the_MySQL-Server
    & h7 o3 j0 M0 S8 j, l
  35. Password=Password_to_go_with_above_user_name/ Z! |; e. V  T
  36. GetDriverFunc=getSQLDriverMYSQL# P/ ]/ N: ~; x
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    : a( k: d. g" Y9 t: b! H& _' f3 ?
  38. LibraryName=path_to_libsqlmy_libary
    9 N' S9 G" N+ R' A4 G# I
  39. Active=11 ?! O% z) o3 B$ x$ d! L
  40. ---cut here---
    $ h9 y9 E& e7 M( F9 }! ^. A3 p
  41. In my environment (a linux box with a MySQL server running locally) I have:
    ; A8 i" i* R) B# [
  42. ---example---
    ! a2 B( ^  T8 e
  43. [DBEXPRESS]: h2 h' k/ p# Q+ `6 p7 ]
  44. sqldir=mysql_sql0 |2 ~& f/ ^+ P
  45. Drivername=mysql
    2 e. D" [- t3 ^: D
  46. Database=test. Z. f6 V8 _( X, ~8 B
  47. Hostname=localhost3 f2 t. `) C1 q6 f* K/ ~
  48. User_name=testuser$ C# j" W, Q6 G& _, q2 m% `
  49. Password=my_password
    " D" ~, K6 _' b5 a; c* P1 n. w4 |
  50. GetDriverFunc=getSQLDriverMYSQL
    0 W' d) q  A: y1 e, k2 w& G9 E
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.04 B+ X) s/ k" \/ E5 i! \
  52. LibraryName=./libsqlmy.so
    7 I3 W/ z$ F$ K5 ^
  53. Active=14 O7 e, I1 H7 \: J  m( Q5 X+ y2 J
  54. ---example---
    & u) M+ V; ?! E" z8 Z/ p, `7 n% B

  55. - X6 n" F  \& E
  56. On a windows box, also running the MySQL server locally, it would be:
    - X2 ]3 B1 F0 h! G
  57. ---example---
    $ ^% H% |6 P* Q. e
  58. [DBEXPRESS]0 H2 k- d8 p+ K/ g0 x5 k0 L; y' x' b+ j
  59. sqldir=mysql_sql
    : s% o: [" p7 A( ]' O
  60. Drivername=mysql
    $ i: N/ b( L9 e9 ~6 j
  61. Database=test
    $ v9 s2 ?7 O- }+ c0 d: F
  62. Hostname=127.0.0.1
    2 [$ N# y: w: X  Q
  63. User_name=testuser4 R; @$ k: B4 ~! J+ a! C% K8 p
  64. Password=my_password& x& W% y% n& y  T0 Q, L3 n0 d
  65. GetDriverFunc=getSQLDriverMYSQL6 K6 U9 c) O  T' v! s5 R( r
  66. VendorLib=libmysql.dll
    2 y9 b' i  O" c- O& |
  67. LibraryName=dbexpmysql.dll
    / t6 A5 d4 G' j
  68. Active=1! c$ g+ h! D& Q, V8 p& w4 x  A
  69. ---example----1 s( u* E9 g, ^( Y3 S$ q
  70. - written 02.03.04 by pwk.linuxfan
    / ]! t9 l% M) [) W" V6 ^, B& |

  71. $ w' x) K& a8 O, s
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
1 ~; p# [/ \, S" o9 v$ L

  1. . ~+ i1 ~6 w6 k
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### & U' C1 N  P+ k5 k
  3. + h! D" E: q/ a
  4. # # #我们所需要# # # $ T- |# Q: e" G
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件' ^; ]+ {1 A! t& h( \4 E1 u
  6. 不会解释如何做到这一点-也有文件存在,为
    ; `6 }8 }+ U$ O1 V
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用& w9 _% \/ l: W6 K6 M
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    % \) p0 H3 a/ S5 F: L2 s
  9. 随着数据库。此外,你需要一个卖方图书馆安装于5 O5 ]7 L+ b( w- ?# r
  10. 本地机器,这是我的MySQL安装。 ! k7 R* o! v% R% k. \
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 j9 o6 I+ j5 x- O3 u& Y; G% k
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    : v! Q3 p% P6 ^2 J# v
  13. 数据库。
    , Y/ c% u' O; h- F' q
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在# d3 j  k' T# U  I( v9 y9 x
  15. 编写本报告的时候,仍然有太多的问题-检查现状( z$ m: C0 [% ^2 T
  16. 在teamspeak论坛,如果你有兴趣。
    . P) P7 |- S3 E( L! K; C. K
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机' I* z& T. C$ z! |8 C$ d
  18. Borland公司使用。这个司机只能界面与客户端库
    7 W1 M  w3 U% t3 ^( U6 v! c- d- ^
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) H( L! _) t0 C( W4 t/ `
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为, _0 ?+ b' Q2 e$ d! n: j6 f
  21. " vendorlib " ,并解数据库连接。
    1 i/ Y, n, j6 c7 c. H) Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    1 l6 ?, u  i: v( I' A: ]. z

  23. 6 K: l, T* E; x8 l- I
  24. # # #做好工作# # # 3 q& q2 h  @+ j6 w/ O0 z( M
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: ]/ e% t" |7 D# @' ?
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    ; o- y4 L4 W7 Y$ C3 r) }" M
  27. 结束:
    ' k" h) i. F' t# Q) e' w
  28. ---削减这里---
    1 r3 ^! ^+ t; a: ?4 L/ k3 ]" R" q
  29. [ dbexpress ] ' L; ~, B( Q- Q* o# Y$ |( s% E
  30. sqldir = mysql_sql
    6 a* t. N3 x" J
  31. drivername = MySQL中' U6 p! q; t5 J8 L# y
  32. 数据库= your_database_name_here
    ( [0 X  }3 u) b' F2 Y& K" |: ~
  33. 主机= the_pc_the_mysql - server_is_on 7 y! ^6 X& ]& K5 b3 K0 `7 [! \' U
  34. user_name = user_name_on_the_mysql服务器
    6 ]) l) p: N, T0 V3 |; H
  35. 密码= password_to_go_with_above_user_name # H4 x4 ~4 W3 X% u1 s$ N
  36. getdriverfunc = getsqldrivermysql
    6 }" V; R2 {+ p: |. W; o5 a% R! J
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib # {, y% G2 v) C$ _) k8 e
  38. libraryname = path_to_libsqlmy_libary
      V; p9 V7 Q; L0 ?7 c  m
  39. 积极= 1
    / m! N) y9 E. K, V6 `( u
  40. ---削减这里---
    6 E) A5 j6 s$ ^* F+ Q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 D; G9 X1 z3 e: J; W, Z5 Q& m
  42. ---例如---
    5 }. l$ m& T* @7 Z  z/ G2 [4 h
  43. [ dbexpress ]
    : [: u# ^0 V5 }
  44. sqldir = mysql_sql 0 C. ]. Z! k, h; ^# r/ e3 @1 l
  45. drivername = MySQL中
    6 D! o$ s9 D/ g. V/ |
  46. 数据库=测试
    ! ^% b  g$ B  O
  47. 主机=本地主机
    5 G1 c0 r4 W3 Z- R; n% `, p
  48. user_name = testuser
    . S; J4 k1 L/ N( j, q* [' \' G8 h
  49. 密码= my_password
    . E- [/ p* b; [& X3 c' @3 v
  50. getdriverfunc = getsqldrivermysql 3 ^- K+ i* I/ |' Q1 H/ s5 r
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 9 m5 `! H" A3 w: t/ y3 ~- U2 ]: ]
  52. libraryname =. / libsqlmy.so
    + v6 k0 m4 v: w! F' C* e5 Y6 N2 R
  53. 积极= 1
    * r5 e9 p- s$ B$ j
  54. ---例如---
    " O+ z0 T9 \; K- G# P2 V0 v. U
  55. : T9 [; }* w8 h6 [, o
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    / \( P2 m+ E( Z
  57. ---例如--- " x1 B, J) t' V0 T6 w/ r( l( @
  58. [ dbexpress ]
    4 W4 ]; G3 m9 N; j+ W, N. Y" s
  59. sqldir = mysql_sql
    ) x0 U( d$ z7 U, Z0 R# _
  60. drivername = MySQL中6 A2 w5 N, a7 t: O$ K
  61. 数据库=测试
    % z  B  v' G  s
  62. 主机= 127.0.0.1 0 A( v5 T$ e8 b; }- X5 h' ?' T
  63. user_name = testuser
    , p) n7 a5 v! t9 o9 @+ ?" e
  64. 密码= my_password
    0 `' X/ A! r8 k' W3 T
  65. getdriverfunc = getsqldrivermysql
    2 ]; X2 Z. [" C' R) D' K
  66. vendorlib = libmysql.dll在/ G% w7 N# B) p! u+ j! T( Y; w
  67. libraryname = dbexpmysql.dll $ C3 c0 S4 L, }% F+ y7 c
  68. 积极= 1 7 M5 c: M. Y1 M; g
  69. ---例如---- 8 W* I8 K) U$ l  z
  70. -写在0 2.03.04由p wk.linuxfan
    " S9 H3 C8 V6 e: M- {2 {; H7 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
8 O- }6 C. D! k  p# }8 f
$ K$ N& M/ ]5 }. D7 M; ~" `( Sbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-26 04:08 , Processed in 0.058654 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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