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

2328 17

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

[复制链接]
发表于 2008-1-18 15:41:41 | 显示全部楼层 |阅读模式
麻烦翻译一下,下面这段文章:xhan
; D2 T. v, h- Z/ V- [$ x7 k3 c1 d- A) l) H

  1. # U& B8 x: B! E7 [+ q) ^3 w/ r
  2. ###### Using MySQL as Database for TeamSpeak-Server 2.0.20.1 ######( w+ g8 C. J2 L, R4 q- B
  3. & M5 B1 u5 X& f" A
  4. ### What we need ###2 m6 q  O8 p0 I9 W# X0 W* s2 `
  5. Naturally, we will need a MySQL server to store the data for us, this document % c8 @1 F' a& n* H6 |
  6. will not explain how this can be done - there are documents out there for the
    ! P2 h- t! @5 s
  7. interested. The requirements include a (empty) database for TeamSpeak to use1 c, \6 P3 b* N6 c! s6 L( b1 A
  8. and a user account (username + password) that has the permissions to do stuff
    - Y) R  }  ?& Q! k: y
  9. with the database. Additionally, you will need a vendor library installed on the
    ; k% Q/ {! E6 W- Y2 a
  10. local machine, this came with my MySQL install., T  g& W8 m* |" G( K6 y
  11. These instructions will not tell you how you might transfer your data from the. t: f  O+ B- E5 S) \# L$ }) U  U
  12. SQLite database to the MySQL database, we start with a clean and empty MySQL
    5 a% h! m! \, h. n, X
  13. database.
    % L7 u+ H/ P+ t* ?8 o
  14. Some users have reported ways to import a SQLite database into MySQL, but at* U% p# u- a, D% ?- S4 F
  15. the time of writing, there are still too many issues - check the current status( O. K: ]) \  V3 l
  16. in the TeamSpeak forums if you are interested.
    8 S) g. L' J" O
  17. NOTE: To allow TeamSpeak to access the MySQL database the dbExpress driver from+ `% E% x) t  P/ I; ~% z1 L6 W( G
  18. Borland was used. This driver can only interface with the client library that
    7 Q# ^6 T* i8 Y& c+ Y
  19. comes with MySQL 3.x. It is possible to access a MySQL 4.x database with this
    ( k0 w  H. S  Q0 b; y
  20. client library - basically all you have to do is to use a 3.x client library as
    0 O1 w$ R4 W) n) [; Z1 n
  21. "VendorLib" and a 4.x database to connect to.* D8 i& s) Z1 {# W2 Z  U
  22. If you need more info about dbExpress, you can contact Borland.
      V6 g& W- b- _6 n
  23. 6 |$ q) ~* u  Y/ B" z. O. |
  24. ### Doing the work ###
    # s+ I. f, p- W+ g0 U! P
  25. Setting up TeamSpeak to use MySQL (should) be straight forward once you have all/ U7 [3 G0 j: {4 N6 ~
  26. the perquisites right, just open your server.ini file, and add this section at. a8 ?0 o2 p# Q4 Y
  27. the end:
    $ x9 [0 q% ^: R, ?) x$ N
  28. ---cut here---6 `' E( U9 ^$ U  g+ s2 {
  29. [DBEXPRESS]
    : Y: ~. i6 I& R: ^/ ~8 v/ A
  30. sqldir=mysql_sql# ]& b+ i' g4 Q+ d4 _# N
  31. Drivername=mysql6 s% x+ I4 h, O& W- [) G
  32. Database=Your_Database_Name_Here
    / Z: b5 I) V( p# ]( @, S* w
  33. Hostname=The_PC_the_MySQL-Server_is_on
    & N/ c1 k$ Q  j/ o% l/ ^/ I+ v( ]
  34. User_name=User_name_on_the_MySQL-Server
    7 F) I3 S( f* @- C+ f) K
  35. Password=Password_to_go_with_above_user_name( h7 d5 A8 |5 P( U. a# k
  36. GetDriverFunc=getSQLDriverMYSQL
    " e5 @* H, S1 r4 B7 V* S9 q3 L/ ^& d
  37. VendorLib=path_pointing_at_your_mysql_vendor_lib# r! B# L/ }9 G- M
  38. LibraryName=path_to_libsqlmy_libary9 \/ N% P- p# {) s2 B8 }
  39. Active=19 `. |9 `# P# m  ?6 {9 m
  40. ---cut here---
    4 D1 S- A; ?4 a4 M. ]0 T1 F
  41. In my environment (a linux box with a MySQL server running locally) I have:0 Z; h  p) L1 b4 c- c' e% u
  42. ---example---
    4 S9 F/ k' Y2 j/ d" w) p
  43. [DBEXPRESS]+ ~% b# e3 p* `9 ^
  44. sqldir=mysql_sql2 u/ S! B0 w1 v  K. t$ J* \6 t0 x$ b( \
  45. Drivername=mysql8 V& F5 {( w6 N3 m2 k
  46. Database=test3 J( h' m5 P1 d' b- _( j
  47. Hostname=localhost: L# O' j8 o7 ^, ?. i) ^1 x! s
  48. User_name=testuser
    & t, S4 V& X* U
  49. Password=my_password8 A' I: i5 Y# z8 r! ^2 @  c7 ~# s
  50. GetDriverFunc=getSQLDriverMYSQL3 a4 g' M, q( J! V
  51. VendorLib=/usr/lib/libmysqlclient_r.so.10.0.06 i  d# y! H) h! \# |
  52. LibraryName=./libsqlmy.so" K7 F# j% v, i( d( d4 O# A: w+ Y
  53. Active=1
    ! W% h6 \; c/ ]7 f) e
  54. ---example---7 K5 u% ~% D$ C% u4 p

  55. # I8 ~3 G" [: r
  56. On a windows box, also running the MySQL server locally, it would be:( m3 v. L0 Q- Y4 W
  57. ---example---) g" H( j* u* o1 T1 Q- B( x
  58. [DBEXPRESS]
    . _) M" {& n% h) U, L' Y
  59. sqldir=mysql_sql4 ~7 h: r! y" S3 G$ E0 [
  60. Drivername=mysql) m$ [: |& z7 w, X' Z
  61. Database=test
    . h* g. g2 F1 ~9 Q
  62. Hostname=127.0.0.1
    ! q0 n& a# B( W0 m: C
  63. User_name=testuser
    . O0 T: l7 |; @- z
  64. Password=my_password% G2 y% {% {/ \4 |
  65. GetDriverFunc=getSQLDriverMYSQL' k* G' _2 _. `' ~/ m% M) _& R
  66. VendorLib=libmysql.dll
    1 x/ u8 E1 F# p
  67. LibraryName=dbexpmysql.dll
    ; n* I4 E* L4 Z8 R  ?
  68. Active=1, N2 b2 u+ M4 ?+ X9 Z% Z
  69. ---example----
    " [; i0 _5 K# a: f8 f% `# b- A5 c( a
  70. - written 02.03.04 by pwk.linuxfan
    ' v0 H9 h, o: Q4 M3 v
  71. 0 H# |0 j0 t' M
复制代码
发表于 2008-1-18 15:43:17 | 显示全部楼层
就是说在每一句英文附加一段中文注释,不知道可有难度不??:xhan
发表于 2008-1-18 15:48:42 | 显示全部楼层
我这里有一个网页自动翻译的结果,大家校正一下看看
$ k  j7 B( `* J* Y$ f# s
  1. 6 I: k: b& |" N& B
  2. ######使用MySQL数据库,为teamspeak服务器2.0.20.1 ######
    6 V/ l$ `) N6 g" ]4 p7 d
  3. 0 l2 h! v' g% i) Y
  4. # # #我们所需要# # #
    ' _6 {( Y1 T% i; @5 q3 v0 ]4 ]8 E3 K
  5. 当然,我们还需要有MySQL服务器来存储这些数据对我们来说,这个文件
    1 Y0 Z) X" S! T! ^4 q; m
  6. 不会解释如何做到这一点-也有文件存在,为7 A7 k, q8 G8 {1 Z! z
  7. 有兴趣的。要求包括: (空)数据库teamspeak使用1 k+ X2 ~* g$ L7 ~3 f
  8. 和一个用户帐户(用户名+密码) ,有权限做的东西4 U% K) U' H( e0 L: P
  9. 随着数据库。此外,你需要一个卖方图书馆安装于, E5 Q" \% t" U* y
  10. 本地机器,这是我的MySQL安装。
    3 l/ j2 u6 C/ l3 j, x) [
  11. 这些指示不会告诉你,你怎么可能转移你的数据,从. ^- W) |& \/ B* H8 d! P: F' h' a
  12. SQLite数据库向MySQL数据库,我们开始一种更清新和空洞的MySQL - _6 Q3 j3 ~3 R5 d' b; [7 v& j
  13. 数据库。 / Y. W9 ]6 x; K# v7 t5 ?
  14. 有些用户报方式进口SQLite数据库到MySQL中,但在" N; m5 `+ U# J0 Z; P
  15. 编写本报告的时候,仍然有太多的问题-检查现状) A3 |2 v! a/ `0 R5 R/ h, ~- i
  16. 在teamspeak论坛,如果你有兴趣。
    3 l* x( E* F$ F9 w- Y: ~
  17. 注意:为了让teamspeak访问MySQL数据库的dbexpress司机
    / N- d# u( D8 L5 ]
  18. Borland公司使用。这个司机只能界面与客户端库
    " Y' ~$ h5 ]5 {7 U
  19. 随MySQL 3.x.这是有可能进入一个mysql解数据库,这
    + s. N! n4 D- `# q1 J3 g
  20. 客户端库-基本上你所需要做的就是使用3 .x客户端库作为
    1 m' w4 K; G0 D
  21. " vendorlib " ,并解数据库连接。 , x' a( e" }& E1 |
  22. 如果您需要更多的信息dbexpress ,你可以联络Borland公司。
    % M5 k; a+ ?9 |2 {7 B
  23. 1 E1 ?& k4 E9 l9 f
  24. # # #做好工作# # #
    5 u% x' O% O' e3 x3 d# x7 b
  25. 成立teamspeak使用MySQL (应该)直线前进时,一旦你都
    $ \+ N+ A; ^. N& l6 e
  26. 该额外赏赐权利,而只不过是打开你的server.ini文件,并加上这一节在/ |0 c/ N; x9 s5 x, x+ p
  27. 结束: 2 `& U! I- I8 V) F  @' k% J
  28. ---削减这里--- . ?! _. w& o* x$ `+ p/ t4 c
  29. [ dbexpress ]
    0 N9 e" W- @- s& l2 `- F$ ~
  30. sqldir = mysql_sql + l6 h! X1 D/ C0 u5 g
  31. drivername = MySQL中! e! f: n9 A- j) @9 K% c
  32. 数据库= your_database_name_here
    8 ?! S" v5 t  C  R0 n, G- x: b
  33. 主机= the_pc_the_mysql - server_is_on
    " t' c' f: Y2 _9 c4 H- a! Y
  34. user_name = user_name_on_the_mysql服务器
    ; i) i2 R7 u$ Y9 R2 O& j9 D$ `
  35. 密码= password_to_go_with_above_user_name / l/ n3 x" `  K
  36. getdriverfunc = getsqldrivermysql / R! D. }2 O( [4 ~
  37. vendorlib = path_pointing_at_your_mysql_vendor_lib 3 s) _. N" M  v8 z# ^
  38. libraryname = path_to_libsqlmy_libary 4 D5 s2 w8 D( h- y6 z
  39. 积极= 1 8 _# G2 x# l/ u/ d8 O# u
  40. ---削减这里--- ( c; s  {! V" y' m  J$ B
  41. 在我的环境( Linux的包装盒与MySQL服务器运行在本地) ,我有:
    0 e( _; n3 E; b! X8 g: Z7 a
  42. ---例如--- + V8 L4 y$ O: `+ V/ Q
  43. [ dbexpress ] 5 b2 v7 h; {9 f% L: }" p
  44. sqldir = mysql_sql
    " W: P; F7 u1 g" k! c" C  }7 g
  45. drivername = MySQL中
    ( a" T& C6 ^/ f  c* n6 z
  46. 数据库=测试; N" v' e3 Y9 g0 Z
  47. 主机=本地主机/ n: s7 Z( z# S, b5 H. ]
  48. user_name = testuser ' g  \2 f! K/ [- \! i, j  }
  49. 密码= my_password
    # Y' i( w) T9 z( R# p
  50. getdriverfunc = getsqldrivermysql
    0 l3 Q: s8 F: Y. J
  51. vendorlib = / usr/lib/libmysqlclient_r.so.10.0.0
    & L, A; D) E7 w1 k0 W- o5 F! b
  52. libraryname =. / libsqlmy.so
    ; {: u) N2 @, j9 m
  53. 积极= 1 1 w$ `3 \1 r$ b
  54. ---例如---
    ' o4 x2 U* y# K, ?. h

  55. 4 c9 m6 x+ [+ ?( M: ?
  56. 对Windows中,也运行MySQL服务器本地的,那就是: 1 a" c" t) O/ l4 R6 T9 F
  57. ---例如--- $ g& F' t) {' U" g
  58. [ dbexpress ]
    . o& e# u) j  A  J9 c
  59. sqldir = mysql_sql
    % @$ G, l* T3 P: d
  60. drivername = MySQL中9 e  l" R: k, R% n3 K) P
  61. 数据库=测试/ T  @! B$ l8 M: k2 M( o
  62. 主机= 127.0.0.1 : {2 p- e' x- W$ ^" Q9 \
  63. user_name = testuser
    6 g: R7 ~6 p: r  l
  64. 密码= my_password 6 E8 z1 L/ ^; E
  65. getdriverfunc = getsqldrivermysql
    * G4 d0 H2 n7 R
  66. vendorlib = libmysql.dll在
    - g2 w3 v$ D* v! i
  67. libraryname = dbexpmysql.dll 2 d! [1 Y% G* A0 [# z: R) n' B& E8 j
  68. 积极= 1 4 O* g0 {3 [' i! O: Q' o
  69. ---例如----
    8 e) P6 I/ H6 y; U6 s0 m' r2 U4 T
  70. -写在0 2.03.04由p wk.linuxfan+ c) ~* e4 W* d6 G5 A- W, C
复制代码
发表于 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
$ }8 Q; _4 ~/ S# ~6 g8 M+ w6 J- Q; ^2 r4 Z( ]
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-23 00:15 , Processed in 0.108926 second(s), 6 queries , Redis On.

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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