Evil Glint Posted December 7, 2010 Author Share Posted December 7, 2010 Thank you very much! You have saved my from needing to go database-less. Does this mean I need to add "/usr/local/mysql/bin/mysqladmin" to the beginning of my Terminal commands? Quote Link to comment https://forums.phpfreaks.com/topic/220422-changing-the-password-and-creating-a-database/page/2/#findComment-1143865 Share on other sites More sharing options...
trq Posted December 7, 2010 Share Posted December 7, 2010 You should add /usr/local/mysql/bin to your path. This can be done within your ~/.bashrc file export PATH=${PATH}:/usr/local/mysql/bin Quote Link to comment https://forums.phpfreaks.com/topic/220422-changing-the-password-and-creating-a-database/page/2/#findComment-1143890 Share on other sites More sharing options...
Evil Glint Posted December 7, 2010 Author Share Posted December 7, 2010 Okay. Sorry, but what will that do? Quote Link to comment https://forums.phpfreaks.com/topic/220422-changing-the-password-and-creating-a-database/page/2/#findComment-1143901 Share on other sites More sharing options...
trq Posted December 7, 2010 Share Posted December 7, 2010 Put it in your .bashrc file. this file should be within your home directory. Then, logout and bake in. mysql & mysqladmin should then be on your PATH and you will be able to simply execute them without having to type the full filepath. I'm a bit suss on your installation method as all of this should normally be taken care of already. I'm not a mac user though (I use GNU/Linux). Quote Link to comment https://forums.phpfreaks.com/topic/220422-changing-the-password-and-creating-a-database/page/2/#findComment-1143911 Share on other sites More sharing options...
Evil Glint Posted December 7, 2010 Author Share Posted December 7, 2010 Cool, thanks! As far as my instalation method, I used an installer from mysql.com. I was going to point out the page I got MySQL from, but I can't find it. It seems I installed an outdated copy (5.1.40). At http://downloads.mysql.com/archives.php?p=mysql-6.0&o=(%3F%3Adarwin|osx) (the "|osx)" is part of the url, but the forum cuts it off) I will be upgrading to MySQL version 6.0.11 Mac OS X 10.4 (PowerPC, installer format) (11 May 2009, 92.8M) Signature MD5: 7ab47e7e92c225f22ffb4064b3acb627 Quote Link to comment https://forums.phpfreaks.com/topic/220422-changing-the-password-and-creating-a-database/page/2/#findComment-1144053 Share on other sites More sharing options...
Evil Glint Posted December 7, 2010 Author Share Posted December 7, 2010 Sorry for the double post, but there is no edit button. It looks like I will not be upgrading. After I downloaded it, I saw "alpha" in the file name. I'll just keep 5.1.40 for now. Quote Link to comment https://forums.phpfreaks.com/topic/220422-changing-the-password-and-creating-a-database/page/2/#findComment-1144056 Share on other sites More sharing options...
fenway Posted December 8, 2010 Share Posted December 8, 2010 See here. Quote Link to comment https://forums.phpfreaks.com/topic/220422-changing-the-password-and-creating-a-database/page/2/#findComment-1144492 Share on other sites More sharing options...
Evil Glint Posted December 11, 2010 Author Share Posted December 11, 2010 Thanks for the guide! Quote Link to comment https://forums.phpfreaks.com/topic/220422-changing-the-password-and-creating-a-database/page/2/#findComment-1145698 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.