R
R
rb2018-12-24 14:25:44
MySQL
rb, 2018-12-24 14:25:44

Mysql-server startup error "Bad -c option" what to do?

I rolled up the 80th version of the server-client in mysql itself, I don’t rummage from the word at all.
I tried to search in google and stackoverflow, I didn’t find anything =(
The essence of the problem
I install on Pfsense 2.4.4-RELEASE-p1
FreeBSD 11.2-RELEASE-p4 the
server does not start, tried different versions does not solve the problem.
pkg install mysql80-client mysql80-server

spoiler

pkg install mysql80-client mysql80-server
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating pfSense-core repository catalogue...
pfSense-core repository is up to date.
Updating pfSense repository catalogue...
pfSense repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 2 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
mysql80-client: 8.0.12 [FreeBSD]
mysql80-server: 8.0.12 [FreeBSD]
Number of packages to be installed: 2
The process will require 225 MiB more space.
Proceed with this action? [y/N]: y
[1/2] Installing mysql80-client-8.0.12...
[1/2] Extracting mysql80-client-8.0.12: 100%
[2/2] Installing mysql80-server-8.0.12...
===> Creating groups.
Using existing group 'mysql'.
===> Creating users
Using existing user 'mysql'.
[2/2] Extracting mysql80-server-8.0.12: 100%
Message from mysql80-client-8.0.12:
* * * * * * * * * * * * * * * * * * * * * * * *
This is the mysql CLIENT without the server.
for complete server and client, please install databases/mysql80-server
* * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * *
WARNING: THIS IS STILL-IN-DEV PROJECT! USE WITH CAUTION ON PRODUCTION ENVS!
* * * * * * * * * * * * * * * * * * * * * * * *
Message from mysql80-server-8.0.12:
*****************************************************************************
WARNING: THIS IS STILL-IN-DEV PROJECT! USE WITH CAUTION ON PRODUCTION ENVS!
*****************************************************************************
*****************************************************************************
Remember to run mysql_upgrade the first time you start the MySQL server
after an upgrade from an earlier version.
There is no initial password for first time use of MySQL.
Keep in mind to reset it to a secure password.
MySQL80 has a default %%ETCDIR%%/my.cnf,
remember to replace it with your own
or set `mysql_optfile="$YOUR_CNF_FILE` in rc.conf.
*****************************************************************************

service mysql-server start
spoiler
Starting mysql.
Bad -c option
/usr/local/etc/rc.d/mysql-server: WARNING: failed to start mysql

If you have any ideas, write or poke your nose, maybe I'm just blind =(
Thank you, I'm waiting for answers.
The answer is in the comments.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Satisfied IT, 2018-12-24
@Rainbow19

Was there any version of mysql before that? If yes, then take a look at this line

Remember to run mysql_upgrade the first time you start the MySQL server
after an upgrade from an earlier versio

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question