How do I start/stop mysql server?

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

I tried to find in some articles describing how to correctly start & stop mysql server.

I found this link: How to start/stop MySql server on Ubuntu 8.04 | Abhi’s Blogging World

I ran this command:

/etc/init.d/mysql start

but I see this error

ERROR 1045 (28000) Access denied for user….

After I tried this command:

sudo /etc/init.d/mysql start

I entered my password, and again I see the same error.

Next command:

sudo /etc/init.d/mysql – root -p start

results in:

ERROR 1049 (42000) Unknown database ‘start’.

And when I run this command:

sudo service mysql start

MySQL server success started. Cool!

So, what’s wrong with the other commands? Why do they result in error?

X ITM Cloud News

Marisa

Leave a Reply

Next Post

Kubuntu 20.04 Kernel crash

Wed Sep 16 , 2020
Spread the love          I’v been presenting some issues with my fresh install of Kubuntu 20.04, the system freezes and after reading the output from journalctl I found that it is due to some “Kernel Crash”. Maybe someone knows how yo solve this. I’m gonna leave the output of journalctl sep 14 […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM