Re: Start daemon with parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Mark
adapt the systemctl service file at
/lib/systemd/system/mysqld.service
primarily the
ExecStart=/usr/libexec/mysqld
line.
possibly, there is a more elegant solution, but who cares for elegance?

suomi


On 2012-08-17 14:01, Mark Haney wrote:
Somehow, I've managed to either lose the root MySQL password or type it
incorrectly.  Either way, I can't use MySQL until I reset the password.
  I've tried the mysql_safe init file way, but MySQL bombed (wouldn't
start).  That might mean the package itself is buggered, but I know
mysqld starts fine.

Regardless, the other method to reset the root password is to start
mysqld with the --skip-grant-tables option.  I'm used to just hitting
/etc/init.d/mysqld from the CLI and starting it that way.  However, I've
noticed a distinct lack of an init.d/ directory in F17.

What's the latest method of starting a daemon manually and passing
parameters to it?


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux