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

3475 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan + ?$ b& z$ ]. X0 p% N1 K  |5 C
/ e- o. P- s; j: ?

  1. % _% u9 L' t4 q6 Y; t) ^) O8 D5 B
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######
    3 |: m' `8 E0 G" t

  3. - T8 q" N5 a8 a7 e& U2 }! L
  4. ### What we need ###
    ) U" m$ b! y& j
  5. Naturally, we will need a MySQL server to store the data for us, this document
    - }' n( _% l5 |* r3 b( `3 V. s7 D
  6. will not explain how this can be done - there are documents out there for the ! K6 s' S. S6 l0 b% B/ o2 H
  7. interested. The requirements include a (empty) database for TeamSpeak to use0 x9 `4 A8 M! ?  j% N# l: w
  8. and a user account (username + password) that has the permissions to do stuff
    % x4 p' p0 R. H
  9. with the database. Additionally, you will need a vendor library installed on the
    . J3 v6 G1 G. Q
  10. local machine, this came with my MySQL install.
    * U* @" L2 z, E
  11. These instructions will not tell you how you might transfer your data from the
    : S: n) t/ O9 d2 Z, F# I2 t
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    3 I: p1 l; U: U9 N; _. {( x
  13. database.
    ' }: h* _9 u- w8 |6 u2 S% n
  14. Some users have reported ways to import a SQLite database into MySQL, but at) {# ~5 j: u/ {+ n# I
  15. the time of writing, there are still too many issues - check the current status6 R2 f6 X% Z% c# s, V" A. J' r
  16. in the TeamSpeak forums if you are interested.! [9 j% z4 K+ \/ _$ y3 e9 b. j
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    2 ~1 G& I5 ~' l1 h5 }+ x
  18. Borland was used. This driver can only interface with the client library that : _4 \; I; e* ?3 h. w+ w
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this% W3 k' F9 F" ]6 y6 w8 H, A* r: j
  20. client library - basically all you have to do is to use a 3.x client library as ; G) L- c5 `% X  w
  21. "VendorLib" and a 4.x database to connect to.7 L  X' R: X$ G( [
  22. If you need more info about dbExpress, you can contact Borland.
    . {7 x1 y; m5 r9 r4 e2 z; Q/ _
  23. , d' [5 O& N, t
  24. ### Doing the work ###
    / `, u. ?& y. k& P: f
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ; i* c; a) H# I
  26. the perquisites right, just open your server.ini file, and add this section at7 V5 v) V5 f& B2 @! b
  27. the end:
    + e. U* s2 T" m8 n/ M3 s9 e8 t
  28. ---cut here---
    % T1 u/ P) U6 {
  29. [DBEXPRESS]
    3 d* X* W. }2 ]6 c* y
  30. sqldir=mysql_sql, P/ i$ k& o9 ?) y# U
  31. Drivername=mysql1 Y( |6 |  R. g4 ]3 R
  32. Database=Your_Database_Name_Here- l; |$ [2 @9 O
  33. Hostname=The_PC_the_MySQL-Server_is_on
    * J% I5 H1 Q2 b
  34. User_name=User_name_on_the_MySQL-Server
    9 T1 X, k# R  W6 \
  35. Password=Password_to_go_with_above_user_name
    ' Q. ]1 \5 |# G# n) G7 j# @
  36. GetDriverFunc=getSQLDriverMYSQL( x; W( h, z  T
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib% q, E& W5 [$ @5 ~
  38. LibraryName=path_to_libsqlmy_libary- ~" v4 I& p- w: e+ C/ }
  39. Active=1
    8 ~/ ]. M* c4 z
  40. ---cut here---* f% ~: G/ |& @  m" z. f
  41. In my environment (a linux box with a MySQL server running locally) I have:: t4 P. ?3 T& D
  42. ---example---
    , R  _7 P- r! C% y/ I2 X
  43. [DBEXPRESS]
    4 }! H  a2 z& m$ s9 ]+ g3 X
  44. sqldir=mysql_sql" E8 M$ q! F* l$ y
  45. Drivername=mysql) J# \1 q; t8 M4 Y) v
  46. Database=test7 _4 K7 K' v, h( I; ^. |
  47. Hostname=localhost
    ( a1 c5 S* U% r! m& b: w
  48. User_name=testuser' @, O" A$ a  q/ G7 ~
  49. Password=my_password. M- f4 M$ m% e
  50. GetDriverFunc=getSQLDriverMYSQL
    8 \* e3 g! c7 C5 `! B$ Q$ [
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0; |: W; }' l% \2 d* a. B
  52. LibraryName=./libsqlmy.so; a  Q' F$ \0 k' k
  53. Active=1  n: V$ g: {1 M" ]: H/ k* p
  54. ---example---( {+ L$ @5 J9 S9 @

  55. + ^  L! f/ X+ H0 x7 O, U
  56. On a windows box, also running the MySQL server locally, it would be:
    * u# C" K9 F) i& G9 F' Y# f
  57. ---example---5 f! Z, F  {2 N' \# S4 u% ?+ b/ q
  58. [DBEXPRESS]" M! w9 v. u* r2 s* Q. |
  59. sqldir=mysql_sql8 A/ J7 P" R6 {4 z7 D# \
  60. Drivername=mysql) Z4 n0 [2 t0 p4 u; N
  61. Database=test" e6 U5 y* h) z3 _
  62. Hostname=127.0.0.12 n, F; ~) A0 d! x( y4 y: m! f
  63. User_name=testuser
    8 A# a5 ^5 ]3 n# D1 U0 |
  64. Password=my_password
    + g# r. ]4 y; C* S3 L8 h% I
  65. GetDriverFunc=getSQLDriverMYSQL
    & L. K$ t6 K: _! r( a3 _
  66. VendorLib=libmysql.dll+ h' h; @- B- t. D" ~
  67. LibraryName=dbexpmysql.dll
    - e  p  V5 F8 p4 u
  68. Active=1
    . C7 Z$ i, s5 S( M& n1 C/ G$ r
  69. ---example----/ w6 F0 N5 P2 L$ H) z
  70. - written 02.03.04 by pwk.linuxfan
    7 @' K% h& G5 N* ?* ]* [

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

  1. - E3 q& ~+ i4 u
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### # x7 @  Z2 Z( t1 ]- [2 O' `. B

  3.   H! [* v6 F, R7 B
  4. # # #我们所需要# # #
    7 ~! b9 l, g. |+ |* y1 j& W
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件/ y4 S; L8 M7 l& v
  6. 不会解释如何做到这一点-也有文件存在,为) M2 m# ?! c0 `1 _3 K9 U' w
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    6 n5 z- X% A# N- O( M6 N  V( A
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西( c, c/ z$ E! ?: N2 C/ w( E
  9. 随着数据库。此外,你需要一个卖方图书馆安装于
    $ W* o' N8 |9 Q2 A, z. y
  10. 本地机器,这是我的MySQL安装。
    3 R& V3 o( {# ~4 e! Y
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从8 o. H8 L% N1 r
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    # o" a. ]7 d' |' C8 B  N. T4 S8 `6 k$ R
  13. 数据库。 4 R1 ?% h' F) e, o; V7 M
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在0 b" R3 d' L0 `/ D1 p. P+ j
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    1 T8 f8 z1 p8 r
  16. 在teamspeak论坛,如果你有兴趣。
    ' N" M+ X6 V# f3 k8 K, k
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机) u& j6 Q( O; ?7 l
  18. Borland公司使用。这个司机只能界面与客户端库) [' {$ p- ~( x. o7 c9 U% W
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这) {/ |1 N4 Q# j% A4 b" P5 \
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    * Y: w& \4 Q; f# t1 [
  21. " vendorlib " ,并解数据库连接。 2 x5 s2 w8 V  F/ @$ g: M
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 , {$ t7 p2 `# L) A) f
  23. " g* _) s* ^3 D1 P+ P# o
  24. # # #做好工作# # #
    ) w% @: M) Y% Q4 G; Q9 ~
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都* f& f/ Y# Y) h! x
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    . f( E" Z- L# ]# H
  27. 结束: ' V$ S) Y! ]0 h2 H5 J
  28. ---削减这里--- 6 _& F) ?/ V6 X( q
  29. [ dbexpress ]
    1 r% f+ P+ `) q! `4 p$ a& Z
  30. sqldir = mysql_sql 7 \( T9 B8 T% [! N* w1 Y) J
  31. drivername = MySQL中
    , U, h2 S  a/ n+ E  A
  32. 数据库= your_database_name_here 2 o3 h$ s" a* i& X9 f
  33. 主机= the_pc_the_mysql - server_is_on
    $ [! D' Z; t6 Y$ g
  34. user_name = user_name_on_the_mysql服务器9 Z" o. R7 s& U4 a
  35. 密码= password_to_go_with_above_user_name
    3 \2 w+ h6 T$ f6 ]/ n
  36. getdriverfunc = getsqldrivermysql - L- r0 p$ |- m8 b7 m
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    ) j& B1 h  r: H3 s4 H2 a3 i' W
  38. libraryname = path_to_libsqlmy_libary $ k# @7 k, b8 H
  39. 积极= 1
      d! R/ t, s- v" Y
  40. ---削减这里--- + `( a# E% |, e0 K8 [
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    . S- T1 x  ~9 [. H
  42. ---例如---
    + C( d6 a' s3 ^% o6 G2 t
  43. [ dbexpress ] 0 N+ ]; ^9 {; y4 J
  44. sqldir = mysql_sql
    2 B& X6 N3 K6 _, Y- m5 Z) U2 ?
  45. drivername = MySQL中
    : \% R1 r  p7 k* c) Y
  46. 数据库=测试* K: @0 c( c- d  t& V* U% s& G
  47. 主机=本地主机
    % W/ e: T8 @; B# B2 _# z
  48. user_name = testuser + M  o; r7 `$ j7 g! ?4 D: [
  49. 密码= my_password # ~& M+ O7 h1 _8 x+ N8 ^( g
  50. getdriverfunc = getsqldrivermysql 1 m; D3 e! g7 ^4 h/ t; h& o
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    7 [4 d# p( \( l$ F1 @7 E3 p
  52. libraryname =. / libsqlmy.so $ i1 ]3 \- F8 J/ L; _0 L
  53. 积极= 1
    8 N! `4 c4 t2 B7 w
  54. ---例如--- % Y: w6 }5 s; ?: P! t2 A
  55. 4 e" C6 S* S1 `/ X6 h4 u
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    - T: C" ]+ K& U" m& {9 u# ]
  57. ---例如---
    2 O3 V3 ~4 D% T/ ]
  58. [ dbexpress ] * N6 n, b0 X$ i' B7 Q/ E
  59. sqldir = mysql_sql 7 T% a9 d! F  A+ y
  60. drivername = MySQL中; Y) i5 T$ Y( E* e2 Z* X5 j6 E
  61. 数据库=测试
    % I% r( }* P. |7 x$ e
  62. 主机= 127.0.0.1
    * o/ K! i$ ?  ~8 O" I; H
  63. user_name = testuser
    ; x: j: Y  {2 w8 u# ^
  64. 密码= my_password & D* Q7 ^/ l! ]
  65. getdriverfunc = getsqldrivermysql " Y$ C# C5 v( w. Q! e
  66. vendorlib = libmysql.dll在" W5 z" J4 {$ {" W* C- r( K
  67. libraryname = dbexpmysql.dll
    - D/ q) E0 G( u- B$ S! s
  68. 积极= 1 $ ]7 G  r8 |4 z- S3 D8 y: n
  69. ---例如----
    8 ?! W( ]: d, ]0 v) L
  70. -写在0 2.03.04由p wk.linuxfan
    ' S- s) q9 L4 `
复制代码
发表于 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
9 E4 _; g6 f0 A& a0 z7 N" a# y3 {6 G, w* 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-11-4 11:31 , Processed in 0.050354 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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