You can do that easily with the “service” command. The “d” at the end of its name means that it runs as a “daemon” – the Unix term for a process that runs as a service in the background.īefore you can reset your MySQL password, you’re going to have to stop that daemon. The server is run with the “mysqld” executable. You probably used it to set your password initially when you first installed MySQL. The administrative utility is run with the “mysqladmin” executable. That gives you command-line access to handle administrative functions in MySQL. The client is run with the “mysql” executable. You probably know that there are three executable components to a MySQL installation: the client, the administrative utility, and the server. Please note: MySQL root access is totally different than root access in your MySQL instance, despite the fact that they have the same name. Once you do that, you’ll have root access for all your future commands so you won’t have to prefix them with “sudo” every time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |