HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- best way to start mysql in hp-ux 11
Operating System - HP-UX
1832531
Members
8464
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 05:35 AM
08-03-2004 05:35 AM
best way to start mysql in hp-ux 11
Hi,
I'm running mysql under 11.0. I can start the mysql daemon from the command line ok. I tried to get it to start on bootup but I'm doing something wrong. Before I re-invent the wheel is there a standard way to do this?
Thanks,
Dave Driscoll scripts and error messages attached.
I'm running mysql under 11.0. I can start the mysql daemon from the command line ok. I tried to get it to start on bootup but I'm doing something wrong. Before I re-invent the wheel is there a standard way to do this?
Thanks,
Dave Driscoll scripts and error messages attached.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 05:54 AM
08-03-2004 05:54 AM
Re: best way to start mysql in hp-ux 11
Attached is mysqld which you should copy into /sbin/init.d
HTH
-- Rod Hills
HTH
-- Rod Hills
There be dragons...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2004 05:55 AM
08-03-2004 05:55 AM
Re: best way to start mysql in hp-ux 11
mysql needs to be started by the user that owns the binaries, not root.
The best way to do this is in the startup script at /sbin/init.d/mysql (choose your own name, i generally clone a file called template)
In the start section you need to have this:
/usr/bin/su - mysql -c "command line of mysql start script"
That line points to a startup script that you should have tested and working for the mysql user.
SEP
The best way to do this is in the startup script at /sbin/init.d/mysql (choose your own name, i generally clone a file called template)
In the start section you need to have this:
/usr/bin/su - mysql -c "command line of mysql start script"
That line points to a startup script that you should have tested and working for the mysql user.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2004 08:20 AM
08-05-2004 08:20 AM
Re: best way to start mysql in hp-ux 11
I tried Rodney's script first since I was looking for a standard solution but it failed so I tried Steven's suggestion since I already had a command line script that worked but it failed too. Then I edited Rodney's script: in my install mysql is in /usr/local/mysql, the init scripts are in /sbin and rc0.d links use K instead of S & now everything seems to be working.
Thanks guys
Dave
Thanks guys
Dave
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP