- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to add new PATH
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
09-27-2005 11:37 PM
09-27-2005 11:37 PM
How to add new PATH
i installed mysql but i want to add the path of it /usr/local/mysql/bin to run mysql
how i can add it??
Best Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 11:38 PM
09-27-2005 11:38 PM
Re: How to add new PATH
# export PATH=$PATH:/usr/local/mysql/bin:/usr/local/mysql/sbin
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 11:39 PM
09-27-2005 11:39 PM
Re: How to add new PATH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 11:41 PM
09-27-2005 11:41 PM
Re: How to add new PATH
Check your /etc/profile or your $HOME/.profile and add the /usr/local/mysql/bin to your PATH.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 11:43 PM
09-27-2005 11:43 PM
Re: How to add new PATH
You can add it by export command but put it in .profile of that user at the end of PATH and /etc/profile if you wish to enable this for all users.
PATH=xxx,yyy,zzzzz,/usr/local/mysql
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 11:44 PM
09-27-2005 11:44 PM
Re: How to add new PATH
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 11:46 PM
09-27-2005 11:46 PM
Re: How to add new PATH
go to their profile in $HOME/.profile and put like,
export PATH=$PATH:/usr/local/mysql/bin
or simply in /etc/profile check username as,
if [[ $USER = "test" ]]
then
export PATH=$PATH:/usr/local/mysql/bin
fi
Note: Don't use like, export PATH=/usr/local/mysql/bin. It will loose your default PATH settings.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2005 11:53 PM
09-27-2005 11:53 PM
Re: How to add new PATH
export
ziad