Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4368

Client hangs when using an imported MySQL database with wrong ownership

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.0.1, 5.5.30
    • Fix Version/s: 5.5, 10.0
    • Component/s: None
    • Environment:
      OpenSuse 12.3 64bit using the standard repository's MariaDB package version 5.5.29

      Description

      I have imported a Mysql-database from a remote Mysql-server. For that purpose I've created an empty database of the respective name locally and then copied the database files to /var/lib/mysql/DATABASENAME using rsync (This works perfectly in MySQL).
      Connecting to the database in the Mariadb-client ("use DATABASENAME;") the client hangs forever with the message:

      Reading table information for completion of table and column names
      You can turn off this feature to get a quicker startup with -A

      Doing so, that is starting the client with the -A option I have no problem and can query the database.
      So I suppose it is some error related to indexing of the imported database table-names.

      Connecting to the database via jdbc (using the mysql-java-connector) my program hangs as well and here I don't have the -A option

      I'm not sure whether this way of importing a Mysql database is supported by MariaDB-MySQL compatibility, but since the remote MySQL server doesn't support mysql-dump I don't have another option.

      #####
      For reproducability the commands to import the database:
      In the mariadb-client:
      create database hg19;
      On the command-line:
      sudo rsync -v -r rsync://hgdownload.cse.ucsc.edu/mysql/hg19/refGene* /var/lib/mysql/hg19/

      (The source is a public mysql server at ucsc for bioinformatics)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            bugdigger Mark Trutter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration