Web lists-archives.com

Re: Fresh install of MySQL 5.6.23 fails to start on CentOS 7.0




Hi Robert,

The value in my.cnf is datadir=/var/lib/mysql. The directory is
initially empty, which I believe is normal; there shouldn't be
anything in there until mysqld is started for the first time (at least
that's the behaviour of 5.6.22, which works fine). After mysqld fails
to start, an empty mysql directory is created.

Cameron

On Thu, Feb 12, 2015 at 2:35 PM, Bob Eby <ebyrob@xxxxxxxxx> wrote:
> Hi Cameron,
>
> I've seen a similar error running on windows 7.
>
> When you look in your datadir= specified in my.ini what is there exactly
> (hopefully not empty)?  Do you have a mysql folder containing plugin.* files
> at this location? (say .MYI etc)
>
> It sounds like your data folders were either not copied to the correct place
> or not properly configured before starting the server.
>
> It's been a while, but I recall there being an "install" step to getting the
> correct basic database files into your datadir specified in my.ini.
>
> Good Luck,
> Robert Eby

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql