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

2291 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 1 K0 R4 g! l9 K4 ]( j: ]2 l% D

& W& h& p4 @( L

  1. " K( @5 z, f6 d; m% ?/ {- G
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######; y. v  ~# V9 S
  3. - N  G# `( `- L- a+ J1 b7 Y
  4. ### What we need ###9 T% V: C8 U$ b& i! o; J
  5. Naturally, we will need a MySQL server to store the data for us, this document
    " W3 H, s; x, k3 i: j/ s
  6. will not explain how this can be done - there are documents out there for the 1 ]  d" |8 i! E: o5 r* A
  7. interested. The requirements include a (empty) database for TeamSpeak to use
    : C. |" }$ B6 {7 ?) K2 g
  8. and a user account (username + password) that has the permissions to do stuff+ t* _- F0 g# C  s# i7 `9 {
  9. with the database. Additionally, you will need a vendor library installed on the
    3 G5 t$ e3 _) S) \
  10. local machine, this came with my MySQL install.
    3 s- x  |. d. w7 g2 v7 S3 Z% W
  11. These instructions will not tell you how you might transfer your data from the  P' G# f  q  o" [; [
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    # l. T( `8 s  m4 i/ I
  13. database.
    . @  ^1 X6 o) l2 Q. q- Z0 E/ H' Y
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    " z0 M2 R  R. @, X
  15. the time of writing, there are still too many issues - check the current status9 s, H) N7 u9 w) n! d
  16. in the TeamSpeak forums if you are interested.
    ) ^2 |% E1 j, A/ h
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from
    ' [7 ]1 |; m0 i$ w: }0 J3 A
  18. Borland was used. This driver can only interface with the client library that
    5 a0 z/ X; e7 O1 T9 o) d
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this' o- J3 y5 i& t, O8 b/ S# I$ o6 B
  20. client library - basically all you have to do is to use a 3.x client library as
    " B/ I0 ^3 G  }( m
  21. "VendorLib" and a 4.x database to connect to.
    3 T9 F0 Z- n( r; z( [
  22. If you need more info about dbExpress, you can contact Borland.! {3 ?  }: R' ?1 O7 q4 I1 `! Q/ m
  23. ! n4 f+ W( u% n% z. t& @
  24. ### Doing the work ###
    3 V1 k* w1 d2 N/ O/ V" e# J
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    4 g$ z! U3 I1 D( D3 H
  26. the perquisites right, just open your server.ini file, and add this section at
    7 f% e& f( Q" z3 j( Y/ l% J
  27. the end:$ i- ?! H  m5 V% {4 }
  28. ---cut here---; ^) x* C! L" ^3 e. ~( J& j' M- Y
  29. [DBEXPRESS]- k( U# t1 g/ z. c' x: \
  30. sqldir=mysql_sql
    - S! a9 j  S: N
  31. Drivername=mysql! J4 ~' r/ X, d1 x7 a; n
  32. Database=Your_Database_Name_Here
    * }# P# q( W* P& l
  33. Hostname=The_PC_the_MySQL-Server_is_on
    - b/ o% L1 u$ b9 w- O
  34. User_name=User_name_on_the_MySQL-Server
    1 y. H, v+ b$ R7 o, d# m
  35. Password=Password_to_go_with_above_user_name
    5 }+ z+ d& }# ~# P" [) t3 U+ N
  36. GetDriverFunc=getSQLDriverMYSQL/ ?/ V- B7 ]  p" q# r! B
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib
    7 N+ r' E( ~3 F2 ]) H0 ^* p" M* ?
  38. LibraryName=path_to_libsqlmy_libary
    6 y- I4 q7 P  U8 X; V8 C
  39. Active=1+ ]0 E' H) \6 c$ z1 t$ }
  40. ---cut here---. `) F1 r/ o7 I
  41. In my environment (a linux box with a MySQL server running locally) I have:* i1 f3 d1 l4 b4 e; i" r
  42. ---example---! V! y. l4 N; W$ }
  43. [DBEXPRESS]
    - C& c! w  `! f1 @2 A. ~' q
  44. sqldir=mysql_sql
    ' ^3 u- W' V7 @" H4 b% h
  45. Drivername=mysql
    3 t0 J7 [& h2 P1 M. ]+ }, D" ~
  46. Database=test
    5 Z. E5 }+ M( t6 a, k
  47. Hostname=localhost
    ! N% @9 a* E" c: G4 e0 ?  |
  48. User_name=testuser2 c- H, x8 d: w4 r: o( s! q, _/ Z
  49. Password=my_password% B6 B4 \4 O2 m- d5 ~
  50. GetDriverFunc=getSQLDriverMYSQL1 }% i- I5 N: ~" `( z  {2 n
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    6 U( o" W8 Z9 }; W4 P% @
  52. LibraryName=./libsqlmy.so" s0 F3 F6 Y( i! r9 g
  53. Active=1
    ( `9 _: q7 j) f& V4 {- g/ `' W; \( z
  54. ---example---
    * S. c2 ?2 j( P
  55. + }( I7 U9 h8 O7 Q# l
  56. On a windows box, also running the MySQL server locally, it would be:
    0 F, g& f+ n  h6 b5 j  O
  57. ---example---
    ) L3 ~* c( Q. K
  58. [DBEXPRESS]( Y; W% T) D! L
  59. sqldir=mysql_sql0 a5 a, D: O/ n5 P# Q
  60. Drivername=mysql. O, t: G3 v  I+ L
  61. Database=test
    / D: D) T/ E; ~( _
  62. Hostname=127.0.0.1: |& I2 h& k3 p0 p5 M
  63. User_name=testuser) Q9 l* L9 b- B/ ]0 G0 h9 b- O
  64. Password=my_password6 f  a5 h% z0 H
  65. GetDriverFunc=getSQLDriverMYSQL
    2 L/ P# X+ I* b1 J& _4 X
  66. VendorLib=libmysql.dll- Q. a/ j; K, F2 ~3 Y6 U
  67. LibraryName=dbexpmysql.dll& V; Y, W+ v  n
  68. Active=1
    % P( f" B1 M1 }1 h" K! T
  69. ---example----! ]3 t7 U2 P1 f/ Z
  70. - written 02.03.04 by pwk.linuxfan% z# w9 c% H' t5 Y- j
  71. # `' i* ?: y. E
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
+ o2 t  ^: a/ n
  1. 8 G4 H& H: E  D+ K
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    7 r. F! x( W, R9 J6 u& T/ N' v

  3. 0 {! b) h9 n+ S* h# \+ |' }
  4. # # #我们所需要# # # . W' o. q& _9 d1 E5 N* u2 `% H# x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    % H) q# A: S9 p5 @
  6. 不会解释如何做到这一点-也有文件存在,为
    9 o- y: \8 a7 B* v, A1 R( C& |
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用: H1 |: y3 O3 T- }) J
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    6 x+ m# e+ R. F
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, Q6 d/ k6 r- F) x7 X
  10. 本地机器,这是我的MySQL安装。
    4 m  w( e6 s. [* U7 I. k5 g5 Q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从
    $ L. s4 C7 d, F8 Z+ a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL . |" `. t0 D" P) z
  13. 数据库。 - O7 g6 _6 Z7 Y) c2 y; m) K7 z
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    - D% `+ W4 [+ M( H+ m
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    # Y" j7 Q8 q7 [9 ^! R2 o
  16. 在teamspeak论坛,如果你有兴趣。 ' Q% E5 k# _: ~, v+ P3 i  x$ j9 t
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    3 p# y" @8 i8 r: ~' U) F
  18. Borland公司使用。这个司机只能界面与客户端库
    , a0 T% r; l8 d" S
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这0 ?+ e1 |+ m; K2 n* y% H
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为% U9 p- B4 m' W4 w
  21. " vendorlib " ,并解数据库连接。 , a; A4 c. Y2 i& M8 _
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    4 D# u8 P1 _3 k# t
  23. 0 i7 n! d  J& q3 n
  24. # # #做好工作# # #
    + Q" \) {3 I! |! P
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都2 ?  P* y& e( `
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在
    , G9 J5 [& |' r: m3 w" ^: m) q
  27. 结束:
    ' ~; [- p% j' Z  ]) }
  28. ---削减这里---
    6 ^) g, p7 Z; b! s, j
  29. [ dbexpress ] 5 y/ w! `1 C) m3 d" c
  30. sqldir = mysql_sql - e% m5 u2 ]7 r% }% h2 j% B  f8 L" X
  31. drivername = MySQL中* e, L! Z! z4 S: k4 ^1 k
  32. 数据库= your_database_name_here : Z; `+ R/ R. b2 |1 q0 H$ t5 D7 U0 c/ h$ S. q
  33. 主机= the_pc_the_mysql - server_is_on 1 ?$ o7 l3 l$ s  A/ E
  34. user_name = user_name_on_the_mysql服务器: [( V/ `& f2 j" T  a
  35. 密码= password_to_go_with_above_user_name
    " Y: g* M1 o7 }7 S" B- g
  36. getdriverfunc = getsqldrivermysql
    7 N' ~& n; c8 w( W. X' x% s
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 _' r, t4 E/ b: w8 i! k
  38. libraryname = path_to_libsqlmy_libary # V1 l4 I2 D  x9 M8 ]+ J# \$ M1 k
  39. 积极= 1 $ e5 `  O, L: {. O& M
  40. ---削减这里---
    - g# l& {' k5 w( ~( D, g
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 1 {* Q/ P! B' l0 X& B* M  \
  42. ---例如--- - J  Z' S" }6 r. \+ x* @$ G
  43. [ dbexpress ] ( [0 t! C9 Q4 v/ [
  44. sqldir = mysql_sql % Z5 ?/ Q9 ?: J, L" q; B' d
  45. drivername = MySQL中
    , t! ~, b$ h- H/ D& |
  46. 数据库=测试$ \6 H" o) b% t- o
  47. 主机=本地主机: a3 X+ ?- p- m6 U- l9 w" I/ i
  48. user_name = testuser
    1 y) C$ T% r! g' j7 T
  49. 密码= my_password
    $ a% j" F! v, [
  50. getdriverfunc = getsqldrivermysql
    2 l' w0 N5 C3 U1 a3 d! R$ }
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0 ( W: C3 M% n% E! n# e8 y
  52. libraryname =. / libsqlmy.so 7 _" F2 o2 E2 I0 T9 I
  53. 积极= 1 0 j# G4 z$ T0 \( ]; |
  54. ---例如--- ) @- f4 Z, D3 |
  55. & F, [  z" P+ c
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    ' }, U5 o9 c( u0 e+ ~2 l1 r
  57. ---例如---
    : L% j5 _  z. E/ P' D
  58. [ dbexpress ]
    9 g; q, Z; a9 Q) n  V9 }: W$ {
  59. sqldir = mysql_sql : k$ H8 _+ X) S
  60. drivername = MySQL中* v4 g" ^% o% S
  61. 数据库=测试
    , }# [1 u% _* u1 I
  62. 主机= 127.0.0.1 0 i( o( y2 l% I) g7 Z
  63. user_name = testuser 8 ]' `% U2 [$ @  c3 i  F
  64. 密码= my_password ! J9 y' L9 H/ w' G' N
  65. getdriverfunc = getsqldrivermysql   Y  i$ x: x* l9 {
  66. vendorlib = libmysql.dll在
    % b$ q( b0 M' O$ m" Z
  67. libraryname = dbexpmysql.dll
    ' @1 h0 d( |4 k
  68. 积极= 1
    # E/ V  V/ l, d/ g3 F) `
  69. ---例如---- " o$ R% T( ^: V; w% n+ k
  70. -写在0 2.03.04由p wk.linuxfan
      M' {8 Z1 j' H" I: F
复制代码
发表于 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( e5 T) h% t7 c5 }) W2 ?* b8 F" a
; ~1 s8 g9 {- [: s* g
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-13 11:35 , Processed in 0.092401 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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