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

3544 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; r7 x# f& }! b% b  F  U- ^8 @3 o" Y, Q+ m0 t. V8 L* L! c
  1. , t* T2 {+ s4 r7 a" T8 D* M4 W& d- c
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    * J! m6 f2 s, A8 z. L, x! E

  3. , v3 f2 B% U2 O' U
  4. ### What we need ###( [3 T3 A' W" S
  5. Naturally, we will need a MySQL server to store the data for us, this document
    . h; C0 J; F& x' p
  6. will not explain how this can be done - there are documents out there for the - m) k; E, Z# G5 x9 }
  7. interested. The requirements include a (empty) database for TeamSpeak to use! ?  [: G! p$ U" b' t! D
  8. and a user account (username + password) that has the permissions to do stuff
    9 m* m8 H. O1 L0 s+ n* g& q8 E4 k
  9. with the database. Additionally, you will need a vendor library installed on the
    + Y; C3 G6 g' A6 v' M) Y
  10. local machine, this came with my MySQL install." t; b) g+ b' ]: u
  11. These instructions will not tell you how you might transfer your data from the
    ( P* H: o% D1 J6 Z: z- M
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    : t& G5 E1 ?) _* {, d6 x
  13. database.) V$ P$ m9 u! I& |
  14. Some users have reported ways to import a SQLite database into MySQL, but at* Z2 V+ m# ~7 @- q) l
  15. the time of writing, there are still too many issues - check the current status& O. a! I! _, `2 j& F) R2 b$ p9 S
  16. in the TeamSpeak forums if you are interested.
    " x% _- Q% J3 o9 E* x
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ( m: q0 H1 l" d+ X
  18. Borland was used. This driver can only interface with the client library that
    + _& k6 K6 @1 a& ]: g: a. Z0 J
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ; r0 K4 Q- a7 I6 O3 @. X, [& c
  20. client library - basically all you have to do is to use a 3.x client library as
    ' V# p+ l3 h3 {) \7 V
  21. "VendorLib" and a 4.x database to connect to.
    . \, u) h0 V9 X$ s: B8 r2 V
  22. If you need more info about dbExpress, you can contact Borland.+ ]) }5 b% U0 G" t
  23. - u+ [' M! B- A& V
  24. ### Doing the work ###
    , {" x2 D1 S+ H  W- G! p8 V' ^9 c3 \
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    6 Z8 r. U  i# d
  26. the perquisites right, just open your server.ini file, and add this section at- E8 t+ O+ o3 v3 Y! e5 I/ I
  27. the end:8 @4 I( {& E' K5 s- K7 y. N. O, Z
  28. ---cut here---
    4 J3 q" J: w9 j" @# S% @1 k! @. w
  29. [DBEXPRESS]
    : F7 Z  Q1 M' t1 w2 ~
  30. sqldir=mysql_sql* D6 J5 h% _# i+ |" M
  31. Drivername=mysql; Q4 B; T* N) E8 Y' v! ~# s+ P  C7 \
  32. Database=Your_Database_Name_Here
    3 E/ Y) L7 d6 L6 e
  33. Hostname=The_PC_the_MySQL-Server_is_on
    , _" [( h6 u4 ]0 \
  34. User_name=User_name_on_the_MySQL-Server4 v" }& l; U) f) T! Q" J5 L2 `0 ]
  35. Password=Password_to_go_with_above_user_name7 B7 M8 A' s: a0 F
  36. GetDriverFunc=getSQLDriverMYSQL
    . r) A$ h0 `1 b: m1 Z
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib7 e+ U3 j7 y( l0 A& L
  38. LibraryName=path_to_libsqlmy_libary8 y0 m/ r/ g/ o4 X1 I7 w
  39. Active=17 D, |7 h6 I5 x( a
  40. ---cut here---
    4 X; B) w8 E9 S- z- d5 I
  41. In my environment (a linux box with a MySQL server running locally) I have:/ U; I4 c% E; v; B; h
  42. ---example---
    9 v! a2 E* w  B0 L& I
  43. [DBEXPRESS]
    8 Y  B' Z+ M% E4 K
  44. sqldir=mysql_sql. M4 }1 a, l& x; m$ L$ R
  45. Drivername=mysql
    7 r+ ~; l7 K- m
  46. Database=test% o; f2 u2 T. [/ B0 |. U
  47. Hostname=localhost) R% l; n3 l* U* R! O. x
  48. User_name=testuser
    # R5 X4 f- N. X2 k! E9 M8 v
  49. Password=my_password- F9 q4 o, ~$ e0 U! P  M5 H
  50. GetDriverFunc=getSQLDriverMYSQL/ j  m  s) Q$ J
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    2 C5 _  M( w- ~, Y; q3 [
  52. LibraryName=./libsqlmy.so5 ?! V/ N5 y: G2 B) m- _% l* J7 v
  53. Active=17 r$ ?# L% {  H+ T  l
  54. ---example---3 y# u2 A9 L- r8 [0 s& h8 I

  55.   u5 j0 F1 n, |' |! R
  56. On a windows box, also running the MySQL server locally, it would be:: W) D$ m! E2 x9 T1 c" b% j
  57. ---example---8 R2 ~2 d) C4 {4 h" m7 Z
  58. [DBEXPRESS]
    " V& Y9 G. F, x5 d7 ?- K6 r9 X9 E
  59. sqldir=mysql_sql, p1 Q: O7 q4 H
  60. Drivername=mysql# @3 w+ n5 {* b- ]
  61. Database=test
    2 Y" v0 p* Q3 {
  62. Hostname=127.0.0.1
    7 R6 e2 {! {5 g2 N/ I
  63. User_name=testuser
    0 g5 p: F( U2 a8 i0 [- v! J
  64. Password=my_password
    3 T# I) I4 f8 W9 j* C: z4 m+ L6 a# A" Y
  65. GetDriverFunc=getSQLDriverMYSQL
    4 u; p& ?* Y6 G. N  T2 i
  66. VendorLib=libmysql.dll
    ( G6 V6 z# _+ m; O7 Q
  67. LibraryName=dbexpmysql.dll
    + ]$ j: F3 S+ w6 l
  68. Active=1
    9 u2 f$ A! H9 Y% A8 ~9 K( _' h8 m
  69. ---example----
    % B( n" c$ |- M8 i4 O
  70. - written 02.03.04 by pwk.linuxfan& O4 Y- ^! o2 B6 d1 U3 d" N4 m( Q" g

  71. / w. s# R( w( ~6 Z7 H) e
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看! g! S: \- }' s: g, s+ y

  1. ' T! H2 X0 w* U/ B; g0 Y3 ?
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### 4 y# d3 l4 I$ C3 {" h1 \
  3. 5 l5 h! F7 d5 r* m
  4. # # #我们所需要# # # ' G9 H1 y, P9 ~# `3 N' }( v  m1 p" _
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    4 u' s0 f. x! ^
  6. 不会解释如何做到这一点-也有文件存在,为3 _% ^! P7 r  D. i" G
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    9 y5 a9 w( B6 W
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    4 i; I) l2 K( V! `8 X
  9. 随着数据库。此外,你需要一个卖方图书馆安装于% V9 Z. c8 A5 ]* b& V- R
  10. 本地机器,这是我的MySQL安装。 1 `. O/ C% n) Q, ~. M, _
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从, o' Q4 t6 c! R/ g! @4 V- j
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL % X1 k# T* D( h- |* [0 ?7 |6 p
  13. 数据库。
    4 J/ y7 ^4 i" u
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    0 h1 @& Q4 }' j
  15. 编写本报告的时候,仍然有太多的问题-检查现状' N- [8 `! ?% r" u* W
  16. 在teamspeak论坛,如果你有兴趣。
    ) `6 R2 u. Y+ t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / w1 y6 {5 b$ K" _: }* [, u
  18. Borland公司使用。这个司机只能界面与客户端库) _! J% M# k9 z, H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    ' ]; C" N  y5 y
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为( {9 ?9 J: z- J! n" W' c& L
  21. " vendorlib " ,并解数据库连接。 & |) l9 a2 j9 o7 E6 d4 N2 w- Y
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 0 @. S: @& Z& R$ A- w
  23. # `, ~* j4 H  n1 B
  24. # # #做好工作# # # ! I- L) ]. ^+ U
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都8 N4 s; k9 ?( k: }
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在# M2 Q* E; j6 @' N5 T$ ~$ B% p) f
  27. 结束:
    ; v+ [/ h4 A/ n3 K
  28. ---削减这里---
    8 t! q4 \2 k% B$ r) Z* h+ R* t/ K' {  @0 a" F
  29. [ dbexpress ]
    9 Z  A! M. r  c/ Q% V
  30. sqldir = mysql_sql
    ! B4 L$ ?$ V  o0 c. L: k* \) z
  31. drivername = MySQL中/ h4 I+ w, t! E
  32. 数据库= your_database_name_here # M( z- r) g/ o7 S3 K0 K
  33. 主机= the_pc_the_mysql - server_is_on
    : a9 I( Z, G& ?/ U% ]8 t1 w1 k
  34. user_name = user_name_on_the_mysql服务器7 E5 K- R- `; m) I/ q
  35. 密码= password_to_go_with_above_user_name * T2 S9 w' K+ C4 v; }
  36. getdriverfunc = getsqldrivermysql
    7 M0 k% f% ?# ?% @; y
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 5 a$ V8 g4 n- q& \7 \+ F
  38. libraryname = path_to_libsqlmy_libary 4 h5 O1 l$ R# L6 m$ Q
  39. 积极= 1
    ' E1 R5 ^8 Q! `3 _, b7 N% L
  40. ---削减这里--- - D( I" y1 E$ q
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: * Q; U' G: X9 b3 g
  42. ---例如--- 2 p2 }; W: {; x( R5 s; [
  43. [ dbexpress ] + s1 ?$ H/ b4 [2 l3 I, h$ w) h
  44. sqldir = mysql_sql * @( b% I* ]7 E7 a. P. t
  45. drivername = MySQL中
    ; h1 T! I2 Q5 ~$ b( k; {
  46. 数据库=测试2 ^0 G9 E% F+ G, L. U
  47. 主机=本地主机* Z, }& N) a+ M0 e; D) |
  48. user_name = testuser 4 b" {+ F" j. V! E' g9 x
  49. 密码= my_password
    * Q8 r( Z/ N4 X/ U; }8 V
  50. getdriverfunc = getsqldrivermysql   b+ x( h1 N9 W& ?% X% [+ Z2 A5 m% B
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    ) g) |  @3 M8 ~- t/ Y6 c1 [8 x" I
  52. libraryname =. / libsqlmy.so & E$ o6 I, T) b# h" Y  J
  53. 积极= 1   c( Z4 |3 }3 n/ Y- J$ @2 p2 s
  54. ---例如--- . ^- G) |+ r1 o
  55. : b3 l- K$ x2 {7 V3 f; q$ U
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 2 M! t& C* b6 A2 k
  57. ---例如--- $ y, Q9 k+ X2 ?# W
  58. [ dbexpress ] 2 z8 _& A* G. D. o% n
  59. sqldir = mysql_sql
    / o* h+ h8 F) Y$ V) d- N$ d/ Y
  60. drivername = MySQL中* p& Q- g2 j  [, Q0 j8 K
  61. 数据库=测试
    , r- I% G: j0 ^* m. Q9 L. z
  62. 主机= 127.0.0.1
    5 F/ D4 ]4 V0 r/ |
  63. user_name = testuser 6 }: R; T9 u& Z) d4 T9 M/ D
  64. 密码= my_password ' @  j1 _. j  l5 {4 a  U
  65. getdriverfunc = getsqldrivermysql ! e3 W8 \8 I6 T' ]# ?
  66. vendorlib = libmysql.dll在
    ! y" s1 o# ?  z" d6 Z2 @9 H
  67. libraryname = dbexpmysql.dll 0 L( [8 u! I; k4 a
  68. 积极= 1
    ) B7 Y; Q; l: R$ g) ]: D
  69. ---例如----
    ! @5 w2 D' v+ B- P
  70. -写在0 2.03.04由p wk.linuxfan
    ; X0 N7 o& T2 x& W3 T  D
复制代码
发表于 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
, h* ?5 h0 X4 L' G, M# K; Q5 a9 z7 d5 T+ ~0 c* r  T1 S" e
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-11-20 18:47 , Processed in 0.061623 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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