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

2851 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
8 n6 A* ^( R, i: d! X/ _* M$ W7 _0 z% j  j( o# {

  1. 3 L; I7 M! R; n9 @0 R9 ?  F2 M
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######7 X( ~4 K6 Y  t

  3. & A& w  B% y: A
  4. ### What we need ###
    ' }4 _2 L  w) o9 o$ c8 ~1 m. @- ^* O8 Q
  5. Naturally, we will need a MySQL server to store the data for us, this document + j5 A/ c" D( g: L
  6. will not explain how this can be done - there are documents out there for the ; w+ k3 ?* n% D/ i7 }! R
  7. interested. The requirements include a (empty) database for TeamSpeak to use$ z4 n( N1 t# Z+ ], u, B
  8. and a user account (username + password) that has the permissions to do stuff& [/ L4 [' e/ j- x2 V/ o
  9. with the database. Additionally, you will need a vendor library installed on the4 W1 l# i" S, R+ _
  10. local machine, this came with my MySQL install.
    : z. o: ^' J* p% e& a/ |8 ~: y
  11. These instructions will not tell you how you might transfer your data from the1 }7 k+ ?3 u5 p
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL* [' Q7 i9 E+ t: ?2 }0 B
  13. database.7 ~' \1 Z: N# M
  14. Some users have reported ways to import a SQLite database into MySQL, but at/ g7 g9 T* a  n
  15. the time of writing, there are still too many issues - check the current status
    % m) Q9 H; P  a  F) n! @
  16. in the TeamSpeak forums if you are interested.
    9 a/ f7 H  Y  j/ |/ }
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from6 [" A6 X' o" d0 {
  18. Borland was used. This driver can only interface with the client library that
    & C/ V. C; N5 H+ ^7 m
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this5 s- R: V* k% b* D# r3 f
  20. client library - basically all you have to do is to use a 3.x client library as + q. m7 A" p0 r
  21. "VendorLib" and a 4.x database to connect to.
    9 a: j" `( d  K' n' g9 V& o& k
  22. If you need more info about dbExpress, you can contact Borland.& T# e3 {6 a  B; u% {% w

  23. 9 h& [! A0 ^  |% J
  24. ### Doing the work ###( E1 i1 g7 M# y7 r6 n
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all
      N6 L9 ^1 Z8 Y$ J3 {
  26. the perquisites right, just open your server.ini file, and add this section at/ Q" g/ L0 _. r, G$ h3 H( a
  27. the end:
    + `3 ~# y/ \! l
  28. ---cut here---( U% V6 W/ x7 G* g: o
  29. [DBEXPRESS]  V7 z* N3 u* P9 T
  30. sqldir=mysql_sql) c! b3 M: Y/ _7 j" G5 D
  31. Drivername=mysql& v& `5 b7 L9 I' H1 y0 J: ^$ `
  32. Database=Your_Database_Name_Here! R( @( y  w7 g2 K; \. G
  33. Hostname=The_PC_the_MySQL-Server_is_on
    ! Z' Q" q+ I3 k' S( f
  34. User_name=User_name_on_the_MySQL-Server
    ) g3 E! |  d& i+ z6 X8 G! g
  35. Password=Password_to_go_with_above_user_name! _5 ~- M) w) x- Q- V* F7 x
  36. GetDriverFunc=getSQLDriverMYSQL) u% n! A  `( U7 q3 l4 T) ?
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# v9 d5 X2 b& d4 v/ b+ f. d* j
  38. LibraryName=path_to_libsqlmy_libary9 ^" E& ~) |9 g+ l- y& |
  39. Active=1
    " k! }" g! ~& C. V2 a
  40. ---cut here---- [' z1 q1 z- D  P' J
  41. In my environment (a linux box with a MySQL server running locally) I have:
      F: b- G( E2 ~# d7 p! M) a
  42. ---example---. V: l! m+ A' d
  43. [DBEXPRESS]
    , L$ y7 X* t+ U' U
  44. sqldir=mysql_sql$ [0 X- \1 ~3 m% `0 F' Z/ ~* i) h0 o" `
  45. Drivername=mysql, k. s+ w: i# a% X' E/ b
  46. Database=test
    , _: [8 @5 T: w% v
  47. Hostname=localhost( b# l, q% R3 F; j/ ~
  48. User_name=testuser4 v; Z1 `- n/ B% n  T
  49. Password=my_password
    ! Q6 e" \7 ]" C
  50. GetDriverFunc=getSQLDriverMYSQL" v, G# B% I( N9 F, k7 }  P# w
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.0
    + A$ m# x, E% I3 l0 V
  52. LibraryName=./libsqlmy.so
    0 j# l9 h) X4 ]2 P# U
  53. Active=1
    0 Z! C, S6 r6 e; N* O& L. I
  54. ---example---
    ; l$ |7 z& f! `( e0 y3 q

  55. & f4 k+ D1 K5 K  d0 ?5 T
  56. On a windows box, also running the MySQL server locally, it would be:
    8 e2 g* R, q1 W' m  B$ ]& D+ G( d/ V4 ]
  57. ---example---
    : n: {( C: l8 X
  58. [DBEXPRESS]
    $ i  o8 ~/ U0 K/ j( p
  59. sqldir=mysql_sql/ c2 o, l; M8 v
  60. Drivername=mysql
    : ?$ J  W! W( |4 H& G6 i6 J. n
  61. Database=test" w& x/ I# H2 N/ Z
  62. Hostname=127.0.0.1
    % n! I4 X5 u1 _- M  r9 C
  63. User_name=testuser
    8 [7 b3 o5 ?# \9 x; E& b" A7 ]
  64. Password=my_password4 T. ?0 G2 x/ l  u& y
  65. GetDriverFunc=getSQLDriverMYSQL
    & {% c- n0 I  s" [: ]$ w5 H3 H' m
  66. VendorLib=libmysql.dll8 ~& ^7 U$ m% ^) G% y0 d
  67. LibraryName=dbexpmysql.dll
    ( K% H/ Y+ N- p) e. p
  68. Active=1/ Q- k" s) @  Z/ O4 s# Y
  69. ---example----
    ; ?' f3 a! H/ y. F2 ]/ R/ B9 _
  70. - written 02.03.04 by pwk.linuxfan
    : u* z+ M* f1 v

  71. 7 e: M0 Y% w4 k9 w6 F
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看) r# ?& \# E" y. {2 |

  1. # |5 g! m5 S) `6 e  W% y
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    / C' ~  h4 t, k; F3 [
  3. ! d4 G+ S% {2 v% X$ R
  4. # # #我们所需要# # #
      e0 X$ s5 K- w3 r6 q! H
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件6 O" A- v9 o" I/ Z+ S3 t
  6. 不会解释如何做到这一点-也有文件存在,为
    , _0 r, ]. ^3 _$ ^! S
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用
    / O# T- i3 G% i, d- v$ R
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西
    & C4 {5 e6 `# r; K. ^6 D/ `
  9. 随着数据库。此外,你需要一个卖方图书馆安装于  I' N: ^  h" e7 g
  10. 本地机器,这是我的MySQL安装。
    1 C8 a( E- s% I' i% V. q
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从6 d! T1 F8 P# R3 _  Z
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL 4 f' A1 X: K( ]  J, R0 G2 g
  13. 数据库。
    ! U4 a9 N; W  W9 F0 r1 U5 I! ?
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在
    5 j, g* ?$ v" o* c7 {! p6 z
  15. 编写本报告的时候,仍然有太多的问题-检查现状1 Z$ ~; A* n9 X8 {& ?2 e
  16. 在teamspeak论坛,如果你有兴趣。
    - q% ]! b: h+ A- C. g2 z
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机* l4 h# H0 Q+ e1 o
  18. Borland公司使用。这个司机只能界面与客户端库$ J* j7 ?! ~  ~' H$ x
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    7 `& J8 s& G" `! O
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为' D7 J# c+ X! ^
  21. " vendorlib " ,并解数据库连接。
    . ~+ J. Z2 P% ]
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    $ i7 y# q, [8 V
  23. 7 {5 {3 F0 J& R0 V2 N
  24. # # #做好工作# # # " O  K) r  B4 F# H& g
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    . L( g% C9 x3 ]$ x' j0 K+ E6 R
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在. F4 H% R; B" w% h% }. u. t/ Z) E
  27. 结束:
    - {  J8 n( L& _' ?8 ~& Q
  28. ---削减这里---
    + t* Y3 c/ P$ H% Z
  29. [ dbexpress ] ; c  v4 m3 X8 c5 M
  30. sqldir = mysql_sql
    , v1 X$ ]4 m2 l  H8 {) ?( E
  31. drivername = MySQL中
      y/ @) X) `/ b: F7 ~2 k3 |
  32. 数据库= your_database_name_here
    ; P, J! `8 S  e+ ~; m
  33. 主机= the_pc_the_mysql - server_is_on . f3 l3 {0 O$ [
  34. user_name = user_name_on_the_mysql服务器
    ' V  t& K9 v$ t  Y/ C# y7 C
  35. 密码= password_to_go_with_above_user_name
    - ~' C& t: o/ Z( Y9 f% ?
  36. getdriverfunc = getsqldrivermysql
    , h  C' Y- W2 W  u. ~
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 8 C- i( l0 T4 e+ K
  38. libraryname = path_to_libsqlmy_libary
    7 W4 g) D( H) Y+ `5 f3 k; W
  39. 积极= 1
    7 F$ H: }$ @2 Y7 a6 P$ U; o8 O
  40. ---削减这里--- , f/ H& a! P% m
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有: ) d' l8 I, [; l: w' e. K
  42. ---例如--- " e; W% N/ \; H# y: h! R9 |" b- S
  43. [ dbexpress ]
    ) }" k0 I. [3 @. \5 ^! l
  44. sqldir = mysql_sql 7 C( \4 |* r3 p
  45. drivername = MySQL中2 Y2 D8 G, x6 b
  46. 数据库=测试
    3 |1 Z2 ~( V. f% H0 }9 L
  47. 主机=本地主机
    : h# x$ j# B5 w* N( @, P
  48. user_name = testuser ; r# w8 K* g2 {7 C2 k$ l5 D
  49. 密码= my_password 9 j3 ]0 W3 |) l+ f4 y: }
  50. getdriverfunc = getsqldrivermysql ) G" w: j0 O6 g9 S! ]1 x
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    : g+ S1 |# n; D+ r7 y
  52. libraryname =. / libsqlmy.so
    + I2 X. f7 O* x# h
  53. 积极= 1
    ! L, ~. X/ T, o8 y% m* E8 x
  54. ---例如--- + D1 `* f: @7 W- c3 P9 r6 p1 i( E
  55. " `7 a, D0 r4 L) H4 M5 \
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 8 Y$ ]. F1 r, n: p( o* S8 A& E8 G
  57. ---例如---
    0 t) \" a) n4 ~* L. q) _7 T
  58. [ dbexpress ] ; i7 m3 T- {: c$ M  S3 _- B) G$ |. w
  59. sqldir = mysql_sql
      ]5 y3 t! b" O" N7 i, Y0 }  D6 F
  60. drivername = MySQL中
    3 G- P* K' ]/ S% u& \2 u$ M2 K
  61. 数据库=测试
    " x9 |( j8 C' e, H& @
  62. 主机= 127.0.0.1
    ) g8 y/ M! k0 w
  63. user_name = testuser
    + C# ]$ H: S  y/ n# F7 b' s) ]; \
  64. 密码= my_password
    9 K3 @2 a1 F1 c2 m2 ^$ K: R2 o
  65. getdriverfunc = getsqldrivermysql 1 V+ f6 F9 b9 _- V0 U4 O( Q
  66. vendorlib = libmysql.dll在
    6 f. \- E  t- S8 t; J9 y3 k  F
  67. libraryname = dbexpmysql.dll ; S, x) K3 M  n) |8 A
  68. 积极= 1
    ( u$ I8 l- b8 \2 j: L3 L
  69. ---例如----
    & Q6 r' N  F& p
  70. -写在0 2.03.04由p wk.linuxfan
    / i! }' n0 `2 @* i0 B
复制代码
发表于 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
7 U& ]9 U6 m9 w& {/ o
8 h0 W5 }2 s$ fbut, i only will free at nite, tuesday 11pm, your time
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

GMT+8, 2026-7-7 02:25 , Processed in 0.097277 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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