Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Channel Catalog


Channel Description:

Forum for Installing and Configuring MySQL.
    0 0

    Dear All,

    How can I Install MySQLnd on RHEL 7 OS.

    I cant Install it from any third party URL, so pls give me any other solution.

    I also downloaded a php-mysqlnd-5.0.1-beta.tar.gz file from mysql.com

    How Can I Install it OR any other best solution you have all are welcomes

    Please help me about that.

    0 0

    I installed MySQL Community 5.7.13 and MySQL Workbench 6.3.7 on a Mac. Install is complete and services are started. I may have had a older install on the same Mac. I don't believe I supplied a password for root during the install. Problem is I can't connect in Workbench since I don't know the root password. I've tried some commands in Terminal to reset password, but I can't get connect in Terminal either. I would like to either completely uninstall and start over or figure out how to supply a new root password.

    0 0

    I copied a database from a Linux installation to a Windows 10 machine where I have installed MySQL server 5.7. I placed it (about 23 files) in a path like this "C:\MSS\VCS". I can't figure out how to tell MySQL how to connect to that database (called VCS).

    BTW: I found that I had to shut down McAfee Virus Scanning and firewall before it would install. That took a few tries. It first hung when it tried to configure the firewall. Then again further along in the installation after I had turned off the firewall, but before turning off Virus Scan. The service would start then immediately stop. After reinstalling with McAfee turned off, it's stable even with McAfee running. Maybe that should be in the MySQL KB.

    I have Workbench installed. Do I need the ODBC connector configured for this to work locally?

    Once I can put in the path, and the TCP/IP parameters or path to a named pipe (which?), I will need to administer that database. So, do I need a specific username and password to do that? I think the default is "admin" with a blank password.

    I have it installed on a Linux server too, but cannot get to it over the network (Webmin won't let me configure it). So, I thought I'd try it on a local node, and go from there. But I'm stuck. Please help, and thank you.

    0 0

    Is there a way to manually install MySQL on Windows 7? I'm having to rebuild my machines because one of them crashed and burned. So i find myself rebuilding my desktop machine which means I need to reinstall MySQL . I have downloaded the current version of MySQL. the full MSI package and when i run the file it appears to complete right up to the part where it wants to update/ upgrade??? where it reports that it fails and after that nothing happens. It never gives me the setup routine where I give it a root password or any of that stuff,
    So my question is this...
    Is there a way to manually install MySQL? or for that matter any way to get the install program to actually work?

    0 0

    Hello,

    as I install mysql community server I enter an empty password
    it needs to be so cos I use SALT to push mysql server on debian boxes by remote configurations

    but I cant find any way to set the password after that and log in as root

    sudo mysqladmin -u root -p password NEWPASSWORD

    mysql -u root -p
    Enter password:
    ERROR 1698 (28000): Access denied for user 'root'@'localhost'

    I tried reseting the password but for version 5.7, there is no more Password field inthe user table, and all set/alter password commands, dont work due to using skip-grant-tables options

    sudo service mysql stop
    sudo mysqld_safe --skip-grant-tables &

    I tried
    use mysql;update user set account_locked='N' where user='root';flush privileges;
    update user set authentication_string=password('dfghdfgh') where User='root'

    so how do I install mysql community server in a headless way providing it a default password ?

    thanks

    0 0

    Hi,

    I am having a lot of problems installing a MYSQL cluster on microsoft windows server 2012r2.

    I am trying to use the MySQL cluster installer. I have installed FreeSSH to establish the connection between hosts.

    I have two hosts, 10.0.3.10 & 10.0.3.11.

    The MySQL cluster install directory is set in the MCI gui as c:\mysql\cluster.
    The MySql cluster data directory is set in the MCI gui as c:\mysqlclusterdata

    When I click deploy and start cluster it gets 7% into the process and then reports "unable to append file c:/mysql/cluster/share/mysql_system_tables.sql to c:/mysqlclusterdata/55/tmp/install.sql to host 10.0.3.11 {errno 13} permission denied.

    Do you know what account in windows it is attempting to use? I have set NTFS permissions on the folders to 'everyone' write access.

    I can confirm the all firewalls between hosts are disabled and I have tested the SSH connection with Putty.

    Any help would be appreciated

    Thanks, Damien

    0 0

    Trying to install Workbench on a new installation of Fedora 24, which the downloads page says is compatible. Tried installing it from the yum repository and from the rpm directly, neither work, both give the same error:

    Error: nothing provides libctemplate.so.3()(64bit) needed by mysql-workbench-community-6.3.7-1.fc24.x86_64
    (try to add '--allowerasing' to command line to replace conflicting packages)

    adding the --allowerasing switch doesn't help. Haven't been able to find a repo that includes libctemplate. Anyone get this to work?

    0 0

    I set innodb_file_per_table=1 in [mysqld] section in my /etc/my.cnf file, so the table data are in the table files. In my separate database directory /var/lib/mysql/mydata, there is db.opt and all those mytable.frm and mytable.ibd files. I thought these are all files I need to recover my data. When I try to re-install fedora, I just simply copied all files in mydata directory. After the new OS is install, and mysql server installed and up and running, I created the same database mydata, and even created the same tables. Then, I simply copy all those files back into mydata directory. Now, "show tables" show all these tables, but "desc mytable" give me "ERROR 1146 (42S02): Table 'mydata.mytable' doesn't exist".

    Is there any way to recover the database from all those .frm and .ibd files? Is there any utility to read .frm and .ibd files? Is there any documentation about the format of the .ibd file (so I can write a program to read it)?

    Sorry, I didn't know about mysqldump command.

    0 0

    Hi,

    I'm getting the following security warning when running the following on Ubuntu:

    sudo apt-get update

    This is the warning displayed:

    http://repo.mysql.com/apt/ubuntu/dists/xenial/InRelease: Signature by key A4A9406876FCBD3C456770C88C718D3B5072E1F5 uses weak digest algorithm (SHA1)

    Any idea as to the cause and how to resolve?

    Cheers,
    Paul

    0 0

    I can verify the MD5 hash by inspection, after computing it locally on the downloaded software file, but I don't know how to get the "Signature" onto my machine in order for gpg to compare it. When I click on "Signature" on your website, I get a popup showing me the gpg signature, but that doesn't appear to be transferrable to my machine (or at least I don't know how).

    The instructions for using gpg --verify seem to suggest that there exists a .asc or .sig file on my machine at the time of the request. When I try to copy-and-paste into TextEdit and save as an .asc or .sig file, I get an error message from gpg.

    I have imported your public key.

    Thanks,

    Mark

    OS X 10.11.5

    0 0

    Dear all,

    Previously I was running MySQL 5.5 on CentOS 6.7 32bit. For some reason I need to upgrade to MySQL 5.7. I executed following commands and got error mysqld cannot be started. Can you please help me?

    wget http://dev.mysql.com/get/mysql57-community-release-el6-8.noarch.rpm
    yum localinstall mysql57-community-release-el6-8.noarch.rpm
    yum update mysql-server

    Resolving Dependencies
    --> Running transaction check
    ---> Package mysql-community-server.i686 0:5.7.13-1.el6 will be obsoleting
    --> Processing Dependency: mysql-community-common(x86-32) >= 5.7.9 for package: mysql-community-server-5.7.13-1.el6.i686
    --> Processing Dependency: mysql-community-client(x86-32) >= 5.7.9 for package: mysql-community-server-5.7.13-1.el6.i686
    ---> Package mysql-server.i686 0:5.5.50-1.el6.remi will be obsoleted
    --> Running transaction check
    ---> Package mysql.i686 0:5.5.50-1.el6.remi will be obsoleted
    --> Processing Dependency: real-mysql(x86-32) = 5.5.50-1.el6.remi for package: mysql-devel-5.5.50-1.el6.remi.i686
    ---> Package mysql-community-client.i686 0:5.7.13-1.el6 will be obsoleting
    --> Processing Dependency: mysql-community-libs(x86-32) >= 5.7.9 for package: mysql-community-client-5.7.13-1.el6.i686
    ---> Package mysql-community-common.i686 0:5.7.13-1.el6 will be installed
    --> Running transaction check
    ---> Package mysql-community-devel.i686 0:5.7.13-1.el6 will be obsoleting
    ---> Package mysql-community-libs.i686 0:5.7.13-1.el6 will be obsoleting
    ---> Package mysql-devel.i686 0:5.5.50-1.el6.remi will be obsoleted
    ---> Package mysql-libs.i686 0:5.5.50-1.el6.remi will be obsoleted
    --> Finished Dependency Resolution

    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing : mysql-community-common-5.7.13-1.el6.i686 1/9
    Installing : mysql-community-libs-5.7.13-1.el6.i686 2/9
    Installing : mysql-community-client-5.7.13-1.el6.i686 3/9
    Installing : mysql-community-devel-5.7.13-1.el6.i686 4/9
    Installing : mysql-community-server-5.7.13-1.el6.i686 5/9
    warning: /etc/my.cnf created as /etc/my.cnf.rpmnew
    Erasing : mysql-devel-5.5.50-1.el6.remi.i686 6/9
    Erasing : mysql-server-5.5.50-1.el6.remi.i686 7/9
    warning: /var/log/mysqld.log saved as /var/log/mysqld.log.rpmsave
    Erasing : mysql-5.5.50-1.el6.remi.i686 8/9
    Erasing : mysql-libs-5.5.50-1.el6.remi.i686 9/9
    Verifying : mysql-community-server-5.7.13-1.el6.i686 1/9
    Verifying : mysql-community-devel-5.7.13-1.el6.i686 2/9
    Verifying : mysql-community-client-5.7.13-1.el6.i686 3/9
    Verifying : mysql-community-libs-5.7.13-1.el6.i686 4/9
    Verifying : mysql-community-common-5.7.13-1.el6.i686 5/9
    Verifying : mysql-libs-5.5.50-1.el6.remi.i686 6/9
    Verifying : mysql-devel-5.5.50-1.el6.remi.i686 7/9
    Verifying : mysql-5.5.50-1.el6.remi.i686 8/9
    Verifying : mysql-server-5.5.50-1.el6.remi.i686 9/9

    Installed:
    mysql-community-client.i686 0:5.7.13-1.el6 mysql-community-devel.i686 0:5.7.13-1.el6 mysql-community-libs.i686 0:5.7.13-1.el6
    mysql-community-server.i686 0:5.7.13-1.el6

    Dependency Installed:
    mysql-community-common.i686 0:5.7.13-1.el6

    Replaced:
    mysql.i686 0:5.5.50-1.el6.remi mysql-devel.i686 0:5.5.50-1.el6.remi mysql-libs.i686 0:5.5.50-1.el6.remi mysql-server.i686 0:5.5.50-1.el6.remi

    Complete!
    [root@mail ~]# service mysqld start
    MySQL Daemon failed to start.
    Starting mysqld: [FAILED]

    File /var/log/mysqld.log is empty.

    # cat /var/log/mysqld.log.rpmsave
    160321 10:32:08 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
    160321 10:32:08 InnoDB: Initializing buffer pool, size = 8.0M
    160321 10:32:08 InnoDB: Completed initialization of buffer pool
    InnoDB: The first specified data file ./ibdata1 did not exist:
    InnoDB: a new database to be created!
    160321 10:32:08 InnoDB: Setting file ./ibdata1 size to 10 MB
    InnoDB: Database physically writes the file full: wait...
    160321 10:32:08 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
    InnoDB: Setting log file ./ib_logfile0 size to 5 MB
    InnoDB: Database physically writes the file full: wait...
    160321 10:32:08 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
    InnoDB: Setting log file ./ib_logfile1 size to 5 MB
    InnoDB: Database physically writes the file full: wait...
    InnoDB: Doublewrite buffer not found: creating new
    InnoDB: Doublewrite buffer created
    InnoDB: Creating foreign key constraint system tables
    InnoDB: Foreign key constraint system tables created
    160321 10:32:08 InnoDB: Started; log sequence number 0 0
    160321 10:32:08 [Note] Event Scheduler: Loaded 0 events
    160321 10:32:08 [Note] /usr/libexec/mysqld: ready for connections.
    Version: '5.1.73' socket: '/var/lib/mysql/mysql.sock' port: 3306 Source distribution
    160321 10:35:39 [Note] /usr/libexec/mysqld: Normal shutdown

    160321 10:35:39 [Note] Event Scheduler: Purging the queue. 0 events
    160321 10:35:39 InnoDB: Starting shutdown...
    160321 10:35:44 InnoDB: Shutdown completed; log sequence number 0 505971
    160321 10:35:44 [Note] /usr/libexec/mysqld: Shutdown complete

    160321 10:35:44 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

    0 0

    Hello everyone!

    I am a new developer and I recently installed a webdevlopment Platform ( WAMP) . However I am having a hard time trying to start both MYSQL and APACHE.
    Concerning MYSQL I found this error on my events viewer:
    "failed to set datadir to c:\wamp\bin\mysql\mysql5.7.11\data\ "
    Could someone help me with this problem ? I am really desperate with it !
    "
    Concerning APACHE : It sends back "exit error code 1066 ".
    Do you have any solumtion for this issue ?

    I would be very grateful if someone could help me ( I have some work to do and i am do late noow !)

    Thank you !

    0 0

    I'm trying to install MySQL onto a fresh install of Windows Server 2003 R2 with SP2. I've downloaded a number of different versions, but when I try to install them, nothing happens. The install task finally ends, but an install window never pops up, and a MySQL directory is never created. Are there prerequisites for installing MySQL? Certain Windows updates? Something else? Any idea why this is happening?
    Thanks!

    0 0

    I did a backup of a MySQL Server 4.1 database using the mySQL Administrator 1.2.12 backup feature. I want to install the original versions of mySQL on a test platform. Is there any source of this version of the software that I can use for testing.

    0 0

    Hello,

    I am trying to install the MySQL ODBC connect on a Mac OS X 10.11.6 Server.

    The version I am using is: mysql-connector-odbc-5.3.6-osx10.11-x86-64bit

    The installer fails, here are the logs.

    Jul 26 11:42:58 New-Crackerjack Installer[3431]: LSExceptions [0x7fc17c901980] loaded
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: @(#)PROGRAM:Install PROJECT:Install-1000
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: @(#)PROGRAM:Installer PROJECT:Installer-853
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Hardware: MacPro6,1 @ 3.50 GHz (x 12), 65536 MB RAM
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Running OS Build: Mac OS X 10.11.6 (15G31)
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Env: TMPDIR=/var/folders/7h/5cdb53ms5jv1skqd24nh17yw0000gn/T/
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Env: SHELL=/bin/bash
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Env: HOME=/Users/administrator
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Env: Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.r1RoPzYZ1s/Render
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Env: SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.DuGnAWfQ0y/Listeners
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Env: LOGNAME=administrator
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Env: XPC_SERVICE_NAME=com.apple.installer.77472
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Env: USER=administrator
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Env: XPC_FLAGS=0x0
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: MySQL Connector/Odbc 5.3.6 Installation Log
    Jul 26 11:42:58 New-Crackerjack Installer[3431]: Opened from: /Volumes/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg
    Jul 26 11:42:59 New-Crackerjack Installer[3431]: Product archive /Volumes/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg trustLevel=202
    Jul 26 11:43:02 New-Crackerjack Installer[3431]: InstallerStatusNotifications plugin loaded
    Jul 26 11:43:03 New-Crackerjack Installer[3431]: ================================================================================
    Jul 26 11:43:03 New-Crackerjack Installer[3431]: User picked Standard Install
    Jul 26 11:43:03 New-Crackerjack Installer[3431]: Choices selected for installation:
    Jul 26 11:43:03 New-Crackerjack Installer[3431]: Install: "MySQL Connector/Odbc 5.3.6"
    Jul 26 11:43:03 New-Crackerjack Installer[3431]: Install: "MySQL Connector/Odbc"
    Jul 26 11:43:03 New-Crackerjack Installer[3431]: mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg#mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg : com.mysql.myodbc-pkg : 5.3.6
    Jul 26 11:43:03 New-Crackerjack Installer[3431]: ================================================================================
    Jul 26 11:43:03 New-Crackerjack Installer[3431]: It took 0.00 seconds to summarize the package selections.
    Jul 26 11:43:03 New-Crackerjack Installer[3431]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
    Jul 26 11:43:03 New-Crackerjack Installer[3431]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Volumes/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg#mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg
    Jul 26 11:43:04 New-Crackerjack Installer[3431]: Set authorization level to root for session
    Jul 26 11:43:07 New-Crackerjack Installer[3431]: Administrator authorization granted.
    Jul 26 11:43:07 New-Crackerjack Installer[3431]: Will use PK session
    Jul 26 11:43:07 New-Crackerjack Installer[3431]: Using authorization level of root for IFPKInstallElement
    Jul 26 11:43:07 New-Crackerjack Installer[3431]: Starting installation:
    Jul 26 11:43:07 New-Crackerjack Installer[3431]: Configuring volume "Macintosh HD"
    Jul 26 11:43:07 New-Crackerjack Installer[3431]: Preparing disk for local booted install.
    Jul 26 11:43:07 New-Crackerjack Installer[3431]: Free space on "Macintosh HD": 239.99 GB (239994109952 bytes).
    Jul 26 11:43:07 New-Crackerjack Installer[3431]: Create temporary directory "/var/folders/7h/5cdb53ms5jv1skqd24nh17yw0000gn/T//Install.3431zqjKuv"
    Jul 26 11:43:07 New-Crackerjack Installer[3431]: IFPKInstallElement (1 packages)
    Jul 26 11:43:07 New-Crackerjack installd[278]: PackageKit: Adding client PKInstallDaemonClient pid=3431, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
    Jul 26 11:43:07 New-Crackerjack Installer[3431]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
    Jul 26 11:43:07 New-Crackerjack installd[278]: PackageKit: ----- Begin install -----
    Jul 26 11:43:07 New-Crackerjack installd[278]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
    Jul 26 11:43:07 New-Crackerjack installd[278]: PackageKit: packages=(
    "PKLeopardPackage <file://localhost/Volumes/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg#mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg>"
    )
    Jul 26 11:43:07 New-Crackerjack installd[278]: PackageKit: Extracting file://localhost/Volumes/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg#mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/19121BAA-B309-4060-897D-107562A34E6B.activeSandbox/Root/usr/local, uid=0)
    Jul 26 11:43:07 New-Crackerjack installd[278]: PackageKit: prevent user idle system sleep
    Jul 26 11:43:07 New-Crackerjack installd[278]: PackageKit: suspending backupd
    Jul 26 11:43:07 New-Crackerjack installd[278]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/19121BAA-B309-4060-897D-107562A34E6B.sandboxTrash for sandbox /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/19121BAA-B309-4060-897D-107562A34E6B.activeSandbox
    Jul 26 11:43:07 New-Crackerjack installd[278]: PackageKit: Shoving /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/C/PKInstallSandboxManager/19121BAA-B309-4060-897D-107562A34E6B.activeSandbox/Root (1 items) to /
    Jul 26 11:43:07 New-Crackerjack install_monitor[3435]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
    Jul 26 11:43:07 New-Crackerjack installd[278]: PackageKit: Executing script "./postinstall" in /private/tmp/PKInstallSandbox.djJhiZ/Scripts/com.mysql.myodbc.GbxOX6
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Ensuring /Users/administrator/Library/ODBC, odbcinst.ini and odbc.ini exists...
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Ensuring /Library/ODBC, odbcinst.ini and odbc.ini exists...
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Registering Unicode driver...
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: dyld: Library not loaded: /Volumes/hd2/pb2/build/sb_0-18231254-1457619324.6/unixODBC-2.3.2-osx10.11-x86-64bit/lib/libodbc.2.dylib
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Referenced from: /usr/local/bin/myodbc-installer
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Reason: image not found
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: /tmp/PKInstallSandbox.djJhiZ/Scripts/com.mysql.myodbc.GbxOX6/postinstall: line 98: 3439 Trace/BPT trap: 5 $bindir/myodbc-installer -a -d -n "MySQL ODBC 5.3 $driver_type Driver" -t "Driver=$libdir/libmyodbc5$suffix.so;"
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Ensuring sample data source name (myodbc) exists...
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: dyld: Library not loaded: /Volumes/hd2/pb2/build/sb_0-18231254-1457619324.6/unixODBC-2.3.2-osx10.11-x86-64bit/lib/libodbc.2.dylib
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Referenced from: /usr/local/bin/myodbc-installer
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Reason: image not found
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: /tmp/PKInstallSandbox.djJhiZ/Scripts/com.mysql.myodbc.GbxOX6/postinstall: line 98: 3441 Trace/BPT trap: 5 $bindir/myodbc-installer -a -s -c1 -n $dsn -t "Driver=MySQL ODBC 5.3 $driver_type Driver;SERVER=localhost;"
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Registering ANSI driver...
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: dyld: Library not loaded: /Volumes/hd2/pb2/build/sb_0-18231254-1457619324.6/unixODBC-2.3.2-osx10.11-x86-64bit/lib/libodbc.2.dylib
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Referenced from: /usr/local/bin/myodbc-installer
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Reason: image not found
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: /tmp/PKInstallSandbox.djJhiZ/Scripts/com.mysql.myodbc.GbxOX6/postinstall: line 98: 3442 Trace/BPT trap: 5 $bindir/myodbc-installer -a -d -n "MySQL ODBC 5.3 $driver_type Driver" -t "Driver=$libdir/libmyodbc5$suffix.so;"
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Ensuring sample data source name (myodbc) exists...
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: dyld: Library not loaded: /Volumes/hd2/pb2/build/sb_0-18231254-1457619324.6/unixODBC-2.3.2-osx10.11-x86-64bit/lib/libodbc.2.dylib
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Referenced from: /usr/local/bin/myodbc-installer
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: Reason: image not found
    Jul 26 11:43:07 New-Crackerjack installd[278]: ./postinstall: /tmp/PKInstallSandbox.djJhiZ/Scripts/com.mysql.myodbc.GbxOX6/postinstall: line 98: 3443 Trace/BPT trap: 5 $bindir/myodbc-installer -a -s -c1 -n $dsn -t "Driver=MySQL ODBC 5.3 $driver_type Driver;SERVER=localhost;"
    Jul 26 11:43:07 New-Crackerjack install_monitor[3435]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
    Jul 26 11:43:08 New-Crackerjack installd[278]: PackageKit: releasing backupd
    Jul 26 11:43:08 New-Crackerjack installd[278]: PackageKit: allow user idle system sleep
    Jul 26 11:43:08 New-Crackerjack installd[278]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Volumes/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg#mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg, PKInstallPackageIdentifier=com.mysql.myodbc, NSLocalizedDescription=An error occurred while running scripts from the package “mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg”.} {
    NSFilePath = "./postinstall";
    NSLocalizedDescription = "An error occurred while running scripts from the package \U201cmysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg\U201d.";
    NSURL = "file://localhost/Volumes/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg#mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg";
    PKInstallPackageIdentifier = "com.mysql.myodbc";
    }
    Jul 26 11:43:08 New-Crackerjack installd[278]: PackageKit: Running idle tasks
    Jul 26 11:43:08 New-Crackerjack Installer[3431]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg”." UserInfo={NSFilePath=./postinstall, NSURL=file://localhost/Volumes/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit/mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg#mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg, PKInstallPackageIdentifier=com.mysql.myodbc, NSLocalizedDescription=An error occurred while running scripts from the package “mysql-connector-odbc-5.3.6-osx10.11-x86-64bit.pkg”.}
    Jul 26 11:43:08 New-Crackerjack installd[278]: PackageKit: Removing client PKInstallDaemonClient pid=3431, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
    Jul 26 11:43:08 New-Crackerjack installd[278]: PackageKit: Done with sandbox removals
    Jul 26 11:43:08 New-Crackerjack Installer[3431]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
    Jul 26 11:43:08 New-Crackerjack Installer[3431]: IFDInstallController 7C816E80 state = 8
    Jul 26 11:43:08 New-Crackerjack Installer[3431]: Displaying 'Install Failed' UI.
    Jul 26 11:43:08 New-Crackerjack Installer[3431]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
    Jul 26 11:43:09 New-Crackerjack Installer[3431]: LSExceptions [0x7fc17c901980] unloaded


    Any ideas if this can be fixed?

    0 0

    Hi,

    I´m configuring a Windows Server 2008 R2 with .net Framework 4.5.2 and lastest version of MySQL. I tried all the connectors avaliable for .net and in all versions I got the message "CS0246: The type or namespace name 'MySql' could not be found" when I tried to refer the library in coed behind.

    Someone could help me ?

    0 0

    Hi,

    I can see from this page https://dev.mysql.com/doc/refman/5.7/en/server-management-using-systemd.html how to setup multiple instances using systemd, but, my issue is how can I can use the effective my.cnf for each instance?

    Say I have the following in /etc/my.cnf:

    [mysqld@master1]
    .. config ..

    [mysqld@master2]
    .. config ..

    If I want to run mysql_upgrade for example, I can't because it doesn't understand which instance I'm using if I do mysql_upgrade --defaults-file=/etc/my.cnf because there doesn't seem to be a way to target each instance specifically.

    0 0

    I am trying to recover my MySQL database from a tape backup from a few days ago. I haven't done a MySQL Backup from within MySQL for a while, I was just backing up the entire MySQL folder to tape. The service is running on Windows Server 2008 version of MySQL is 5.5.

    I restored the directory "MySQL Server 5.5" to another location. I stopped the MySQL55 service from within the Service.msc. I renamed the "Live/Production" copy of the "MySQL Server 5.5" folder to a temporary name, then copied the restored folder to the location of MySQL. The MySQL service won't start I get a 1067 Error. I removed the restored folder, renamed the Production folder back to the correct name, and was able to start the service. Is there a way to get the service to start with this "restored" version of the folder?

    0 0

    Hi,

    I want to run multiple instances of MySQL 5.7.13 under Ubuntu 14.04 x64 but when so I created a new group in my.cnf called [mysqld1] and run the following command but unfortunately I get this error message:

    mbnoimivm@ubuntu:~$ sudo mysql_install_db --user=mysql --datadir=/var/lib/mysql1
    [sudo] password for mbnoimivm:
    2016-07-29 21:12:27 [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize
    2016-07-29 21:12:27 [ERROR]   Can't locate the server executable (mysqld).
    mbnoimivm@ubuntu:~$ sudo service mysql status
     * MySQL Community Server 5.7.13 is running
    mbnoimivm@ubuntu:~$

    How can I fix this issue?

    --- my.cnf ---
    [client]
    port        = 3306
    socket        = /var/run/mysqld/mysqld.sock
    default-character-set = utf8
    
    [mysqld_safe]
    pid-file    = /var/run/mysqld/mysqld.pid
    socket        = /var/run/mysqld/mysqld.sock
    nice        = 0
    
    [mysqld]
    user        = mysql
    pid-file    = /var/run/mysqld/mysqld.pid
    socket = /var/run/mysqld/mysqld.sock
    port = 3306
    basedir        = /usr
    datadir = /var/lib/mysql
    tmpdir        = /tmp
    lc-messages-dir    = /usr/share/mysql
    explicit_defaults_for_timestamp
    collation-server = utf8_unicode_ci
    init-connect='SET NAMES utf8'
    character-set-server = utf8
    key_buffer_size = 384M
    max_allowed_packet = 128M
    #table_open_cache = 512
    sort_buffer_size = 2M
    read_buffer_size = 2M
    read_rnd_buffer_size = 8M
    myisam_sort_buffer_size = 256M
    thread_cache_size = 8
    query_cache_size = 256M
    log-error    = /var/log/mysql/error.log
    symbolic-links=0
    big-tables
    default-storage-engine = MyISAM
    sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
    slow-query-log = 1
    slow-query-log-file = /var/log/mysql/slow.log
    general-log = 1
    general-log-file = /var/log/mysql/general.log
    #default-time-zone = 'Europe/Istanbul'
    #max_connections = 1002
    #open-files-limit = 10000
    
    [mysqld1]
    pid-file    = /var/run/mysqld/mysqld1.pid
    socket        = /var/run/mysqld/mysqld1.sock
    port        = 3307
    user        = mysql
    basedir        = /usr
    datadir = /var/lib/mysql1
    
    [mysqldump]
    quick
    max_allowed_packet = 16M
    
    [mysql]
    default-character-set = utf8
    no-auto-rehash
    
    [myisamchk]
    key_buffer_size = 256M
    sort_buffer_size = 256M
    read_buffer = 2M
    write_buffer = 2M
    
    [mysqlhotcopy]
    interactive-timeout
    
    
    !includedir /etc/mysql/conf.d/
    

    0 0

    I am trying to install MySQL Cluster in a Windows environment. I am attempting to set up a three node cluster on one server and two workstations. All three with multithreaded data nodes, two workstations with sql and management nodes, and the server with an api node

    I am following the quick setup guide but I am running into issues. The guide says to extract the files to a folder on the remote servers but nothing else. I did run setup on the remote servers just to see if that would help. When I run the setup wizard it does not see the remote servers. It says "could not open socket to ip.ip.ip.ip". I believe this wizard is trying to connect via ssh but there is nothing listening port 22 on the remote servers according to netstat -ano. Do I need to start a service or something on the remote servers.

    I am familiar with mysql but this is my first stab at Cluster.

    0 0

    Hi all,

    I'm shortly about to upgrade MySQL for the first time. I've read the documentation but have a few questions.

    Upgrading from 5.1.49 to 5.1.72 seems straight forward. I've succeeded a couple of times on a test system with no issue. The questions I have are relating to upgrading from 5.1.72 to 5.5.51

    Chapter 2.11.1 'Upgrading MySQL' of the documentation recommends a logical upgrade procedure when upgrading from a previous release. However straight after that recommendation, it points Windows users in the direction of 2.3.10 'Upgrading MySQL on Windows'. There is no logical upgrade procedure outlined for Windows in 2.3.10.

    Is the logical upgrade procedure recommended for Linux users only, or Windows users too? If so, would a logical upgrade procedure for Windows look something like this:

    mysqldump of all databases
    stop mysql service
    install mysql 5.5.51 msi installer (leaving 5.1 intact)
    run mysql server instance config wizard
    remove MySQL service from 5.1 install
    re-run mysql server instance config wizard again
    create MySQL service for 5.5 install, same root password
    import dump file
    run mysql_upgrade
    Update options file in Workbench to point to the new 5.5\my.ini

    Or, do I strictly follow the procedure outlined in 2.3.10 'Upgrading MySQL on Windows'? This is more of an in-place upgrade. I could see it being annoying that a 5.5 install is located within a 'MySQL Server 5.1' directory but I could live with that.

    Any help and guidance would be much appreciated.

    Thanks,

    Tom

    0 0

    https://dev.mysql.com/doc/refman/5.7/en/data-directory-initialization.html

    mysql Ver 14.14 Distrib 5.7.14, for Linux (x86_64)

    Linux localhost 3.10.0-327.28.2.el7.x86_64 #1 SMP Mon Jun 27 14:48:28 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

    These are both newly installed OS, MySQL instances.

    In reference to the instructions at the link attached, I'm confused as to whether or not I have to initialize MySQL or not based on the following:

    ------------------------

    Instruction #1:
    "If necessary, initialize the data directory and create the MySQL grant tables. For some MySQL installation methods, data directory initialization may be done for you automatically:

    ◾ Windows distributions prior to MySQL 5.7.7 include a data directory with pre-built tables in the mysql database. As of 5.7.7, Windows installation operations performed by MySQL Installer initialize the data directory automatically.

    ◾ Installation on Linux using a server RPM or Debian distribution from Oracle.

    ◾ Installation using the native packaging system on many platforms, including Debian Linux, Ubuntu Linux, Gentoo Linux, and others.

    ◾ Installation on OS X using a DMG distribution.


    Question #1:
    I'm using rhel7, and I used the mysql57-community-release-el7-8.noarch.rpm from the Oracle/MySQL website. Does this mean I don't need to create and / or initialize a data directory? How do I confirm this data directory exists? Where is it?

    Question #2:
    "Change location into the top-level directory of your MySQL installation, represented here by BASEDIR:

    shell> cd BASEDIR

    BASEDIR is likely to be something like /usr/local/mysql or /usr/local. The following steps assume that you have changed location to this directory.

    You will find several files and subdirectories in the BASEDIR directory. The most important for installation purposes are the bin and scripts subdirectories, which contain the server as well as client and utility programs."

    First, usr/local exists, but usr/local/mysql does not so not sure what that means. Also, there is no scripts directory either....?

    [username@localhost local]$ ll
    total 0
    drwxr-xr-x. 2 root root 6 May 25 2015 bin
    drwxr-xr-x. 2 root root 6 May 25 2015 etc
    drwxr-xr-x. 2 root root 6 May 25 2015 games
    drwxr-xr-x. 2 root root 6 May 25 2015 include
    drwxr-xr-x. 2 root root 6 May 25 2015 lib
    drwxr-xr-x. 2 root root 6 May 25 2015 lib64
    drwxr-xr-x. 2 root root 6 May 25 2015 libexec
    drwxr-xr-x. 2 root root 6 May 25 2015 sbin
    drwxr-xr-x. 5 root root 46 Aug 4 12:06 share
    drwxr-xr-x. 2 root root 6 May 25 2015 src


    "2. Create a directory that provides a location to use as the value of the secure_file_priv system variable that limits import/export operations to a specific directory. See Section 6.1.4, “Server System Variables”."

    Based on missing directories, where do I create this new directory? Do I create a directory called MySQL_files in usr/local?

    Next:

    "If necessary, ensure that the distribution contents are accessible to mysql. If you installed the distribution as mysql, no further action is required. If you installed the distribution as root, its contents will be owned by root. Change its ownership to mysql by executing the following commands as root in the installation directory. The first command changes the owner attribute of the files to the mysql user. The second changes the group attribute to the mysql group.

    shell> chown -R mysql .
    shell> chgrp -R mysql ."



    Question:

    What is "distribution contents"? Is this the location of where mysql installed? Where is that considering I can't find any mysql in bin? Is it the location of mysql or mysqld command, ...... ???


    Next:

    "If necessary, initialize the data directory, including the mysql database containing the initial MySQL grant tables that determine how users are permitted to connect to the server.

    Typically, data directory initialization need be done only the first time you install MySQL. If you are upgrading an existing installation, you should run mysql_upgrade instead (see Section 5.4.7, “mysql_upgrade — Check and Upgrade MySQL Tables”). However, the command that initializes the data directory does not overwrite any existing privilege tables, so it should be safe to run in any circumstances.

    As of MySQL 5.7.6, use the server to initialize the data directory: "


    shell> bin/mysqld --initialize --user=mysql

    Question: Where is the data directory? How does this apply to the folder I created earlier? How does it know about this folder?



    Apologize for the long list of questions, but, this is quite confusing and I'm not sure if the documentation was written with varying OS's in mind, et al...... but seems like there needs to be a table that lists where mysql files are installed for perhaps varying OS so it's easier to find the reference points. ie- I found mysqld in sbin (not bin).

    0 0

    Hi All,

    I made a mistake of not writing the root password down during installation. Anything that I can do? I have tried the reset method on the MySQL Manual but am having difficulty. Please help.

    Regards,
    NJ

    Hi,

    Will you pl help us to suggest some solutions to solve these issues:

    1. We need a mysql db architecture where if one master fails then any of the slave can automatically upgrade to master.

    2. Also, is it possible to manage all read operations to slave server and only write operations to master.

    I tried to find the solution and found mysql cluster as better approach with memcache but failed to configure the same on ubuntu 14.04 machine.

    0 0

    Trying to migrate a dead Win 7 system to a Win 10 system. Replacing the data folder with the one off the old machine produces the following error:

    160810 13:20:05 [ERROR] Plugin 'InnoDB' init function returned error.
    160810 13:20:05 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    160810 13:20:05 [ERROR] Unknown/unsupported storage engine: INNODB
    160810 13:20:05 [ERROR] Aborting

    Curiously, prior to replacing the data folder, the daemon seemed to start and run.

    Does 5.5 run on Win 10? Or is this a different issue?

    0 0

    Trying to upgrade MySQL 5.5 to 5.6 (as a stop along the way to 5.7) under OS X Server 10.11.

    I have somehow ended up with mixed permission settings. For example, in the /data directory, many files have owner root and group _mysql. Others have both owner and group as _mysql. In the main MySQL install directory, all files and directories are root:wheel except the data directory, which is _mysql:_mysql.

    When I try to start mysqld, it says "Can't create test file ...lower-test" and "File './mysql-bin.index' not found (Errcode: 13 - Permission denied)" then aborts.

    How can I fix this?

    (Also, when mysqld is starting it warns:
    'THREAD_CONCURRENCY' is deprecated and will be removed in a future release.
    and:
    TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option
    What are these about? I have the thread concurrency stuff commented out in my.cnf.)

    0 0

    I am trying to uninstall MYSQL; it seems to have lot of dependencies; Is this correct ? Looks like its removing core components ?

    prompt#> yum remove mysql-community-{server,client,common,libs}-*


    Dependencies Resolved

    ===========================================================================================================================================================
    Package Arch Version Repository Siz
    ===========================================================================================================================================================
    Removing:
    mysql-community-libs x86_64 5.6.28-2.el6 installed 8.5
    Removing for dependencies:
    cloud-init x86_64 0.7.5-1.el6 installed 1.4
    cronie x86_64 1.4.4-12.el6 installed 174
    cronie-anacron x86_64 1.4.4-12.el6 installed 43
    crontabs noarch 1.10-33.el6 installed 2.4
    mysql-community-client x86_64 5.6.28-2.el6 installed 82
    mysql-community-libs-compat x86_64 5.6.28-2.el6 installed 5.4
    mysql-community-server x86_64 5.6.28-2.el6 installed 236
    postfix x86_64 2:2.6.6-6.el6_5 installed 9.7
    redhat-lsb x86_64 4.0-7.el6 installed 0.0
    redhat-lsb-compat x86_64 4.0-7.el6 installed 0.0
    redhat-lsb-core x86_64 4.0-7.el6 installed 22
    redhat-lsb-graphics x86_64 4.0-7.el6 installed 0.0
    redhat-lsb-printing x86_64 4.0-7.el6 installed 0.0
    sysstat x86_64 9.0.4-22.el6_5.1 installed 823

    Transaction Summary
    ===========================================================================================================================================================
    Remove 15 Package(s)

    Installed size: 344 M
    Is this ok [y/N]: N

    0 0

    I thought I had a permissions issue, but now I don't know. Here's what I get when I try to start mysqld:



    2016-08-15 15:28:06 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2016-08-15 15:28:06 0 [Note] mysqld (mysqld 5.6.32-log) starting as process 59584 ...
    2016-08-15 15:28:06 59584 [Warning] Can't create test file /usr/local/mysql-5.6.32-osx10.11-x86_64/data/froghill.lower-test
    2016-08-15 15:28:06 59584 [Warning] Can't create test file /usr/local/mysql-5.6.32-osx10.11-x86_64/data/froghill.lower-test
    2016-08-15 15:28:06 59584 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=froghill-bin' to avoid this problem.
    mysqld: File './froghill-bin.index' not found (Errcode: 13 - Permission denied)
    2016-08-15 15:28:06 59584 [ERROR] Aborting

    2016-08-15 15:28:06 59584 [Note] Binlog end
    2016-08-15 15:28:06 59584 [Note] mysqld: Shutdown complete


    I added this line to my.cnf:
    log_bin = froghill-bin

    and, in desperation:
    datadir = /usr/local/mysql/data

    Now I get the following, with the "unable to lock" message repeated apparently forever:

    2016-08-15 19:10:27 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2016-08-15 19:10:27 0 [Note] mysqld (mysqld 5.6.32-log) starting as process 74945 ...
    2016-08-15 19:10:27 74945 [Warning] Setting lower_case_table_names=2 because file system for /usr/local/mysql/data/ is case insensitive
    2016-08-15 19:10:27 74945 [Note] Plugin 'FEDERATED' is disabled.
    2016-08-15 19:10:27 74945 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2016-08-15 19:10:27 74945 [Note] InnoDB: The InnoDB memory heap is disabled
    2016-08-15 19:10:27 74945 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    2016-08-15 19:10:27 74945 [Note] InnoDB: Memory barrier is not used
    2016-08-15 19:10:27 74945 [Note] InnoDB: Compressed tables use zlib 1.2.3
    2016-08-15 19:10:27 74945 [Note] InnoDB: Not using CPU crc32 instructions
    2016-08-15 19:10:27 74945 [Note] InnoDB: Initializing buffer pool, size = 512.0M
    2016-08-15 19:10:27 74945 [Note] InnoDB: Completed initialization of buffer pool
    2016-08-15 19:10:27 74945 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
    2016-08-15 19:10:27 74945 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
    2016-08-15 19:10:27 74945 [Note] InnoDB: Retrying to lock the first data file
    2016-08-15 19:10:28 74945 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
    2016-08-15 19:10:28 74945 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.
    2016-08-15 19:10:29 74945 [ERROR] InnoDB: Unable to lock ./ibdata1, error: 35
    2016-08-15 19:10:29 74945 [Note] InnoDB: Check that you do not already have another mysqld process using the same InnoDB data or log files.

    0 0

    I have been trying for days to complete an upgrade from 5.5, which worked fine for years, to 5.6.

    I have reinstalled 5.6, and in my latest attempt, put this line in /private/etc/mysql/my.cnf:

    datadir = /usr/local/mysql-5.5.10-osx10.6-x86_64/data

    (Simply trying to point the server back at my 5.5 data directory that was working. It's backed up.)

    It still won't see my old data. Here's what I get when trying to start the server in Terminal:

    2016-08-17 16:52:09 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2016-08-17 16:52:10 0 [Note] mysqld (mysqld 5.6.32) starting as process 96949 ...
    2016-08-17 16:52:10 96949 [Warning] Can't create test file /usr/local/mysql-5.5.10-osx10.6-x86_64/data/froghill.lower-test
    2016-08-17 16:52:10 96949 [Warning] Can't create test file /usr/local/mysql-5.5.10-osx10.6-x86_64/data/froghill.lower-test
    2016-08-17 16:52:10 96949 [Note] Plugin 'FEDERATED' is disabled.
    2016-08-17 16:52:10 96949 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2016-08-17 16:52:10 96949 [Note] InnoDB: The InnoDB memory heap is disabled
    2016-08-17 16:52:10 96949 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    2016-08-17 16:52:10 96949 [Note] InnoDB: Memory barrier is not used
    2016-08-17 16:52:10 96949 [Note] InnoDB: Compressed tables use zlib 1.2.3
    2016-08-17 16:52:10 96949 [Note] InnoDB: Not using CPU crc32 instructions
    2016-08-17 16:52:10 96949 [Note] InnoDB: Initializing buffer pool, size = 256.0M
    2016-08-17 16:52:10 96949 [Note] InnoDB: Completed initialization of buffer pool
    2016-08-17 16:52:10 96949 [Note] InnoDB: Highest supported file format is Barracuda.
    2016-08-17 16:52:10 96949 [Warning] InnoDB: Resizing redo log from 2*320 to 2*3072 pages, LSN=5780163306
    2016-08-17 16:52:10 96949 [Warning] InnoDB: Starting to delete and rewrite log files.
    2016-08-17 16:52:10 7fff7e957000 InnoDB: Operating system error number 13 in a file operation.
    InnoDB: The error means mysqld does not have the access rights to
    InnoDB: the directory.
    2016-08-17 16:52:10 96949 [ERROR] InnoDB: Cannot create ./ib_logfile101
    2016-08-17 16:52:10 96949 [ERROR] Plugin 'InnoDB' init function returned error.
    2016-08-17 16:52:10 96949 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
    2016-08-17 16:52:10 96949 [ERROR] Unknown/unsupported storage engine: InnoDB
    2016-08-17 16:52:10 96949 [ERROR] Aborting

    2016-08-17 16:52:10 96949 [Note] Binlog end
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'partition'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_FT_DELETED'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_METRICS'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_CMPMEM'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_CMP_RESET'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_CMP'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_LOCKS'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'INNODB_TRX'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'BLACKHOLE'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'ARCHIVE'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'MRG_MYISAM'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'MyISAM'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'MEMORY'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'CSV'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'sha256_password'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'mysql_old_password'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'mysql_native_password'
    2016-08-17 16:52:10 96949 [Note] Shutting down plugin 'binlog'
    2016-08-17 16:52:10 96949 [Note] mysqld: Shutdown complete

    It appears the two main problems may be in:
    "can't create the test file", and
    OS error 13 (some kind of permissions problem).

    I'm apparently able to connect to the server with MySQL Workbench, but it doesn't see any of my old tables or users, and it reports "unknown" for Configuration File (which is definitely present in /private/etc/mysql/my.cnf; in OS X this is aliased from /etc/mysql/my.cnf).

    I have tried everything I can think of but I'm stumped. Time for MariaDB?

    0 0

    The requirement is to have a main DB (let's call this A) supporting a main application, where there are 2-3 more remote DBs (let's call them B/C/D) supporting complimentary remote applications.

    There are some data (tables) in A that needs to be replicated to B/C/D to support the functions of the remote applications using B/C/D, and such data must always be available to all DBs, where source of such data can be added or updated in A, B, C or D.

    There are a few other tables which are storing data collected from remote apps of DBs B/C/D, and such data are to be replicated to A, where such data will only be stored for a maximum of 30 days in B/C/D before they are to be purged automatically. Such data since already replicated to A, must be permanently stored in A.

    Between A and B/C/D, some tables requires multi-way replication, where some other tables are only updated by the application at A, and some tables are updated by Applications at B/C/D but must be replicated to A and vice-versa. Some others requires only 1-way replication from B/C/D to A.

    Given the above scenario, as it is not straight forward multi-Master replication as certain tables in DBs B/C/D are updated by the remote complimentary apps sitting with B/C/D, where such data must be replicated to A, and such data are also to be purged automatically when it reaches 30 days. So is MySQL able to handle the above scenarios and be configured to handle them accordingly?

    Hope the above is not too confusing.

    Really appreciate some sound advices by MySQL experts out there as we are looking into deploying a solution using MySQL but is not dead sure if MySQL can support the requirements. Thanks in advance for your advice on the above.