Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all 7172 articles
Browse latest View live

Upgrading MySQL from 5.5 to 5.7 failed on CentOS 6.7 (no replies)

$
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

Problem with Mysql not starting (no replies)

$
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 !

Can't install MySQL (2 replies)

$
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!

Objrective: Migrate database from MySQL Server Version 4.1 on XP to a Windows 7 version (2 replies)

$
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.

Cannot install ODBC Connector (no replies)

$
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?

CS0246: The type or namespace name 'MySql' could not be found (1 reply)

$
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 ?

systemd and multiple instances (no replies)

$
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.

Copied MySQL Server 5.5 folder from a back now MySQL55 service won't start (3 replies)

$
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?

Unable to run multiple instances! (no replies)

$
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/

cluster install fail: ssh issues? (no replies)

$
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.

Advice on 5.1-5.5 Windows upgrade (no replies)

$
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

Initializing the data directory - Do or Don't have to..? (no replies)

$
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).

Forgot Temporary Root Password upon MySQL Server Install (no replies)

$
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

how to configure Mysql Cluster with memcache to support failover handling and high availability and response time (no replies)

$
0
0
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.

MySQL Server 5.5 on Windows 10 (no replies)

$
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?

Apparent permissions mess upgrading from 5.5 to 5.6 (3 replies)

$
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.)

uninstalling via YUM (mysql complications) (2 replies)

$
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

Can't start mysqld after upgrade from 5.5 to 5.6 (Mac OS X Server) (no replies)

$
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.

Can't complete upgrade from 5.5 to 5.6 (Mac OS) (no replies)

$
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?

Is such Multi-Master Configuration supported by MySQL? (no replies)

$
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.
Viewing all 7172 articles
Browse latest View live




Latest Images