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

2015-11-13 Thread jim Zhou
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?

thank you,
Jim


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

2015-11-13 Thread jim Zhou
[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.rei...@thelounge.net>
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.z...@gmail.com]
>> Gesendet: Freitag, 13. November 2015 17:12
>> An: mysql@lists.mysql.com
>> 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?
>>
>
>