Web lists-archives.com

Re: --initialize specified but the data directory has files in it. Aborting.




[root@deweyods1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)

On Fri, Nov 13, 2015 at 8:56 AM, Reindl Harald <h.reindl@xxxxxxxxxxxxx>
wrote:

>
>
> Am 13.11.2015 um 17:46 schrieb Axel Diehl:
>
>> what kind of OS do you have?
>>
>
> pretty sure Fedora/CentOS7 because "yum" and the package name, if i would
> be him i would just install mariadb which is the default mysql
> implementation these days on most linux distributions and hence the
> packages are better maintained
>
>
> -----Ursprüngliche Nachricht-----
>> Von: jim Zhou [mailto:jim.jz.zhou@xxxxxxxxx]
>> Gesendet: Freitag, 13. November 2015 17:12
>> An: mysql@xxxxxxxxxxxxxxx
>> Betreff: --initialize specified but the data directory has files in it.
>> Aborting.
>>
>> Hi,
>>
>> I did "yum install myswl-community-server" and "service mysqld start"
>> I got the error
>>
>> Initializing MySQL database:  2015-11-13T15:54:01.203931Z 0 [Warning]
>> Changed limits: max_open_files: 1024 (requested 5000)
>> 2015-11-13T15:54:01.204205Z 0 [Warning] Changed limits: table_open_cache:
>> 431 (requested 2000)
>> 2015-11-13T15:54:01.204397Z 0 [Warning] TIMESTAMP with implicit DEFAULT
>> value is deprecated. Please use --explicit_defaults_for_timestamp server
>> option (see documentation for more details).
>> 2015-11-13T15:54:01.207712Z 0 [ERROR] --initialize specified but the data
>> directory has files in it. Aborting.
>> 2015-11-13T15:54:01.207751Z 0 [ERROR] Aborting
>>
>> can someone help?
>>
>
>