OS X Technologies :: Change Mamp MYSQL Password?
Jun 30, 2012I use the normal command line and i get this message.
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
Info:MacBookPro, Mac OS X (10.7.4)
I use the normal command line and i get this message.
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
Info:MacBookPro, Mac OS X (10.7.4)
I had previously downloaded MySQL on my computer. However, I discovered MAMP and want to use it. When I try to "Set to default Apache and MySQL ports" in the preferences form, Apache starts back up but MySQL doesn't and then my web program won't recognize my local server. What can I do to fix this?
View 2 Replies View RelatedMAMP is playing up on me - it seems to be running ok (ie connected to Apache and MySQL server, green lights are on), but the start page won't load.It also won't let me quit out of it properly. It seems to have quit, but when I load it up again the MAMP console appears immediately with both green lights on (ie it seems to have been running in the background).updated my firmware the other day to 3.1965 (3.1965), could this have something to do with it?nd is it possible to uninstall MAMP and reinstall it?
View 1 Replies View RelatedHowever I cannot figure out how to shutdown and restart MySQL from the command line and pass these options to mysqld.Â
Snow Leopard and MySQL 5.1.56 MySQL Community Server.
Info:
MacBook & MacAir & iMac, MacAir 10.5.x -- iMac 10.6.x
Macbook Pro running Lion V 10.7.4Â .After a hard drive failure this weekend, I restored frm my most recent backup.Unfortunately this did not include svn, host file changes and some other fairly easy to correct things.The one that has been giving me trouble for the last 8 hours is mysql. I have gone through and removed mysql (multiple times) and did fresh installs. Each time I was getting the error:Â
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38)Â
Even after changing my /etc/my.cnf file to point to var/lib/mysql/mysql.sock I would get these errors. Â
Are there multiple locations where mysql points to /tmp/mysql.sock? Â
I am at a loss of what to do. I have uninstalled reeinstalled. Tried many different solutions all to reeive the same error.Â
Info:
Mac OS X (10.7.4)
I keep getting the message, something like "Developer Tools needs to take control of ... for debugging ... enter password to allow this. Everytime I turn on my Macbook and start Xcode. Is there a way to 'always allow' this?
Info:
Mac OS X (10.7.3)
i typed wrong password in the terminal and now the command line of entering the password is gone, what can i do?
some say on the internet that the system is already damaged.
My MB Pro has 1 user login, it's never been changed, re-created, etc.I can login to the laptop no problem, I can goto the User control panel and change the PW and it shows the single user as the admin.However I can't install software. It comes up and asks me for the password which is then rejected.Beyond reloading the OS not sure what options are. Did a permissions repair but no other luck.
View 2 Replies View RelatedI cannot remember my password and cannot download software. Is there any way to find it or do I have to make an appointment and go into an Apple Store?
Info:
MacBook Pro, Mac OS X (10.7.2)
how to enable Web Sharing, but I want to make it so that only certain people can access the shared directory. How can I make it so that users can get a password prompt and then see ALL files in my Users>myname>Sites folder? I see several complicated methods on the web on how to enable a password prompt for users coming to look at a file, but is there somewhere a simpler way to make this password-protected? BTW, I started the process, and was able to open httpd.conf using terminal, but, after I changed AllowOverride None to AllowOverride All, I was not able to save the file, even though I have Snow Leopard 10.6.8, which supposedly allows changes to httpd.conf.Â
Info:
iMac 2GHz 2 Intel Core 2 Duo, Mac OS X (10.6.4)
Apple online support was useless!cannot remember password to signon to new IMAC. Surely there is a backdoor.
Info:iMac, Mac OS X (10.7.3)
I am having a problem with getting on the internet through my wireless modem using my MacBook--it's an older laptop: OSX 10.5.8-- without entering the WEP password each time. I have checked the box for the coputer to remember the password, but it's not working. I was able to seamlessly go onto the internet in the past--then this started happening-
Info:
MacBook, Mac OS X (10.5.8)
I am trying to write a generic script that will mount a disk upon log in of a user So far I have this: (which works for a specific user:)Â
try
mount volume "smb://MyUserName:MyPassWords@ServerIAmPointingTo"
end try Â
I have pointed the script to my log in prefernces so it runs automatically when I log in. Is there a way to do this with a generic username/password? If I wanted to give this script to 100 of my co-workers, they would all have to modify the code to their credeintals. But is there any defaut usernames or passwords that AppleScript will take?  Maybe something like: mount volume "smb://default:default@ServerIAmPointingTo" ...? My goal for this script is to have it run on peoples desktops at work to point to the same server, since I work in IT. But, I don't want to modify each script for each unique person.Â
Just trying to load my wamp sites on mamp.
Copied my folders into htdocs and it says to change to the wamp path file for index.php. I looked it up copied what I thought was the code needed and now all is broken.
Im using package maker and has a script to create my alias, but i am relatively new, and want to change the alias' icon to my applications supposedly icon.
as my app is base on HTML5 thus we are using the browser to open the app
Info:
Applescript
mail will not send and continuously asks for password and rejects last documented password change. I cannot send mail only receive it on the MacBookPro BUT...I can get web mail and use send on iphone...mail cannot be received on iphone now.Â
Info:
MacBook Pro, Mac OS X (10.6.8), mail rejects all possible passwords
I'm just now upgrading from 10.6 to 10.7, and I'm having trouble with a script that I wrote that worked fine under 10.6. In part, it executes the following command: osascript -e "tell application "Finder" to set destop picture to POSIX file "<path>"" to change the desktop background image to one of two different files based on other conditions. In 10.7, this command completes with no error code, but it only changes the background of one of my four desktops. Is there a way to programmatically change the background image of all of my desktops simultaneously? Failing that, is there a way to a) find out how many desktops I have and b) loop through them, setting each of their backgrounds in turn? osascript -e "tell application "System Events" to set picture of every desktop to "<path>"" Unfortunately, that also changes only the current desktop's picture. The larger script is in Perl, so I'd prefer a technology that works well with that language, but if I have to change to a different scripting language, that's not the end of the world.Â
View 6 Replies View RelatedIn my office,we have three Wi-Fi connection A,B,C.I had connected them in store the password in keychain.For now,i want to create a applescript to auto connect them by one click.Like i click application A,then it will help me to connect to A Wi-Fi and so on.
But,after i searched many knowledge from web,the code maybe not work on lion.Â
tell application "Keychain Script" set serverKey to frist key of current keychain whose name is "EUCMAC" set acct to account of serverKey set pswd to password of serverKey end tell Â
Info:
iMac, Mac OS X (10.7.3)
I'm currently locked out of my Power Mac G5. While trying to install the latest Java for Mac OS x 10.5 Update 6 from Software Update, my admin. password was rejected as invalid. When I try to change my password in Accounts, my old password is rejected. I've entered this password a thousand times, and, yeah, I'm slightly senile, but caps lock isn't on.
View 2 Replies View RelatedI recently got my computer fixed and ended up getting a new one. it is a mac book laptop. I changed the password before it got sent and i completely forgot it. They backed my new laptop up with my old hard drive so now i got my old stuff on the new one. I want to download this application so i can fix this .zip file but i need the admin password. I've tried using the install discs but they tell me to enter the admin. I've tried putting the install disc in and pushing c on start up but it just freezes on the white screen with the apple. Is there something wrong with my computer? should i contact the insurance company who i dealt with?
View 5 Replies View RelatedHow can you change administrator password without the old password. The owner has died and no one has the password
Info:
iMac, Mac OS X (10.7)
That pretty well some it up. I've looked and looked and it seems this is not an easy thing to do! I guess the Proper() function from Excel doesn't exist in applescript?
Info:
Mac OS X (10.7.3)
I just bought a new Macbook Pro 2.4 and starting fixing it with only fresh installs. I installed the OS X 10.5 (x86_64) pak. It was running fine until now.
The start/stop in the pref.pane don't work and if I do a "mysql start" in the terminal I get:
Quote:
MacBookPro:~ matsaki$ mysql start ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
I tried to reinstall but it did not help. What's bugging? And what to do?
I downloaded a the newer version directly from mysql and made a install. Now I can't stop mysql from running. I throw away the strat/stop in prefpane too. But as soon as I stop mysql it restart's after 3 seconds??
I am wondering if I have 2 mysql running also. The original in the box and the new one. Now I'm at a stage where I have to solve this problem and I am truly not good with UNIX andMySQL commands to see what's wrong or what to do.
Again I almost don't know anything how to use the terminal.
I have Xcode 4.3.2 downloaded from MacApp store. However, it didn't set my environment for development libraries at all. So I included /Applications/Xcode.app/Contents/Developer/usr/bin/ in PATH so it can find common utilities like make, cc, etc. I have installed mysql-5.5.23-osx10.6-x86_64 from MySQL's DMG archive. That went smooth - I am able to start and stop the server. Get in using mysql command line client interface and execute queries, etc. Perl came preinstalled with 10.7.3 Lion. Version of perl is 5.12.3. I am now trying to install DBD::MySQL driver for interfacing with perl and ran into issues. According to MySQL documentation, I first tried to install this driver using -Â
shell> perl -MCPAN -e shell
cpan> force install DBD::mysqlÂ
But this failed with make errors (the error is same as reported further below). Then, after days of googling, I found the original post by etresoft on installing this driver. I followed the steps documented in that post (reproduced below for easy reference). My comments in italics. Download the MySQL Perl driver. Done. My version of DBD happens to be 4.021.Â
Extract the archive with:
tar xvf DBD-mysql-4.021.tarÂ
Move into the directory:
cd DBD-mysql-4.021Â
First, fix the MySQL client library. (credit) For Lion, type:sudo install_name_tool -id /usr/local/mysql-5.5.14-osx10.6-x86_64/lib/libmysqlclient.18.dylib /usr/local/mysql-5.5.14-osx10.6-x86_64/lib/libmysqlclient.18.dylib Done. No issues.
[code]....
Info:
iMac, Mac OS X (10.7.3)
My son has an account on my macbook and recently he got into some trouble at school and I need to change his account password. Only problem is he will not tell me his password so I can make the changes. Even though Im the administrator I am not able to change his password without first typing in his.
View 11 Replies View RelatedWhen you go to a web site that requires a password, Mac asks if it can remember the password. If the answer is yes you are then stuck with it. How can I change the password that Mac remembers?
View 2 Replies View Relatedi got my macbook air as a gift and the guy on the store put a name and password for me, how can i change it? i even don't know the password!
Info:
MacBook Air
I have always used PCs where I worked and now that I am retired, I purchased a beautiful 27" iMac (2.7GHz, Quad Core i5, 16GB memory, Lion OS X) and I absolutely love it! I feel like I have been working with only a half computer all my life. Here is my problem: Whenever I am asked for my Password, I have to hit the Enter key without typing anything in for the Password. Is there any wan I can set the password on my iMac?
Info:
iMac, Mac OS X (10.7.3), 27" 2.7Ghz Quad Core, 1TB hard dr
how do you change or create a password on a macbook pro?
Info:MacBookPro, Mac OS X (10.7.2)