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

3086 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan 0 X6 ^' P0 D$ f4 C& l- Y+ S/ z
1 Y, G8 c2 I, p3 p! M2 n
  1. % Z, o  l3 A1 ]8 x
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######6 G0 O/ O; R5 e. y: v+ U2 O- G

  3. 4 `, \- _1 ]0 o
  4. ### What we need ###7 C% R# u# {3 L
  5. Naturally, we will need a MySQL server to store the data for us, this document 1 d! E, ?. Y: ?
  6. will not explain how this can be done - there are documents out there for the 6 ~0 L6 P4 ]( x  V( P
  7. interested. The requirements include a (empty) database for TeamSpeak to use' L7 d' }4 ?4 c5 Y
  8. and a user account (username + password) that has the permissions to do stuff) C: L! h$ M6 w8 Y
  9. with the database. Additionally, you will need a vendor library installed on the6 q' S( K6 R4 t
  10. local machine, this came with my MySQL install./ }% L0 q: m$ `# f  c  ~  h
  11. These instructions will not tell you how you might transfer your data from the  E: H: g/ M5 F. I! K
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL6 X9 M# A& x" k0 K3 f# I
  13. database.; Q) i5 r* P* x+ ^/ X2 `4 `
  14. Some users have reported ways to import a SQLite database into MySQL, but at
    / ^+ Q8 H! `- }1 x, k
  15. the time of writing, there are still too many issues - check the current status
    # w3 \/ s' `2 a5 I$ e
  16. in the TeamSpeak forums if you are interested.) u6 j2 L8 H- N6 b0 e1 f1 {
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from7 G, N' L' X) N: P; P8 |4 T
  18. Borland was used. This driver can only interface with the client library that
    ; {# w' j- `0 e- a
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this# r6 e* P1 I$ D; b: X+ R/ @# `
  20. client library - basically all you have to do is to use a 3.x client library as + ^1 b5 [2 w7 K5 W& z' m
  21. "VendorLib" and a 4.x database to connect to.7 h0 \2 U  b1 p! `9 ]$ J
  22. If you need more info about dbExpress, you can contact Borland.% E! C. z5 a5 k& @! t6 x+ j

  23. ! h9 c  e0 Y  S2 h7 j% i$ C/ ~  a
  24. ### Doing the work ###- N6 x- q5 P) _; l
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
    ! ~( p( O6 k, r2 H1 e0 h! Z
  26. the perquisites right, just open your server.ini file, and add this section at
    8 E; Z3 e+ b1 Q) }* G
  27. the end:
    9 {$ K" Q: ], T) ]
  28. ---cut here---
    8 p2 w' {; ^! W/ q
  29. [DBEXPRESS]
    # ?2 \+ q- g& c7 T$ l
  30. sqldir=mysql_sql
    - W8 q6 a0 C; D2 ]8 J8 F
  31. Drivername=mysql% r" r2 ]6 z, p, O/ L0 y1 M* X2 X: M
  32. Database=Your_Database_Name_Here% G+ A% v- O; Y+ }( s! @
  33. Hostname=The_PC_the_MySQL-Server_is_on
    + `  O! N- f- O, W" {
  34. User_name=User_name_on_the_MySQL-Server
      P3 h! A# O+ l. T& C% f
  35. Password=Password_to_go_with_above_user_name
    & ~- _: v, y& a" z" ^8 M
  36. GetDriverFunc=getSQLDriverMYSQL
    8 y. l$ \" s  y3 G3 j% s
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib& }7 h4 p/ Q0 f4 _' o- |
  38. LibraryName=path_to_libsqlmy_libary
    . t/ Z; ]! b3 u2 T& p1 o4 @
  39. Active=1
    0 h% P4 L/ S3 K
  40. ---cut here---
    # ~3 U& D6 Z, f  s2 v, K+ ^1 o
  41. In my environment (a linux box with a MySQL server running locally) I have:
    0 S5 A$ ~7 O  D
  42. ---example---+ Q3 _* T- ^1 [) Y
  43. [DBEXPRESS]
    1 n1 k% Y1 ]1 a5 |3 O
  44. sqldir=mysql_sql
    8 X8 z6 W% x  n
  45. Drivername=mysql" X4 p5 q3 h& {: q
  46. Database=test& ~( B' S' S7 {2 ?* A7 P3 Q/ m( y4 O; |$ R
  47. Hostname=localhost
    # r- J% U4 Z+ @: n! H0 P
  48. User_name=testuser! Y+ P" I: C* z/ P- l; j+ i  `
  49. Password=my_password
    6 O/ {$ \  X8 v8 \; b  X
  50. GetDriverFunc=getSQLDriverMYSQL
    $ K; i9 d3 V7 Z9 H+ y7 K5 V4 T0 I+ j
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    : K9 g2 s* \% V* V/ `% c* |! A
  52. LibraryName=./libsqlmy.so
    8 c$ j* E9 D0 n* C7 ?: p8 r! l
  53. Active=1' Z6 s+ H* A, ~7 o1 v5 d
  54. ---example---2 G6 L! P$ p0 T
  55. 2 q6 ~0 x, F4 U  K8 q+ r
  56. On a windows box, also running the MySQL server locally, it would be:& L( ]# c* f7 s3 ?
  57. ---example---
    2 p4 E) s  T# h
  58. [DBEXPRESS]
    % f9 n7 J: f' B2 d6 |7 }) N9 N- ]4 b" A
  59. sqldir=mysql_sql- u5 U- s( G$ y
  60. Drivername=mysql. j; L8 L6 f; T1 [  x6 @
  61. Database=test
    8 \$ Y$ H5 I* O2 j8 S/ V# ^0 f
  62. Hostname=127.0.0.1) b4 d! @  q4 y4 j- R# a. u7 a! L
  63. User_name=testuser
    ; o6 i# j3 L- j7 r3 H- Z% p
  64. Password=my_password; A% `* f; F7 I2 A1 F9 R" {
  65. GetDriverFunc=getSQLDriverMYSQL
    7 F5 A( b7 t  I% R0 g; X! S! x
  66. VendorLib=libmysql.dll
    / m# F7 }& H2 @/ q' r# }
  67. LibraryName=dbexpmysql.dll
    5 W7 H. w0 x/ ~' S/ B" F8 ~
  68. Active=1
    3 q3 p' D' K' r+ ]- x" g; s
  69. ---example----, n3 g5 G& J! f9 u
  70. - written 02.03.04 by pwk.linuxfan
    0 `1 P9 T& c" _
  71. $ n  N7 \2 q# U$ f
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看  I7 C: M) s7 {- [( K" J* I
  1. 6 q! E3 h. O5 i9 M2 P% X8 A( h- Q
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ###### ' B% l+ b$ ]% `2 W' _# [) V2 S
  3. 3 D: D/ z" p, A1 z4 x- L' U) a: _
  4. # # #我们所需要# # # % N+ K6 g' Y! d+ x
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件* ?+ G+ d, l3 G. J0 G* \
  6. 不会解释如何做到这一点-也有文件存在,为6 o) T% |* K  `; f5 Q1 G. F
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用- [) M0 q. [4 K( Z! k+ N. d
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    + M) Q. \- F" N+ o$ y( f
  9. 随着数据库。此外,你需要一个卖方图书馆安装于: I6 p3 t5 c0 L* c2 L+ O
  10. 本地机器,这是我的MySQL安装。
    2 N( b; B0 A7 }8 j5 o5 Z( _
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从) ]5 R& X9 C% f
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL
    ! y" V) y7 a/ Y+ B4 P
  13. 数据库。 ! r5 {$ v' ~. v! X9 s9 p7 }. d
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    6 I% S2 h' d  o) \3 s
  15. 编写本报告的时候,仍然有太多的问题-检查现状
    ' Y: J0 b: F1 x5 X, t0 g
  16. 在teamspeak论坛,如果你有兴趣。 * z! P# Y9 R& Z" p! }6 s
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    1 R  W$ g* G0 u/ p7 k0 q$ \$ m& A, W$ F
  18. Borland公司使用。这个司机只能界面与客户端库
    + y9 m) G6 ^$ N( I; _; H
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    . z9 R7 o% m) A% `
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    & D+ _0 W8 ?1 |! X' S8 C5 [, N8 O
  21. " vendorlib " ,并解数据库连接。 , O; ^+ |, }/ Y/ g( H) X( G1 ?
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。 9 ^% e' E$ `) v

  23. / Q2 k8 o$ \0 Z1 V% i4 }
  24. # # #做好工作# # # ) r2 M( {0 v$ C% ]; _! ^6 w9 f
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    ) d% z+ _, P! l0 X
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在* {% Y4 f) O, s( N# O! ]
  27. 结束:
    : j* b5 z- O7 K5 ^: p# s
  28. ---削减这里---
    3 q+ \, [7 [( c" L7 g5 n+ b. c  d4 B
  29. [ dbexpress ]
    2 Q& k4 v5 f' E1 h
  30. sqldir = mysql_sql * W; ?, ?: F. J2 e& U" X2 p: X6 H
  31. drivername = MySQL中( `! D" Y( v$ T
  32. 数据库= your_database_name_here ) N) q9 u  ]$ V3 M
  33. 主机= the_pc_the_mysql - server_is_on 3 T% J5 `1 A' `: f
  34. user_name = user_name_on_the_mysql服务器# G* x! B. b; b# P4 j- {
  35. 密码= password_to_go_with_above_user_name
    3 q  ^0 H, c3 y6 G/ D
  36. getdriverfunc = getsqldrivermysql $ _! M; R% I% H, x  m5 R! |
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib
    0 ^3 Q' Q, ?: ~5 D! O
  38. libraryname = path_to_libsqlmy_libary # c( B4 A5 f8 ^( v$ z& ^7 X
  39. 积极= 1 . @: \* i3 Y- |! o4 P
  40. ---削减这里---
    * _! R( D# r  i' a
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: 8 S9 m2 u" a1 `: [  h
  42. ---例如---
    3 ?! [% l9 m( k5 j
  43. [ dbexpress ]
    : Z6 V) A- A2 n3 g
  44. sqldir = mysql_sql 3 g. j+ A8 ]% s& G2 }9 i7 M1 [! X2 |
  45. drivername = MySQL中2 T% l! z9 u- w' L5 O
  46. 数据库=测试
    + u2 u  Z  Z9 j+ c1 Z
  47. 主机=本地主机9 m6 `9 s2 a! B9 |
  48. user_name = testuser . C" G# \. ]8 A: {
  49. 密码= my_password
    . `% ~0 [+ K- N* Z6 P. X/ e
  50. getdriverfunc = getsqldrivermysql 6 R% t% S2 z" O0 g: R* o
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    0 A  r" Z1 d, _* d- K" o* u
  52. libraryname =. / libsqlmy.so
    + ?' ~' I4 h  N5 w+ a
  53. 积极= 1
    . O/ m* z8 t0 U  ~. l' B& h& d
  54. ---例如---
    7 i% N" c0 M$ d! ~
  55. 9 N2 t/ _8 {- Q8 ^" S
  56. 对Windows中,也运行MySQL服务器本地的,那就是:
    * Q7 @9 ~! W  b  s( Z
  57. ---例如--- * u' w6 E' W4 b  N" X+ K* j& V' V
  58. [ dbexpress ] , F4 k! G5 M2 s. ?) O8 J
  59. sqldir = mysql_sql & e# z1 }1 a( v: ^6 ^- n, w  }
  60. drivername = MySQL中+ M; _* _7 h- g9 l/ d1 A0 [3 W
  61. 数据库=测试
    : r/ O. S6 N8 _2 H+ N& t, [
  62. 主机= 127.0.0.1
    * S- [2 G& O# v) k+ @& a
  63. user_name = testuser
    8 T9 ~# v7 x) b/ T) M3 ~9 E1 X
  64. 密码= my_password " c9 p' R9 N7 i; b
  65. getdriverfunc = getsqldrivermysql   l- R0 B/ U0 S" s# J
  66. vendorlib = libmysql.dll在
    % [" p6 |. ~& r2 {5 H. a$ y2 E. U5 p
  67. libraryname = dbexpmysql.dll 6 p1 c3 B0 L: `$ c/ N
  68. 积极= 1
    . x( _" U. z$ @' Y( w- S6 T+ d
  69. ---例如----
    6 d4 M# E+ N) d0 S, ?
  70. -写在0 2.03.04由p wk.linuxfan
    9 w. d8 r$ {- c5 I; U
复制代码
发表于 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
! ~4 j7 C7 D. V( v2 H! _# E0 L5 K! Z4 v0 e+ b8 Y* ]
but, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-8-29 11:36 , Processed in 0.102141 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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