search

Home  >  Q&A  >  body text

Error when installing mysql on linux

启动mysql报错:

[root@root mysql]# bin/mysqld_safe --user= mysql &

[1] 2786

[root@root mysql]# nohup: ignoring input and redirecting stderr to stdout

chown: missing operand after `/usr/local/mysql/var/root.err'

Try `chown --help' for more information.

Starting mysqld daemon with databases from /usr/local/mysql/var

STOPPING server from pid file /usr/local/mysql/var/root.pid

181019 01:55:59  mysqld ended



[1]   Done                    bin/mysqld_safe --user= mysql

[root@root mysql]# 


奔跑者奔跑者2231 days ago2906

reply all(4)I'll reply

  • cloudmam

    cloudmam2020-04-17 17:48:08

    I usually use the management panel Cloud Helper to assist in the installation and deployment of the database MySQL. The environment is deployed with one click and it is also very convenient to manage the MySQL database, including database creation, modification, permission settings, backup and recovery. You can try Cloud Helper https://www.cloudx.cn/?utm_source=wup

    reply
    0
  • 奔跑者

    Thank you, it’s been 20 years

    奔跑者 · 2020-04-17 17:49:39
  • 胤彬-

    胤彬-2018-10-19 21:09:58

    Wrong start command

    reply
    0
  • 奔跑者

    How should I write that?

    奔跑者 · 2018-10-20 10:43:47
    胤彬-

    Baidu Ah Big Brother

    胤彬- · 2018-10-20 20:15:47
  • Cancelreply