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

2262 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan ( O5 u/ O* r9 q* g
1 E% t* w+ d4 O. A4 q! i; |
  1. ; Y" x9 B1 r, ]# x! M5 y! G
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    8 R8 J/ ^3 \3 d. S! ^
  3. $ s! o' g3 W8 C" E: j- l
  4. ### What we need ###
    6 j) ?" a. v2 L' b3 B
  5. Naturally, we will need a MySQL server to store the data for us, this document % C, E' F. f/ @/ G4 _
  6. will not explain how this can be done - there are documents out there for the
    3 d2 N( }7 }% N" i
  7. interested. The requirements include a (empty) database for TeamSpeak to use
      K1 F6 g3 b$ O& s' N+ A
  8. and a user account (username + password) that has the permissions to do stuff
    7 @( {( L6 G3 n: [$ @5 Q! b
  9. with the database. Additionally, you will need a vendor library installed on the6 _# J, s: j2 Q
  10. local machine, this came with my MySQL install.- |6 H! U" A' w! I* U0 ?
  11. These instructions will not tell you how you might transfer your data from the) C  g8 y& o1 j/ D5 T$ ]$ x
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL$ J9 y! V; j' D. ~: H0 d* q* P
  13. database.) ~  @) I1 J% y# h- t# @8 a3 y
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    1 M) N6 ]$ X0 K9 Z* B
  15. the time of writing, there are still too many issues - check the current status
      I' l2 m/ ?) f
  16. in the TeamSpeak forums if you are interested.* Q# \) v* W6 a0 \
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ; b7 p7 q1 i$ g
  18. Borland was used. This driver can only interface with the client library that ( _% n6 X! X+ k, K" }' _6 Q, S
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    8 T& T9 L2 n* V9 c) N$ \
  20. client library - basically all you have to do is to use a 3.x client library as
    + W% l% }, P, ]3 m' ~
  21. "VendorLib" and a 4.x database to connect to.- W7 d& d3 f3 r2 i' ~$ y1 P7 H
  22. If you need more info about dbExpress, you can contact Borland.
    ' G# S$ r# g  \6 }$ o
  23. & h' R' m& p( Q& }& L6 w
  24. ### Doing the work ###* H  V+ O+ F4 I! Z. w9 u
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 K; }5 t5 P) l9 a% t) N
  26. the perquisites right, just open your server.ini file, and add this section at1 Z# \: g# F1 Y& v( X4 H: P
  27. the end:% |' h# G* X2 ]
  28. ---cut here---9 x& H( {% t) v7 I+ {
  29. [DBEXPRESS]
    9 r+ w. M7 P! s8 |! J$ G
  30. sqldir=mysql_sql' `5 t! U- T* m( R# J+ x' {
  31. Drivername=mysql
    9 \: C# N0 e' y6 H. ?7 y
  32. Database=Your_Database_Name_Here! l$ g) a8 A! m+ t
  33. Hostname=The_PC_the_MySQL-Server_is_on) D8 o* U+ S# c3 {+ g* o$ {
  34. User_name=User_name_on_the_MySQL-Server) l( C- }( b2 w# z7 `8 p8 U# K) \
  35. Password=Password_to_go_with_above_user_name
    0 E* Q. v% g2 O  q2 L9 L$ I% \
  36. GetDriverFunc=getSQLDriverMYSQL
    3 H# N+ }  w* R
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib8 G8 B( g' d9 h6 M: [
  38. LibraryName=path_to_libsqlmy_libary
    , h1 v* O" ]( t: j( l
  39. Active=1
    + Q+ |2 E1 I; |+ }/ ~: S
  40. ---cut here---
    $ L( u, ?# t0 {2 ]
  41. In my environment (a linux box with a MySQL server running locally) I have:$ o0 J# c; i; m7 Z
  42. ---example---% b) M% [6 R1 ]2 \- p& o
  43. [DBEXPRESS]. ]: |( R; L) J/ I0 {: k
  44. sqldir=mysql_sql" H) M5 }; g6 x
  45. Drivername=mysql+ `4 K( V  b7 V. p+ n( l$ ]4 b
  46. Database=test
    & i7 G6 r% V% k! H9 W; u5 w
  47. Hostname=localhost
    7 s7 o: i/ G$ m- q0 ]
  48. User_name=testuser
    ) ^3 Y1 e7 g7 ~+ ?0 Q
  49. Password=my_password
      ^# l- Q$ h( M" y: B( b, E
  50. GetDriverFunc=getSQLDriverMYSQL
    0 e( j7 Y) v4 Y9 k" U, T' {
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    5 W+ D( C' A0 n
  52. LibraryName=./libsqlmy.so
    7 U3 {- Q+ {% w# Y" R: w
  53. Active=19 u7 Y/ r/ L* T6 c/ V% M9 Z2 [8 t( z
  54. ---example---3 A1 n+ D0 }2 c8 ]# _0 }  g

  55. % j! v$ d6 f) t8 [
  56. On a windows box, also running the MySQL server locally, it would be:
    ! e1 L9 D! D' g4 K) b
  57. ---example---! M0 b5 u1 x; s6 p) A3 J+ P
  58. [DBEXPRESS]1 [) _8 i. e$ V& K
  59. sqldir=mysql_sql
    3 [8 c& x# d8 P% l
  60. Drivername=mysql9 w) |) K# F) ]% X" W
  61. Database=test3 W) |: F. k( y. v8 M
  62. Hostname=127.0.0.18 s" P* F# \) q2 E  ?
  63. User_name=testuser$ Z1 B& u8 h- l% \
  64. Password=my_password
    $ u. F5 i  U# f7 _
  65. GetDriverFunc=getSQLDriverMYSQL
    7 j7 {( i6 S6 v( Z, |" I, g
  66. VendorLib=libmysql.dll
    . a( x' v. {. M4 F
  67. LibraryName=dbexpmysql.dll( Z) T# C3 Q) F/ q, y" B! }
  68. Active=1
    ' Q0 U% b1 Y+ Y- a
  69. ---example----0 f8 }7 E5 u; n( Z) F& X' q
  70. - written 02.03.04 by pwk.linuxfan
    , w. W' j5 p6 x1 ^5 I4 F6 v$ P
  71. . b% ^1 S4 m; u+ `4 ?. j
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看' S  K; w- q! C# T" m7 z! O; L

  1. 6 x0 A& i) m  J9 A; Y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    8 c% H3 C; \1 t3 q  l6 u

  3. 4 z0 |, G& r6 b: b; @* {9 g
  4. # # #我们所需要# # # 8 Y+ h+ W; |: J  `% f0 ~' ^
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    / D. ^; E+ r9 r* |6 s/ y
  6. 不会解释如何做到这一点-也有文件存在,为
    ! n+ B' c. u0 E2 Y: }
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用, }$ _3 C! K0 p8 V# E; [- x* s
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & O" Z# o- m! s8 {7 }  D1 Q2 u
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    5 n- [2 f: {% h
  10. 本地机器,这是我的MySQL安装。 9 Z- J1 C$ V1 c) \0 f
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从/ ^: g# r. G+ w- D$ `
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    $ V! ^0 z2 w; k+ \8 b- T- k# m
  13. 数据库。 / u0 Q8 G2 N) J+ F/ _+ b6 ~
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    + o" g6 Q- V# ]- {
  15. 编写本报告的时候,仍然有太多的问题-检查现状" U$ Z" Q3 [* l' F+ l
  16. 在teamspeak论坛,如果你有兴趣。 ( n0 J: Z* d! B' G/ g7 w& y
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    ' ?% C; U6 |9 A% Y
  18. Borland公司使用。这个司机只能界面与客户端库
    / i$ h4 n! D, \7 B; x! p
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) y+ X- |& o# D6 @
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为4 p  N* d  Q0 i. z+ h2 V* [5 n# x+ k
  21. " vendorlib " ,并解数据库连接。 & ~4 S0 P$ [; H6 f, A, n
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    & [, K$ B# S% z9 k1 ]2 k2 F
  23. ) R) H4 d: a& ~- a  u' O7 |% B
  24. # # #做好工作# # #
    ; N2 S) Y6 x3 }4 B) K+ i
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都: i- S" j7 k. g! f) e: k2 U
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    - q" [9 D8 g8 k5 `' b+ d& q* g
  27. 结束: 8 x1 @* `5 X5 f: K2 b$ B0 ]
  28. ---削减这里--- " P5 s' X+ J/ A  W% y
  29. [ dbexpress ]
    * e+ A2 B- r6 f3 u7 x3 g
  30. sqldir = mysql_sql 5 f' k8 W, d) G2 s/ y
  31. drivername = MySQL中
    ; \( e+ ^' H5 I7 I" R7 w# _
  32. 数据库= your_database_name_here
    0 d) P1 o5 B- p" N* E. k& r" b5 ^
  33. 主机= the_pc_the_mysql - server_is_on % a0 a" \4 B6 Q
  34. user_name = user_name_on_the_mysql服务器1 H- X/ k# i/ m
  35. 密码= password_to_go_with_above_user_name
      J- m: |# s4 `) e: |, O3 f
  36. getdriverfunc = getsqldrivermysql 2 O: v) n' ?2 P- @" J8 u9 `3 J4 R
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    " Y' g6 s4 @7 s3 e- c# q
  38. libraryname = path_to_libsqlmy_libary % [4 g8 Z. y/ t, n, b
  39. 积极= 1
    3 c2 b) C/ D3 U
  40. ---削减这里---
    / \" S+ P& z) W) S; _
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 3 f- r: h# [4 O3 P  m
  42. ---例如--- 3 H, T1 \" A- n/ d
  43. [ dbexpress ] ) V  G+ x' l+ m1 G/ [
  44. sqldir = mysql_sql
    0 E/ B4 s+ ?# r5 x
  45. drivername = MySQL中: R$ q$ N; P# Q
  46. 数据库=测试
    / O" c5 F0 A+ B) y: |) W
  47. 主机=本地主机7 @  l) f0 E( j9 E8 @* O6 @$ d
  48. user_name = testuser
    ' C  C0 C6 I$ s; S
  49. 密码= my_password
    : M+ p. ]! }' v6 R! l5 t" X6 s
  50. getdriverfunc = getsqldrivermysql " |6 [6 a& H/ T$ U
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    - X6 t2 {# ~; ?% w% w2 S
  52. libraryname =. / libsqlmy.so
    7 y! S' O0 L. P6 m0 k6 I8 B. S
  53. 积极= 1
    5 ?* Z7 Z0 D! u4 i
  54. ---例如---
    4 |& ^) Q+ `+ [# X2 i

  55. , ^$ P& M& V4 {$ x
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 3 c- A- ^/ Z4 F# y' K
  57. ---例如--- ( H0 Z( |: |- ?( }& m8 V
  58. [ dbexpress ] ! T% ^# o' r6 ]$ B0 G3 W5 i
  59. sqldir = mysql_sql
    % Y7 U8 N+ o2 y. _7 z) X. _) h
  60. drivername = MySQL中; ^+ ^0 y! C: e/ l
  61. 数据库=测试
    ; @; h- u% Q8 M: ^4 A1 r" `  o
  62. 主机= 127.0.0.1
    1 u7 m; A; N1 s% z6 r2 \6 f
  63. user_name = testuser
    6 `7 A' U. J5 R7 C: {5 x2 w! j
  64. 密码= my_password
    9 Q) R4 @* `0 P: \( ~1 _
  65. getdriverfunc = getsqldrivermysql " t8 i9 r( u5 Z9 k. J
  66. vendorlib = libmysql.dll在3 ^% G0 ?, t3 X
  67. libraryname = dbexpmysql.dll $ Z+ w1 s; H& w
  68. 积极= 1 9 V; o5 I, J4 q5 z  R! C! [
  69. ---例如---- " Y4 T! [  Z! D* g& a6 B
  70. -写在0 2.03.04由p wk.linuxfan, {3 G4 P2 B3 Y! {' E0 k
复制代码
发表于 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
, w6 l9 \+ L. h/ A; `. m8 a" j! ]+ u6 o1 p1 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-4 05:51 , Processed in 0.104137 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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