Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

630
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!