Community Forums Today's Posts     Member List     Archive    
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    italy
    Posts
    4

    MySQL startup error: SQL files not found

    Hi to all, i'm new here.

    Until yesterday i was able to start, run and stop server using mysql database.

    Today, at startup, i have the following error:

    Code:
    ---------------------------------------------------------------
    -------------- log started at 21-10-05 09:59 -------------
    ---------------------------------------------------------------
    21-10-05 09:59:47,ALL,Info,server,      Server init initialized
    21-10-05 09:59:47,ALL,Info,server,      Server version: 2.0.20.1 Linux
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/read_servers.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/new_server.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/read_server_privilege.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/new_server_privilege.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/read_server_privilege.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/new_server_privilege.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/read_server_privilege.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/new_server_privilege.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/read_server_privilege.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/new_server_privilege.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/read_server_privilege.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/new_server_privilege.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/read_server_privilege.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/new_server_privilege.sql
    21-10-05 09:59:47,ALL,Info,server,      Starting VirtualServer id:0 with port:8767
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/edit_server.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/read_bans.sql
    21-10-05 09:59:47,WARNING,Info,SERVER,  Default VirtualServer created
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/read_clients_name.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/new_client.sql
    21-10-05 09:59:47,WARNING,Info,SERVER,  admin account info: username: admin password: u2uleq
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/read_clients_name.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/new_client.sql
    21-10-05 09:59:47,WARNING,Info,SERVER,  superadmin account info: username: superadmin password: gt2pn7
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/read_channels.sql
    21-10-05 09:59:47,ERROR,All,SQL,        SQL file not found mysql_sql/new_channel.sql
    Note that the server starts, but each time it changes admin and superadmin passwords, because (i think), it uses sqlite instead of mysql db.

    How can i return to use mysql?

  2. #2
    Join Date
    Oct 2005
    Location
    italy
    Posts
    4
    More usefull info:

    I'm using MySQL 4.0.25 on a fedora 4 machine.

    This is mysql section in server.ini file:

    Code:
    DBEXPRESS]
    sqldir=mysql_sql/
    Drivername=mysql
    Database=xx
    Hostname=localhost
    User_name=xxxx
    Password=xxxxx
    GetDriverFunc=getSQLDriverMYSQL
    VendorLib=/usr/lib/mysql/libmysqlclient_r.so.10.0.0
    LibraryName=/usr/src/tss2_rc2/libsqlmy.so
    Active=1

  3. #3
    Join Date
    Oct 2004
    Location
    Germany
    Posts
    1,301
    Quote Originally Posted by winetown
    More usefull info:

    I'm using MySQL 4.0.25 on a fedora 4 machine.

    This is mysql section in server.ini file:

    Code:
    DBEXPRESS]
    sqldir=mysql_sql/
    Drivername=mysql
    Database=xx
    Hostname=localhost
    User_name=xxxx
    Password=xxxxx
    GetDriverFunc=getSQLDriverMYSQL
    VendorLib=/usr/lib/mysql/libmysqlclient_r.so.10.0.0
    LibraryName=/usr/src/tss2_rc2/libsqlmy.so
    Active=1

    Sure you have a folder "mysql_sql" in your teamspeak directory?

  4. #4
    Join Date
    Oct 2005
    Location
    italy
    Posts
    4
    yes it is the directory that contains the mysql database structure. There is an other one for the sqllite db (called 'sqlite_sql'). They contain the same sql files (the same file's name) but they have differents contents.

  5. #5
    Join Date
    Oct 2004
    Location
    Germany
    Posts
    1,301
    Quote Originally Posted by winetown
    yes it is the directory that contains the mysql database structure. There is an other one for the sqllite db (called 'sqlite_sql'). They contain the same sql files (the same file's name) but they have differents contents.
    Yes thats ok. Has the user that start ts the rights to read the "mysql" folder?
    Maybe chmod 777 the directory

  6. #6
    Join Date
    Oct 2005
    Location
    italy
    Posts
    4
    I usualy start the server as root.
    However i see a strange user for the TS server directory and sub-directory. It's "users" and it is not registered in my system

    Code:
    [root@localhost ~]# ll /usr/src/tss2_rc2/mysql_sql/
    totale 188
    -rw-r--r--  1 1000 users  319  9 mar  2004 create_bans.sql
    -rw-r--r--  1 1000 users  381  9 mar  2004 create_channel_privileges.sql
    -rw-r--r--  1 1000 users  722  9 mar  2004 create_channels.sql
    -rw-r--r--  1 1000 users  416  9 mar  2004 create_clients.sql
    -rw-r--r--  1 1000 users  143  9 mar  2004 create_nicks.sql
    -rw-r--r--  1 1000 users 3431 19 ott 10:12 create_server_privileges.sql
    -rw-r--r--  1 1000 users 1377  9 mar  2004 create_servers.sql
    -rw-r--r--  1 1000 users  192  9 mar  2004 create_settings.sql
    -rw-r--r--  1 1000 users   77  9 mar  2004 delete_ban_ip.sql
    -rw-r--r--  1 1000 users   80  9 mar  2004 delete_ban.sql
    -rw-r--r--  1 1000 users  135  9 mar  2004 delete_channel_privilege.sql
    -rw-r--r--  1 1000 users  201  9 mar  2004 delete_channel.sql
    -rw-r--r--  1 1000 users  193  9 mar  2004 delete_client.sql
    -rw-r--r--  1 1000 users  310  9 mar  2004 delete_server.sql
    -rw-r--r--  1 1000 users  233  9 mar  2004 edit_channel_privilege.sql
    -rw-r--r--  1 1000 users  455  9 mar  2004 edit_channel.sql
    -rw-r--r--  1 1000 users  114  9 mar  2004 edit_client_lastonline.sql
    -rw-r--r--  1 1000 users  186  9 mar  2004 edit_client.sql
    -rw-r--r--  1 1000 users 3447  9 mar  2004 edit_server_privilege.sql
    -rw-r--r--  1 1000 users  970  9 mar  2004 edit_server.sql
    -rw-r--r--  1 1000 users  176  9 mar  2004 new_ban.sql
    -rw-r--r--  1 1000 users  255  9 mar  2004 new_channel_privilege.sql
    -rw-r--r--  1 1000 users  534  9 mar  2004 new_channel.sql
    -rw-r--r--  1 1000 users  228  9 mar  2004 new_client.sql
    -rw-r--r--  1 1000 users 3520  9 mar  2004 new_server_privilege.sql
    -rw-r--r--  1 1000 users  918  9 mar  2004 new_server.sql
    -rw-r--r--  1 1000 users   60  9 mar  2004 read_active_servers.sql
    -rw-r--r--  1 1000 users   58  9 mar  2004 read_bans.sql
    -rw-r--r--  1 1000 users  137  9 mar  2004 read_channel_privilege.sql
    -rw-r--r--  1 1000 users  598  9 mar  2004 read_channel_privileges.sql
    -rw-r--r--  1 1000 users   97  9 mar  2004 read_channel.sql
    -rw-r--r--  1 1000 users   66  9 mar  2004 read_channels.sql
    -rw-r--r--  1 1000 users  698  9 mar  2004 read_client_channels_privileges.sql
    -rw-r--r--  1 1000 users  124  9 mar  2004 read_client_login.sql
    -rw-r--r--  1 1000 users   92  9 mar  2004 read_clients_id.sql
    -rw-r--r--  1 1000 users   90  9 mar  2004 read_clients_name.sql
    -rw-r--r--  1 1000 users   63  9 mar  2004 read_clients.sql
    -rw-r--r--  1 1000 users   57  9 mar  2004 read_server_port.sql
    -rw-r--r--  1 1000 users   99  9 mar  2004 read_server_privilege.sql
    -rw-r--r--  1 1000 users   56  9 mar  2004 read_server.sql
    -rw-r--r--  1 1000 users   26  9 mar  2004 read_servers.sql
    -rw-r--r--  1 1000 users   57  9 mar  2004 remove_bans.sql
    -rw-r--r--  1 1000 users  158  9 mar  2004 remove_moderatedattribs.sql
    -rw-r--r--  1 1000 users   93  9 mar  2004 search_client.sql
    -rw-r--r--  1 1000 users 1637  9 mar  2004 upgrade_1.sql
    -rw-r--r--  1 1000 users 1870  9 mar  2004 upgrade_2.sql
    -rw-r--r--  1 1000 users  627  9 mar  2004 upgrade_3.sql

  7. #7
    Join Date
    Nov 2006
    Location
    US
    Posts
    8
    i changed the directive in the server.ini file to specify the absolute path with the correct type of slashes for the o/s and it worked.


    is it just me or is whoever set up the distro package out to cause frustration to people by using small niches?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. MySQL connection works but...
    By Rice_klowN in forum [TeamSpeak 2] Server Support
    Replies: 4
    Last Post: 14-06-2005, 09:34
  2. TS2 with MySQL shows .sql data missing
    By DJFelipe in forum [TeamSpeak 2] Server Support
    Replies: 2
    Last Post: 19-02-2005, 18:04
  3. 2 Sound Files Are Missing Or In Bad Format
    By Butler in forum [TeamSpeak 2] Client Support
    Replies: 5
    Last Post: 15-02-2005, 10:34
  4. Found some problems (and fixed) with a TS2 and MySQL installation
    By MaD-Ogre in forum [TeamSpeak 2] Server Support
    Replies: 6
    Last Post: 20-01-2005, 22:21
  5. Mysql Oddity question regarding remote DB
    By RikardF in forum [TeamSpeak 2] Server Support
    Replies: 4
    Last Post: 02-06-2004, 12:15

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •