Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

638
Visualizações
Permission denied when starting MySQL Server from MySQL Workbench in Ubuntu

I am using Linux Ubuntu 14.04 LTS, i installed Mysql Workbench using the Ubuntu software center. Now, i am unable to start the server both when i open a connection or i click on Start Server button.

The server is configured to run on localhost:3306 (the default configuration).

Here is the Mysql Workbench Startup Message Log:

2016-02-28 12:10:27 - Checked server status: Server is stopped.
2016-02-28 12:10:35 - Checked server status: Server is stopped.
2016-02-28 12:10:50 - Starting server...
2016-02-28 12:10:50 - Executting '/etc/init.d/mysqld start'
2016-02-28 12:10:53 - Checked server status: Server is stopped.
2016-02-28 12:10:59 - Could not stop server. Permission denied
2016-02-28 12:10:59 - Checked server status: Server is stopped.
over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

You need to do this with root privileges, so you need the ability to use sudo. You will be prompted for your password when you do this. If you are not allowed, then you have to apply for sudo access.

I think also your actual problem is you don't have mysql server installed. Not too sure what workbench is. If you want to make databases and tables and store information on the server, you need to install mysql server. At the command prompt:

$ sudo apt-get install mysql-server

to install server. Then to run

$ sudo bash
$ service mysql start
or 
$ mysqld_safe

Then to find out if it is running

$ service mysql status
● mysql.service - MySQL Community Server
   Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2016-02-28 22:31:48 AEDT; 3min 11s ago

The line saying "Active: ..." is what you are looking for

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda