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

2805 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
5 Z: r4 h5 l- E! E( q4 }
  E8 U7 m% |/ q* I, L: D
  1. ( Q0 ]0 ~; d; K' y) u5 E% s( P
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######, J. s6 y! J5 q$ t& W! ?

  3. - ?3 d$ O0 ^$ A( \
  4. ### What we need ###
    " }3 O2 e: X5 b1 z+ {
  5. Naturally, we will need a MySQL server to store the data for us, this document
    / q1 l) h2 h  c' i
  6. will not explain how this can be done - there are documents out there for the
    % X: Y' Q6 q- k6 T8 u  L
  7. interested. The requirements include a (empty) database for TeamSpeak to use6 }  H& q8 }6 y& z+ V" x
  8. and a user account (username + password) that has the permissions to do stuff
    8 g# O* ]- p* a! _
  9. with the database. Additionally, you will need a vendor library installed on the1 f( u- i) {9 `- I/ w6 G* E& f* J3 |
  10. local machine, this came with my MySQL install.
    : p5 \% T% x/ m8 a+ n9 i* @
  11. These instructions will not tell you how you might transfer your data from the
    . L! s7 k7 P$ g: F( D, P: @
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    8 }$ Y' ^5 X$ Z& Z# n- [
  13. database.1 n. m& h7 d, W
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    3 N4 c4 E2 q1 _& G5 x" A% u0 d
  15. the time of writing, there are still too many issues - check the current status
    " ?9 T& O% r7 t' z5 n. _% T
  16. in the TeamSpeak forums if you are interested.
    ; l! F/ g! d  M' Z
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    " S, F8 h7 A3 ], i
  18. Borland was used. This driver can only interface with the client library that 2 Y' R5 B  R4 |, i& k5 k5 }
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this6 O* L9 |) i' y' @
  20. client library - basically all you have to do is to use a 3.x client library as
    4 f% G% k: E7 ]) ~
  21. "VendorLib" and a 4.x database to connect to.5 G& [6 h; ^& p; m
  22. If you need more info about dbExpress, you can contact Borland.
    # R" a3 c; u- z% `# I3 k3 _
  23. % G/ F# Q; S% b8 Q" C1 m0 |5 F, _
  24. ### Doing the work ###
    " I% Y$ X# N2 [/ D6 Z* e
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all8 D2 [$ b1 a- M1 b3 ]& o
  26. the perquisites right, just open your server.ini file, and add this section at
    , ?  N+ T. I9 f1 D/ `: b
  27. the end:0 y* |, x- f9 |# S8 A
  28. ---cut here---
    , X' Q0 Y; z, W4 H. \( ^# ]
  29. [DBEXPRESS]4 q% z1 e8 \) w. c. z
  30. sqldir=mysql_sql1 f, }0 v0 V9 o7 }6 t! g
  31. Drivername=mysql0 F, Q  i) ], D9 p
  32. Database=Your_Database_Name_Here( g5 \& M9 k9 \, u2 f
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & M5 Z5 B4 n+ |- o* A" X. |- z( k
  34. User_name=User_name_on_the_MySQL-Server( p# F3 b' T+ t# P9 U
  35. Password=Password_to_go_with_above_user_name7 o; ?, L! h# o; M2 e& d
  36. GetDriverFunc=getSQLDriverMYSQL- X+ J6 H! J. z0 P$ c
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 e6 G  p) z, n. B# `
  38. LibraryName=path_to_libsqlmy_libary
    4 k5 I3 D2 B" H& J
  39. Active=1" L* ]& i2 e" k% @
  40. ---cut here---
    + p3 u1 U  Z  Z3 O( e
  41. In my environment (a linux box with a MySQL server running locally) I have:( b: t" s3 E& }. z. ?8 A
  42. ---example---
      U8 r- I+ l* W0 B
  43. [DBEXPRESS]6 l8 F$ s, N5 I) A
  44. sqldir=mysql_sql8 m% J* G6 c2 l% i! d
  45. Drivername=mysql
    : P8 i; T4 z1 `4 _/ V
  46. Database=test- e: \- A6 I& i! c2 b7 \5 b
  47. Hostname=localhost& q/ s3 g# V+ _
  48. User_name=testuser
    5 J+ J1 q8 H! e" c
  49. Password=my_password
    6 J5 _3 Q3 n+ r  Q2 ~7 E
  50. GetDriverFunc=getSQLDriverMYSQL
    4 `4 Q/ v( Q# i. W- |% }' @
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    ( m2 ~! u! ]8 I" ?; Z& B
  52. LibraryName=./libsqlmy.so! t; H' @- p9 J" M3 O# S
  53. Active=18 K) q0 f/ u+ i' s0 H7 a) ~3 K
  54. ---example---
    4 M: Y. {& F' ~4 l! Y

  55. : C  p9 i2 n# C; J$ W4 T; i
  56. On a windows box, also running the MySQL server locally, it would be:
    + l8 @* x+ `% X. T+ j
  57. ---example---
    + B: p) c$ x" X/ e8 F
  58. [DBEXPRESS]
    0 o; [" }2 l# [# I
  59. sqldir=mysql_sql; ~+ C! \* f" S
  60. Drivername=mysql
    3 r4 T. I3 N9 H( E) o
  61. Database=test0 Y& g/ |% E4 c) c
  62. Hostname=127.0.0.1
    " N$ L$ Z! i# g0 \% }
  63. User_name=testuser
    . i9 S8 b3 o8 l( d1 D. H
  64. Password=my_password% m5 L7 [2 W+ A: s% w
  65. GetDriverFunc=getSQLDriverMYSQL2 {9 B5 i& I: O8 c/ E5 j. ]; g
  66. VendorLib=libmysql.dll
    ; O$ O" e1 I9 A- {/ |' T# Q  J/ h
  67. LibraryName=dbexpmysql.dll
    5 g! ?7 l# y# N- Z6 N1 p- [! `
  68. Active=19 e6 S  G: L' n; A- a1 w- e+ r
  69. ---example----
    3 _% t# I/ u" }
  70. - written 02.03.04 by pwk.linuxfan
    & K9 A$ {0 B/ P0 @0 @

  71. 7 L  u  d/ k# U+ h+ T
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ ?; C4 `; g$ n5 i* n/ ^; D* [

  1. , R6 T% ]* V  b$ _
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 7 x6 V4 J6 {) C: D! `

  3. " C/ K% `( ]0 ]8 X
  4. # # #我们所需要# # # . I  b$ {6 Q/ c) a' `. i
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件& K$ F5 i* i  L
  6. 不会解释如何做到这一点-也有文件存在,为" z; g* ^  B/ M) ~: N' ?
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用5 O% O, c; l) H5 r, u
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西. Q1 Z0 g, ^  F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    - p( t1 ~# O' @1 N2 _
  10. 本地机器,这是我的MySQL安装。 + g: g  D2 ?+ y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    5 Q9 s( {1 W& U
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 p6 ~/ _- [6 o9 \6 u$ t. J
  13. 数据库。 # Y2 q$ O$ N0 i
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    * L4 r! T( t' f3 @5 U4 |
  15. 编写本报告的时候,仍然有太多的问题-检查现状7 T% ]) ^& C; o/ _$ P2 R
  16. 在teamspeak论坛,如果你有兴趣。 6 `- |. ^5 S( A6 T. C; Q/ R% N- u
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* ]% _# W, n- z1 Q# W
  18. Borland公司使用。这个司机只能界面与客户端库
    " S+ X- r3 \: P1 d1 a. \
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 e& X6 ?- X4 M+ |  e
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    4 j: a4 i1 t( w- ]' o) J* _! @  {
  21. " vendorlib " ,并解数据库连接。 9 j1 R6 N! [1 _/ K% C
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    ! E- S" q6 M& y$ N
  23. " V- u! d8 b; F$ _* k7 j' s( Q
  24. # # #做好工作# # # # R) i6 [6 w$ n: I
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 h6 W3 n( r- U! a9 f& ~* T
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    / m( a8 B9 r  `; R
  27. 结束:
    / Q  Q: l/ e% b# _
  28. ---削减这里---
    8 U; n, T# T* _9 _. t1 V) I
  29. [ dbexpress ] ! P" H3 q" g6 T
  30. sqldir = mysql_sql $ N- F" V/ ], s; U) {( B7 Y
  31. drivername = MySQL中# `, b3 ?, t/ a' V7 }& D1 s
  32. 数据库= your_database_name_here
    8 a! L! L% e5 L
  33. 主机= the_pc_the_mysql - server_is_on
    4 T0 ^/ {' }8 L& S4 \4 j: A
  34. user_name = user_name_on_the_mysql服务器
    2 \, o4 E- U" c* L3 I! Q
  35. 密码= password_to_go_with_above_user_name 0 `$ T& ?% U8 U
  36. getdriverfunc = getsqldrivermysql
    # c3 W& c; @. l- Y$ d/ B5 d) k; G( W
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    % a8 ]5 z" p* }* v
  38. libraryname = path_to_libsqlmy_libary % |3 t. y' y; I4 w( ?3 w
  39. 积极= 1
    ) v  k4 v! E( w7 D" K
  40. ---削减这里---
    2 ^  ]) y  h- c2 ?; \
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 5 I& d* k2 X2 ?) _
  42. ---例如---
    / R8 r# ?) p8 G: [( e: v
  43. [ dbexpress ] " q5 r- d% y4 A& ?2 f- s
  44. sqldir = mysql_sql * X) W8 M/ l- I; J  m& d% t: `
  45. drivername = MySQL中
    & N- v7 a, C3 I0 g; l5 x
  46. 数据库=测试' D2 R, c. I" X1 T) l1 o
  47. 主机=本地主机
    9 g" D1 f) b6 x# Z! q: a
  48. user_name = testuser + V8 ?$ e$ u1 l8 I3 u5 }- d9 j
  49. 密码= my_password $ p9 ^% [% G+ d5 }- F! E9 f6 @. l/ y
  50. getdriverfunc = getsqldrivermysql ! r- a6 G  t- M$ a7 @. F8 Z, S
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    # r; W  @9 z/ O, J& p5 c" Y
  52. libraryname =. / libsqlmy.so ( I+ L% ?3 {% L; j0 N
  53. 积极= 1 0 Z5 F' b9 W2 I( o! n/ z3 m
  54. ---例如---
    % @+ o; v! }& e9 z* }" W5 c
  55. 9 f/ o- X/ F/ S1 B! @0 p
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - U- N2 b& C& O) C! }
  57. ---例如--- 8 y1 x7 {3 R2 @% M9 p9 |
  58. [ dbexpress ] ; g5 `0 z7 |9 y3 p
  59. sqldir = mysql_sql
    + k3 W3 ?& [$ L' A& h
  60. drivername = MySQL中- ^& f: c1 j" _+ X" Q
  61. 数据库=测试6 [; W, o' N! J- _0 G" P7 g
  62. 主机= 127.0.0.1
    : u: Y* q! p( P, c3 @
  63. user_name = testuser 4 ]( [/ N/ b( m7 }; q
  64. 密码= my_password " n& U. T- {& E+ u! [
  65. getdriverfunc = getsqldrivermysql
    3 r0 r( j5 B. u2 R# l- v7 ^5 w
  66. vendorlib = libmysql.dll在
    % X! y: _+ _+ n4 @8 p. V4 V/ J
  67. libraryname = dbexpmysql.dll
    ! G: y( s- C8 G% V2 U8 k
  68. 积极= 1 4 h- w6 p; U) T, U$ g5 m
  69. ---例如---- 5 e" M& }+ F! z4 E! X
  70. -写在0 2.03.04由p wk.linuxfan
    3 b/ N8 t- r4 H' A' e2 a
复制代码
发表于 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+ U9 p. n7 x# W5 }7 q5 M
/ u( M4 y5 g" U
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-25 15:31 , Processed in 0.115431 second(s), 7 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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