Stop MySQL 4; Remove it; Install MySQL 5+ version Questions
I just got a Mac Pro Quad-Core Intel Xeon (64-bit) at my workplace (woohoo!).
The IT dept. at my work migrated my earlier Mac contents over to it, including the version of MySQL 4.? on the older Mac. I want to remove that older version of MySQL and install version 5.0.8.1 (or whatever is the stable version that should have come with my new computer). I don't have any tables or data on the old version as I am just learning how to do all this, so I am not worried about losing data.
My plan is to stop the MySQL 4. Remove it from the computer using terminal commands and then download MacPorts and use it to install MySQL 5.
I ran the command and got the response as follows:
"sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
Password:
Stopping MySQL database server"
My questions are:
1. How do I know if it really is stopped? Shouldn't it say "MySQL stopped" or something?
2. Does it matter if it isn't stop when I remove it?
3. Is using MacPorts a good way to go to accomplish the new install?
Thanks for any help you can give me with this.
Best,
Shelley
Message was edited by: Shelley Schreiber
Message was edited by: Shelley Schreiber
Thanks baltwo. I actually tried doing that but I still came up with the version 4 of MySQL. I have two hard drives and I partitioned one of them into a Time Machine area and a second system area. When I installed from the CD's into the second system partition, it did not install any version of MySQL.
So I renamed my version 4 MySQL directory to mysql_backup and removed the version 4. Then I downloaded mysql-5.1.47-osx10.6-x86_64.dmg and installed it. It is now running and I will start the process of assigning passwords and securing it. I did this with the help of Charlie Minow in the Technologies section for Unix.
My thanks to both of you for your help!
Best,
Shelley
Many thanks for your help,
Similar Messages
-
what are the steps in deleting in add remove to install a clean version of itunes/quicktime?
What has to go, in order, like itunes-quicktime-mobile me, or?There are two part when installing WebEnt.. The first one is the web server part where it installs the fortecgi.exe or other web server components. This should be installed where the web server is going to be running. This is usually not you development server. The second part is the http library and web designer part. This should be installed on the development server. The http library need to go through a install of its own to make it part of the central environment. After that all the developers will have access to the http library and all they will need to do is install the Web desinger part.
Hope this helps.
ka -
I cannot burn cds from itunes. Every time I open itunes i get a message indicating i need to reinstall itunes. I have already done so but it's not working. I still cant burn cds. Does anybody know how i can fix this? My windows media player burns cds just fine.
I am having this same issue with Windows XP. The exact message that I get everytime that I open iTunes is :
The registry settings used by the iTunes drivers forimporting and burning CDs and DVDs are missing. This can happen as a result of installing other CD burning software. Please reinstall iTunes. I have deleted and reinstalled iTunes three times. I also have a problem with iTunes randomly opening itself. -
Installing Mysql on OS 10.6.8 issues
Hi,
Following Marc Liyanage upgrade instructions ( I was running mysql 5.0.21 before) , I recently tried to install mysql-5.1.48-osx10.6-x86 on my imac intel Core 2 Duo, running OS X.6.8 without success. I have read a lot of articles on mysql and a lot of forums, tried a lot of terminal commands but still no luck.
I know nothing about terminal. I can read for instance from http://dev.mysql.com/doc/refman/5.1/en/assigning-passwords.html:
"mysql> CREATE USER 'jeffrey'@'localhost' -> IDENTIFIED BY 'mypass';"
I don't know what to do: how could I create that prompt 'mysql>'? . I would need a step by step instructions.
I have activated the mysql dmg file and installed mysql preference pane and MYSQLCOM startup item as well.
I rebooted my mac et opened Mysql preferences: Mysql server was running !
Now, I think I got a permission issue. I do not know where and how I could set a new user and password.
Here are a few terminal commands and their results:
1.
Macintosh:bin benassis$ mysqladmin -u root password {root}
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
2.
Macintosh:bin benassis$ mysqladmin variables
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
Macintosh:bin benassis$ ps auxww | grep mysql
_mysql 804 0,0 0,2 631192 7988 ?? S 4:38 0:00.12 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/data --user=mysql --log-error=/usr/local/mysql/data/Macintosh.local.err --pid-file=/usr/local/mysql/data/Macintosh.local.pid --socket=/tmp/mysql.sock
root 742 0,0 0,0 2435548 784 ?? S 4:38 0:00.01 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/data --pid-file=/usr/local/mysql/data/Macintosh.local.pid
benassis 1341 0,0 0,0 2425700 264 s000 R+ 4:55 0:00.00 grep mysql
3.
Macintosh:mysql benassis$ bin/mysqld_safe --user=mysql &
[1] 5364
Macintosh:mysqlbenassis$ 120604 22:01:05 mysqld_safe Logging to '/usr/local/mysql/data/Macintosh.local.err'.
touch: /usr/local/mysql/data/Macintosh.local.err: Permission denied
chown: /usr/local/mysql/data/Macintosh.local.err: Permission denied
120604 22:01:05 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
bin/mysqld_safe: line 100: /usr/local/mysql/data/Macintosh.local.err: Permission denied
rm: /tmp/mysql.sock: Permission denied
rm: /usr/local/mysql/data/Macintosh.local.pid: Permission denied
bin/mysqld_safe: line 137: /usr/local/mysql/data/Macintosh.local.err: Permission denied
120604 22:01:05 mysqld_safe mysqld from pid file /usr/local/mysql/data/Macintosh.local.pid ended
bin/mysqld_safe: line 100: /usr/local/mysql/data/Macintosh.local.err: Permission denied
Any idea ?Hi etresoft,
Following your tips in "Installing MySQL on Lion" I've created a launch config file like you did.
I tried in a terminal window and it worked:
I also sent "sudo launchctl unload -w /Library/LaunchDaemons/com.mysql.mysql.plist" and it worked too.
I made a backup of my actual my.cnf file and created a new one exactly like you did.
I feel very stupid.
I tried many commands in a terminal window to create a new user and password unsuccessfully.
I want to show here a few samples with their results.
Here, I'm sending the mysql command you showed in you answer:
Macintosh:bin benassis$ /usr/local/mysql/bin/mysql
ERROR 1045 (28000): Access denied for user 'benassis'@'localhost' (using password: NO)
I read and tired many commands In the following article:http://dev.mysql.com/tech-resources/articles/mysql_intro.html#SECTION0006000000.
This article don't explain how we can the following prompt (%>) they show in this article (I know this prompt is showed in the terminal when mysql is waiting a command, but...):
%>mysql [options] [database]
I tried many times with no success...
Here are a few samples of others attempts, yesterday night and this morning:
Macintosh:bin benassis$ mysql
ERROR 1045 (28000): Access denied for user 'benassis'@'localhost' (using password: NO)
Macintosh:bin jean-yveslemieux$ sudo mysql
Password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Macintosh:bin benassis$ mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Macintosh:bin benassis$ sudo mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Macintosh:bin benassis$ mysqladmin -u root password {root}
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
Macintosh:bin benassis$ sudo mysqladmin -u root password {root}
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)' "
Macintosh:bin benassis$ sudo mysqladmin -u root password {root}
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/mysql/mysql.sock' exists!
Macintosh:bin benassis$ sudo mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Macintosh:bin benassis$
Thank you for assistance and your patience
P.S. Sorry for my poor English -
Hi Everyone,
Somebody tell me how to install MySQl in RHEL 5.3. I tried using following command:
yum install mysql* -y
but it interrupted installation with some library error.902776 wrote:
but it interrupted installation with some library error.You need to provide us with the exact error if you expect to get any help. However, you could be more specific:
# yum install mysql-server That will install MySQL Server, assuming your RHEL server is configured correctly to receive updates from RHN. -
I want to re-install an older version of Flash Player but...
I hope this is the right place to ask this question...
I have a new dual processor pentium laptop and I upgraded to Flash V10.1 a couple of days ago. One web site I access regularly has now slowed right down and the video is unwatchable. My CPU meter runs at over 70% so I simply wanted to uninstall V10.1 and re-install V9. For whatever reason (I don't know if it is laptop, Win7 or Adobe), I am prevented from loading the older version. An Adobe window pops up and says that this (V9) is not the latest version, stops the install and points me back to the Adobe site to download the latest version. I have followed all of the guides to ensure proper uninstallation of V10.1. All very frustrating!
Can anyone help - please?
Thanks
IanOK, here I am replying to myself but perhaps others may gain from this solution. Remember, this original post was "how to stop Adobe preventing me from installing an older version and forcing me to take the latest version...". I just wanted to re-install an older version to prevent big CPU usage and stuttering video. Well, this is what fixed it for me an allowed me to install Adobe Flash V9...
Assuming you have properly uninstalled Adobe Flash Player v10.n, you need to remove a folder and files from your registry. If you are unhappy to do this, then ask an expert - the registry is not somewhere you want to get lost in. I am also assuming you have the correct system permissions, Anway this is what I did:
1. Go to start button and find (and run) REGEDIT.EXE
2. Rather than give you a specific path to follow, it is best to simply use REGEDIT to find the folder by clicking "Edit" then "Find".
3. You are looking for a folder called "SafeVersions".
4. When you find it, it may show a number of safe versions (previous loads of the player).
5. From the left window pane, right click on the aforementioned folder then click "Delete"
6. Respond to any prompts you might get, like, "do you want to do this..." etc.
7. Close down all applications in the normal manner and reboot.
8. When restarted, go back on line and download the V9 (or whatever version you want). You'll know its a good 'un as it loads in a fraction of the time.
9. Go back to your web page or whatever and, hey presto, everything is back to what it was before that hungry V10.n was uploaded.
Hope that helps, it might be nice if the Adobe uninstaller deleted this registry entry, but it doesn't - or at least in Win7 on my PC, it didn't.
Let me know it the above works for you.
Thanks and good luck -
How to install MySQL 5 and remove default install
Hi all,
I have some problems to make MySQL 5 works fine on Mac OS X server.
I have installed the package (http://dev.mysql.com/downloads/mysql/5.0.html) but a instance of the old mysql still running.
Can someone explain me how to remove the default install and make the new one works?
PowerBook G4 Mac OS X (10.4.3) Mac OS X Server"pwd in directory /usr/local/mysql return /usr/local/mysql"
I didn't really address this in my previous post, but this could be a problem. This seems to indicate that there is an actual directory named mysql in /usr/local. That shouldn't be the case. If it's empty, you should remove it and replace it with a symbolic link to /usr/local/mysql-standard-5.0.16-osx10.3-powerpc (assuming that's the version you have installed).
To create this link, cd to /usr/local and enter:
ln -s /usr/local/mysql-standard-5.0.16-osx10.3-powerpc mysql
Or you may want to run the installer again. I would hope that the installer would not fail without giving you an error, and since creating this link is not necessary for the installation, it probably just ignored it, but the presence of the directory would have prevented it from creating the link, so it could have interfered with the normal operation of the installer.
Normally when you install MySQL it installs into the /usr/local directory, creating a folder with the full name of the version, e.g. "mysql-standard-5.0.16-osx10.3-powerpc" in the case of the current version. It then creates a symbolic link to that directory called "mysql" in the /usr/local directory. That's why, normally, if you cd to /usr/local/mysql and issue pwd it should give you the full path to the current MySQL installation directory.
The beauty of this system is that it leaves your current installation intact, so if you need to back out, because some of your applications are not compatible with the new version, you only need to re-point that symbolic link to point back to the old version.
It also allows you to transfer your data very easily. Even if you forget to extract the data folder from the old version before you installed the new one, your data is still there, safe and sound. (That's why I've been recommending leaving that folder alone until you sort out the problems with the installation of the new version.) -
Help! I'm trying to install mysql....and FAILING!
I am trying to install mysql, but the instructions that the Lynda.com course on PHP Essential Training are for a previous version of OS X (10.4, I believe) and I am lost and tied up in knot and frustrated beyond all belief.
Is there a set of SIMPLE but accurate instructions that even your grandmother could follow ANYWHERE on the web that can help me?
First problem
From what I can tell, it is in the in the /usr/local/mysql/bin folder (all of this is Greek to me) and I simply cannot modify the path (successfully) to point to it.
Second problem
Also, when i go to the /usrlocal/mysql/bin folder and type ./mysqladmin -u root password mynewpassword it tells me that access is denied.
I am sure that there are more problems along the way for me. I am grappling in the dark with Linux/UNIX or what ever it is called.
So, again, my question is:
Is there a set of SIMPLE but accurate instructions that even your grandmother could follow ANYWHERE on the web that can help me?pforkes,
Mamp is great, but if you wanna just install MySQL without all the other stuff, try following these step-by-stop instructions here for installing MySQL on OSX 10.6
http://labs.rajdye.com/how-to-install-mysql-server-on-osx-10-6-snow-leopard/
Raj Dye -
[resolved] Can not install mysql
Oooops, I fixed it. Somehow /tmp had wrong permissions..
Hello,
after an upgrade my mysql dameon did not work anymore so I did what https://bbs.archlinux.org/viewtopic.php?pid=889846 says and removed all configs and removed it.
Now pacman -S mysql gives my this
# pacman -S mysql
resolving dependencies...
looking for inter-conflicts...
Targets (1): mysql-5.5.11-1
Total Download Size: 0.00 MB
Total Installed Size: 62.59 MB
Proceed with installation? [Y/n] y
(1/1) checking package integrity [################################################] 100%
(1/1) checking for file conflicts [################################################] 100%
(1/1) installing mysql [################################################] 100%
Installing MySQL system tables...
ERROR: 1 Can't create/write to file '/tmp/#sql_1d4d_0.MYI' (Errcode: 13)
110503 9:20:58 [ERROR] Aborting
110503 9:20:58 [Note] /usr/bin/mysqld: Shutdown complete
Installation of system tables failed! Examine the logs in
/var/lib/mysql for more information.
You can try to start the mysqld daemon with:
shell> /usr/bin/mysqld --skip-grant &
and use the command line tool /usr/bin/mysql
to connect to the mysql database and look at the grant tables:
shell> /usr/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.
Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS. Another information source are the
MySQL email archives available at http://lists.mysql.com/.
Please check all of the above before mailing us! And remember, if
you do mail us, you MUST use the /usr/scripts/mysqlbug script!
Optional dependencies for mysql
perl-dbi
perl-dbd-mysql
The hostname.err contains
110503 09:29:53 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
110503 9:29:53 InnoDB: The InnoDB memory heap is disabled
110503 9:29:53 InnoDB: Mutexes and rw_locks use GCC atomic builtins
110503 9:29:53 InnoDB: Compressed tables use zlib 1.2.5
/usr/bin/mysqld: Can't create/write to file '/tmp/ibwoHE0m' (Errcode: 13)
110503 9:29:54 InnoDB: Error: unable to create temporary file; errno: 13
110503 9:29:54 [ERROR] Plugin 'InnoDB' init function returned error.
110503 9:29:54 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
110503 9:29:54 [ERROR] Unknown/unsupported storage engine: InnoDB
110503 9:29:54 [ERROR] Aborting
110503 9:29:54 [Note] /usr/bin/mysqld: Shutdown complete
110503 09:29:54 mysqld_safe mysqld from pid file /var/lib/mysql/icarus.pid ended
And my my.cnl (I didnt touch it)
1 # MySQL config file for medium systems.
2 #
3 # This is for a system with little memory (32M - 64M) where MySQL plays
4 # an important part, or systems up to 128M where MySQL is used together with
5 # other programs (such as a web server)
6 #
7 # MySQL programs look for option files in a set of
8 # locations which depend on the deployment platform.
9 # You can copy this option file to one of those
10 # locations. For information about these locations, see:
11 # http://dev.mysql.com/doc/mysql/en/option-files.html
12 #
13 # In this file, you can use all long options that a program supports.
14 # If you want to know which options a program supports, run the program
15 # with the "--help" option.
16
17 # The following options will be passed to all MySQL clients
18 [client]
19 #password = your_password
20 port = 3306
21 socket = /var/run/mysqld/mysqld.sock
22
23 # Here follows entries for some specific programs
24
25 # The MySQL server
26 [mysqld]
27 port = 3306
28 socket = /var/run/mysqld/mysqld.sock
29 datadir = /var/lib/mysql
30 skip-external-locking
31 key_buffer_size = 16M
32 max_allowed_packet = 1M
33 table_open_cache = 64
34 sort_buffer_size = 512K
35 net_buffer_length = 8K
36 read_buffer_size = 256K
37 read_rnd_buffer_size = 512K
38 myisam_sort_buffer_size = 8M
39
40 # Don't listen on a TCP/IP port at all. This can be a security enhancement,
41 # if all processes that need to connect to mysqld run on the same host.
42 # All interaction with mysqld must be made via Unix sockets or named pipes.
43 # Note that using this option without enabling named pipes on Windows
44 # (via the "enable-named-pipe" option) will render mysqld useless!
45 #
46 skip-networking
47
48 # Replication Master Server (default)
49 # binary logging is required for replication
50 log-bin=mysql-bin
51
52 # binary logging format - mixed recommended
53 binlog_format=mixed
54
55 # required unique id between 1 and 2^32 - 1
56 # defaults to 1 if master-host is not set
57 # but will not function as a master if omitted
58 server-id = 1
59
60 # Replication Slave (comment out master section to use this)
61 #
62 # To configure this host as a replication slave, you can choose between
63 # two methods :
64 #
65 # 1) Use the CHANGE MASTER TO command (fully described in our manual) -
66 # the syntax is:
67 #
68 # CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
69 # MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
70 #
71 # where you replace <host>, <user>, <password> by quoted strings and
72 # <port> by the master's port number (3306 by default).
73 #
74 # Example:
75 #
76 # CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
77 # MASTER_USER='joe', MASTER_PASSWORD='secret';
78 #
79 # OR
80 #
81 # 2) Set the variables below. However, in case you choose this method, then
82 # start replication for the first time (even unsuccessfully, for example
83 # if you mistyped the password in master-password and the slave fails to
84 # connect), the slave will create a master.info file, and any later
85 # change in this file to the variables' values below will be ignored and
86 # overridden by the content of the master.info file, unless you shutdown
87 # the slave server, delete master.info and restart the slaver server.
88 # For that reason, you may want to leave the lines below untouched
89 # (commented) and instead use CHANGE MASTER TO (see above)
90 #
91 # required unique id between 2 and 2^32 - 1
92 # (and different from the master)
93 # defaults to 2 if master-host is set
94 # but will not function as a slave if omitted
95 #server-id = 2
96 #
97 # The replication master for this slave - required
98 #master-host = <hostname>
99 #
100 # The username the slave will use for authentication when connecting
101 # to the master - required
102 #master-user = <username>
103 #
104 # The password the slave will authenticate with when connecting to
105 # the master - required
106 #master-password = <password>
107 #
108 # The port the master is listening on.
109 # optional - defaults to 3306
110 #master-port = <port>
111 #
112 # binary logging - not required for slaves, but recommended
113 #log-bin=mysql-bin
114
115 # Uncomment the following if you are using InnoDB tables
116 #innodb_data_home_dir = /var/lib/mysql
117 #innodb_data_file_path = ibdata1:10M:autoextend
118 #innodb_log_group_home_dir = /var/lib/mysql
119 # You can set .._buffer_pool_size up to 50 - 80 %
120 # of RAM but beware of setting memory usage too high
121 #innodb_buffer_pool_size = 16M
122 #innodb_additional_mem_pool_size = 2M
123 # Set .._log_file_size to 25 % of buffer pool size
124 #innodb_log_file_size = 5M
125 #innodb_log_buffer_size = 8M
126 #innodb_flush_log_at_trx_commit = 1
127 #innodb_lock_wait_timeout = 50
128
129 [mysqldump]
130 quick
131 max_allowed_packet = 16M
132
133 [mysql]
134 no-auto-rehash
135 # Remove the next comment character if you are not familiar with SQL
136 #safe-updates
137
138 [myisamchk]
139 key_buffer_size = 20M
140 sort_buffer_size = 20M
141 read_buffer = 2M
142 write_buffer = 2M
143
144 [mysqlhotcopy]
145 interactive-timeout
I can't start mysql daemon, it says "FAIL"
Last edited by cyberius (2011-05-03 08:35:56)hi DILIPDKJ,
Just to verify, is this the PowerDVD software that you're trying to install?
PowerDVD 10 BD
v10.0.3029.52
IN12STW153WW5.exe
114 MB
Regards
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
Cannot Re-Install MySql on 10.8.x
I use MySql with MailSteward Pro; I did a clean OS X install a few weeks back and am trying to get back up and running. Basically I followed the steps found here, to move my MailSteward database to the new volume:
http://mailsteward.com/nickstek/?p=22
I was never able to set permissions properly, and, after a time decided to delete MySql and start over. I did so using the following steps:
sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
rm -rf ~/Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*
And using your text editor of choice:
Edit /etc/hostconfig and remove the line MYSQLCOM=-YES-
If you still cannot install or run a different version of MySQL, you might have to issue one last command in the Terminal2:
sudo rm -rf /var/db/receipts/com.mysql.mysql*
Now, when I reinstall from the DMG package, I get the error message that the MySql Database Server installation was not found. Running 'mysqladmin' from terminal results in an error stating that the command was not found. I have tried to run the installer package again but get these errors:
Jan 16 13:55:14 Stephens-MacBook-Pro.local installd[5941]: PackageKit: ----- Begin install -----
Jan 16 13:55:28 Stephens-MacBook-Pro.local installd[5941]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “mysql-5.1.67-osx10.6-x86_64.pkg”." UserInfo=0x7f9b0364d230 {NSFilePath=./preflight, NSURL=file://localhost/Volumes/mysql-5.1.67-osx10.6-x86_64/mysql-5.1.67-osx10.6 -x86_64.pkg, PKInstallPackageIdentifier=com.mysql.mysql, NSLocalizedDescription=An error occurred while running scripts from the package “mysql-5.1.67-osx10.6-x86_64.pkg”.} {
NSFilePath = "./preflight";
NSLocalizedDescription = "An error occurred while running scripts from the package \U201cmysql-5.1.67-osx10.6-x86_64.pkg\U201d.";
NSURL = "file://localhost/Volumes/mysql-5.1.67-osx10.6-x86_64/mysql-5.1.67-osx10.6-x86_ 64.pkg";
PKInstallPackageIdentifier = "com.mysql.mysql";
Jan 16 13:55:28 Stephens-MacBook-Pro.local Installer[5934]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Jan 16 13:55:28 Stephens-MacBook-Pro.local Installer[5934]: Displaying 'Install Failed' UI.
Jan 16 13:55:28 Stephens-MacBook-Pro.local Installer[5934]: 'Install Failed' UI displayed message:'The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.'.
Can anyone help me get this re-installed and up and running properly ? Thanks!I got the same problem when re-installing mysql-5.1.65-osx10.6-x86_64 and was struggling for awhile. Then I switched to install the latest version, which is mysql-5.1.68 and that worked!
But I thought this might be something related to the quarantine of MacOS. I have got a message from my /var/log/system.log:
Mar 22 02:25:04 Hochi-Air kernel[0]: exec of /Volumes/mysql-5.1.65-osx10.6-x86_64/mysql-5.1.65-osx10.6-x86_64.pkg/Contents/R esources/preflight denied since it was quarantined by Google\x20Chrome and created without user consent, qtn-flags was 0x00000007
I have googled it but there was no luck for me to clear the quarantine flag for the preflight file by issuing:
xattr -d com.apple.quarantine /Volumes/mysql-5.1.65-osx10.6-x86_64/mysql-5.1.65-osx10.6-x86_64.pkg/Contents/R esources/preflight
Maybe copying the installation .pkg file would solve this. -
Installing mysql:sudo launchctl: command not found
After several days of reading about:
Installation of MySQL
Enabling apache server
And getting phpMyAdmin up
I have run into an obstacle. See error message below **
I am Running:
'Mountain lion' , 'Mac OS X 10.8.3'
I have downloaded:
MySQL version. Mac OS X 10.7. (X86, 64-bit), DMG Archive.
Within this forum I found a very brief but helpful 'user tip' post.
Link1.
https://discussions.apple.com/docs/DOC-3082
Where this sentence lead me to believe I could use the version listed above.
There is NO version for 10.8
" Download MySQL from a local mirror. You want the Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive. At the time of writing this User Tip, the current version is 5.5.34. By the time you read this, there may be a newer version to use instead. Open the archive mysql-5.5.34-osx10.6-x86_64.dmg. "
Following the instructions on link1, and all went well until
I am getting this error message when I type the following command at the terminal prompt:
**Error message
-bash: launchctl: command not found.
1. I cd - changed directories all the way back up the file structure to type the command
to see if it needed to be run someplace special but the same error came up.
2. I searched here on this forum and on the web.
3. I went back and checked over every step and everything that i typed.
4. I ended up typing the instructions below by hand
because somewhere I read that a copy/paste may insert invisible characters.
Excerpt from link1.
sudo vi /Library/LaunchDaemons/com.mysql.mysql.plist
Use the following content:
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.mysql.mysqld</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/mysql/bin/mysqld_safe</string>
<string>--user=mysql</string>
</array>
</dict>
</plist>
Can someone please explain what I am missing ?
Why is this command
-bash: launchctl: command not found.
That is launch c t lowercase L not number 1
An added note.
The following link also had a very nice set of instructions but unlike link1, this link uses the
'Preference pane' and 'startup item' which link1 discourages because it causes problems down the road.
I would rather use the command line and do not want to give up on this method.
Link2.
http://coolestguidesontheplanet.com/install-configure-apache-mysql-php-phpmyadmi n-osx-10-8-mountain-lion/
Now that I am going head strong with this project, I hope that my issue can be resolved quickly with this community
so I don't loose my momentum.
Thanks a lot.1. You are really a nice person. Thank you. I really want to understand these file structures. Sorry my posts are lengthy.
Thank you for taking the time to look at the original User Tip.
2. I hope that you do not end this thread when I tell you that I actually have gotten php running. These concepts are still very important to me.
I am not up to the point where I am using mySQL so that may end up another troubleshooting problem.
3. Last week and this I have been exploring my files with terminal by cd-ing up and down; using sudo nano to open the file to see what is in there.
I have included some things that may be useful since you have a much better idea about how these paths work.
4. If you have a chance - Can you elaborate. I understand a PATH. What to you mean when you say PATH environmental variable.
I think of a variable in the computer programmer syntax sense.
5. I also cannot find a .profile file anywhere. See the below.... where I found something....
4. Searching like crazy for the load executable. I cannot find it yet. I thought that it might be with the other commands in /bin
below are some exploratory commands I am running and things I find of interest.
I use ls -la to display 'all' files. I use -la to list hidden files. those that start with a dotFileName.
/user/local/mysql/bin
there is NO load executable here.
I looked around for 'load'
macBookPro: /shortname$ ls
cd bin
ls -la
lots of commands: launchctl mkdir pwd echo .... i thought that 'load' should live here.
cd etc
ls -la
has:apache2 my.conf named.conf passwd paths php.ini sudoes nanorc
apache2 empty - title: new buffer
sudoers i have questions about this but not a priority now.
nanorc
php.ini
my.conf
name.conf
passwd
paths
sudo nano paths
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
I did not find the .profile file. what I have found is the below which references the .profile for sh(1)
I am unable to interpret the below file/code - well maybe a little.
cd etc
ls -la
sudo nano profile
# System-wide .profile for sh(1)
if [ -x /usr/libexec/path_helper ]; then
eval `/usr/libexec/path_helper -s`
fi
if [ "${BASH-no}" != "no" ]; then
[ -r /etc/bashrc ] && . /etc/bashrc
fi
Here is
/usr/sbin
sudo nano apachectl
the following is the code in apachectl
I see 'run launchctl load ....'
LAUNCHCTL="/bin/launchctl"
LAUNCHD_JOB="/System/Library/LaunchDaemons/org.apache.httpd.plist"
run_launchctl() {
if [ $UID != 0 ]; then
echo This operation requires root.
exit 1
fi
$LAUNCHCTL $@
# Set the maximum number of file descriptors allowed per child process.
if [ "x$ULIMIT_MAX_FILES" != "x" ] ; then
$ULIMIT_MAX_FILES
fi
ERROR=0
if [ "x$ARGV" = "x" ] ; then
ARGV="-h"
fi
case $ARGV in
start)
run_launchctl load -w $LAUNCHD_JOB
ERROR=$?
stop|graceful-stop)
run_launchctl unload -w $LAUNCHD_JOB
ERROR=$?
restart|graceful)
run_launchctl unload -w $LAUNCHD_JOB 2> /dev/null
run_launchctl load -w $LAUNCHD_JOB
ERROR=$?
startssl|sslstart|start-SSL)
echo The startssl option is no longer supported.
echo Please edit httpd.conf to include the SSL configuration settings
echo and then use "apachectl start".
ERROR=2
configtest)
$HTTPD -t
ERROR=$?
status|fullstatus)
echo Go to $STATUSURL in the web browser of your choice.
echo Note that mod_status must be enabled for this to work.
$HTTPD $ARGV
ERROR=$?
esac
exit $ERROR
Thanks again for helping me to understand these file structure.
There is no preview option so i hope this posts well. -
Installing MySQL on OS 10.8.2
List members,
I want to install a MySQL database server on my Intel Mac running OS 10.8.2. I've installed Xcode. I can see the DMG installer for MYSQL 5.6.12 in Xcode.
Unfortunately I can't progress further; the DMG installer won't open. I get an Apple error message say that non-App Store software can't be installed. Would appreciate any thoughts. Thank you in advance.
- Mark PavlickHave a look at Installing MySQL on Lion
-
Develop node.js on Lion, but not install mysql-libmysqlclient
I am developer, my apple is MacBook Pro MD313CH/A, system is Mac OS X Lion 10.7.3, Xcode 4.3.2, installed Command Line Tools, mysql is 5.5.21.
I installed Node.js on MacPorts, node -v 0.6.17, npm -v 1.1.21, I want to install mysql-libmysqlclient(https://github.com/Sannis/node-mysql-libmysqlclient) of node_modules, but I had problem on my machine, than other is success. link:https://github.com/Sannis/node-mysql-libmysqlclient/issues/107
this error:
localhost:nodejs yangzhaojie$ CXX=/usr/bin/g++ npm install mysql-libmysqlclient
npm http GET https://registry.npmjs.org/mysql-libmysqlclient
npm http 200 https://registry.npmjs.org/mysql-libmysqlclient
npm http GET https://registry.npmjs.org/mysql-libmysqlclient/-/mysql-libmysqlclient-1.3.2.tgz
npm http 200 https://registry.npmjs.org/mysql-libmysqlclient/-/mysql-libmysqlclient-1.3.2.tgz
> [email protected] install /Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient
> node-gyp rebuild
info it worked if it ends with ok
spawn python [ '/Users/yangzhaojie/.node-gyp/0.6.17/tools/gyp_addon',
'binding.gyp',
'-I/Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient/build/confi g.gypi',
'-f',
'make' ]
spawn make [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/mysql_bindings/src/mysql_bindings.o
llvm-g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
make: *** [Release/obj.target/mysql_bindings/src/mysql_bindings.o] Error 1
ERR! Error: `make` failed with exit code: 2
at ChildProcess.onExit (/opt/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:209:23)
at ChildProcess.emit (events.js:70:17)
at maybeExit (child_process.js:362:16)
at Process.onexit (child_process.js:398:5)
ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the mysql-libmysqlclient package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls mysql-libmysqlclient
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Darwin 11.3.0
npm ERR! command "node" "/opt/local/bin/npm" "install" "mysql-libmysqlclient"
npm ERR! cwd /Users/yangzhaojie/tech/nodejs
npm ERR! node -v v0.6.17
npm ERR! npm -v 1.1.21
npm ERR! code ELIFECYCLE
npm ERR! message [email protected] install: `node-gyp rebuild`
npm ERR! message `sh "-c" "node-gyp rebuild"` failed with 1
npm ERR! errno {}
npm ERR! Error: EACCES, open 'npm-debug.log'
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR!
npm ERR! System Darwin 11.3.0
npm ERR! command "node" "/opt/local/bin/npm" "install" "mysql-libmysqlclient"
npm ERR! cwd /Users/yangzhaojie/tech/nodejs
npm ERR! node -v v0.6.17
npm ERR! npm -v 1.1.21
npm ERR! path npm-debug.log
npm ERR! code EACCES
npm ERR! message EACCES, open 'npm-debug.log'
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/yangzhaojie/tech/nodejs/npm-debug.log
npm not ok
localhost:nodejs yangzhaojie$
debug install log:
info it worked if it ends with ok
verbose cli [ 'node',
verbose cli '/Users/yangzhaojie/app/node-0.6.16/bin/npm',
verbose cli 'i',
verbose cli 'mysql-libmysqlclient' ]
info using [email protected]
info using [email protected]
verbose config file /Users/yangzhaojie/.npmrc
verbose config file /Users/yangzhaojie/app/node-0.6.16/etc/npmrc
verbose config file /Users/yangzhaojie/app/node-0.6.16/lib/node_modules/npm/npmrc
verbose caching /Users/yangzhaojie/tech/nodejs/node_modules/connect/package.json
verbose caching /Users/yangzhaojie/tech/nodejs/node_modules/mysql/package.json
verbose caching /Users/yangzhaojie/tech/nodejs/node_modules/node-cluster/package.json
verbose caching /Users/yangzhaojie/tech/nodejs/node_modules/redis/package.json
verbose caching /Users/yangzhaojie/tech/nodejs/node_modules/socket.io/package.json
verbose cache add [ 'mysql-libmysqlclient', null ]
silly cache add: name, spec, args [ undefined,
silly cache add: name, spec, args 'mysql-libmysqlclient',
silly cache add: name, spec, args [ 'mysql-libmysqlclient', null ] ]
verbose parsed url { pathname: 'mysql-libmysqlclient',
verbose parsed url path: 'mysql-libmysqlclient',
verbose parsed url href: 'mysql-libmysqlclient' }
verbose addNamed [ 'mysql-libmysqlclient', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'mysql-libmysqlclient', '', false ]
verbose raw, before any munging mysql-libmysqlclient
verbose url resolving [ 'https://registry.npmjs.org/', './mysql-libmysqlclient' ]
verbose url resolved https://registry.npmjs.org/mysql-libmysqlclient
http GET https://registry.npmjs.org/mysql-libmysqlclient
http 200 https://registry.npmjs.org/mysql-libmysqlclient
silly get cb [ 200,
silly get cb { vary: 'Accept',
silly get cb server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
silly get cb etag: '"66I5Z2UT6UDC9OV8C1PCYIGKC"',
silly get cb date: 'Thu, 03 May 2012 15:21:42 GMT',
silly get cb 'content-type': 'application/json',
silly get cb 'content-length': '32455' } ]
silly name, range, hasData 2 [ 'mysql-libmysqlclient', '', true ]
silly versions [ 'mysql-libmysqlclient',
silly versions [ '0.0.10',
silly versions '0.0.7',
silly versions '0.0.8',
silly versions '0.0.9',
silly versions '1.0.0',
silly versions '1.0.1',
silly versions '1.0.2',
silly versions '1.0.3',
silly versions '1.1.0',
silly versions '1.1.1',
silly versions '1.2.1',
silly versions '1.2.2',
silly versions '1.2.3',
silly versions '1.2.4',
silly versions '1.2.7',
silly versions '1.2.8',
silly versions '1.2.9',
silly versions '1.2.10',
silly versions '1.3.0',
silly versions '1.3.1',
silly versions '1.3.2' ] ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.25-darwin-x64-11.3.0',
verbose bin dist { shasum: '8ae08483d5e37fcb5a37e6e459c7eda073ff486b',
verbose bin dist tarball: 'http://registry.npmjs.org/mysql-libmysqlclient/-/mysql-libmysqlclient-1.3.2.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/mysql-libmysqlclient/-/mysql-libmysqlclient-1.3.2.tgz',
verbose addRemoteTarball '8ae08483d5e37fcb5a37e6e459c7eda073ff486b' ]
verbose fetch to /tmp/npm-1336058506422/1336058506422-0.03823089087381959/tmp.tgz
http GET https://registry.npmjs.org/mysql-libmysqlclient/-/mysql-libmysqlclient-1.3.2.tgz
http 200 https://registry.npmjs.org/mysql-libmysqlclient/-/mysql-libmysqlclient-1.3.2.tgz
silly updated sha bytes 40960
silly updated sha bytes 37717
info shasum 8ae08483d5e37fcb5a37e6e459c7eda073ff486b
info shasum /tmp/npm-1336058506422/1336058506422-0.03823089087381959/tmp.tgz
verbose unpack /tmp/npm-1336058506422/1336058506422-0.03823089087381959/tmp.tgz
silly gunzTarPerm modes [ '755', '644' ]
silly extracting entry .idea/
silly extracting entry .idea/.name
silly extracting entry .idea/codeStyleSettings.xml
silly extracting entry .idea/encodings.xml
silly extracting entry .idea/misc.xml
silly extracting entry .idea/modules.xml
silly extracting entry .idea/node-mysql-libmysqlclient.iml
silly extracting entry .idea/projectCodeStyle.xml
silly extracting entry .idea/scopes/
silly extracting entry .idea/scopes/scope_settings.xml
silly extracting entry .idea/vcs.xml
silly extracting entry .idea/workspace.xml
silly extracting entry .npmignore
silly extracting entry .travis.yml
silly extracting entry AUTHORS
silly extracting entry binding.gyp
silly extracting entry build/
silly extracting entry build/.conf_check_0/
silly extracting entry build/.conf_check_0/testbuild/
silly extracting entry build/.conf_check_0/testbuild/.wafpickle-7
silly extracting entry build-stamp
silly extracting entry CHANGELOG.markdown
silly extracting entry conf-stamp
silly extracting entry devdependencies-stamp
silly extracting entry DEVELOPMENT.markdown
silly extracting entry doc/
silly extracting entry doc/api.html
silly extracting entry doc/changelog.html
silly extracting entry doc/example_http.js
silly extracting entry doc/examples/
silly extracting entry doc/examples/url_shortener/
silly extracting entry doc/examples/url_shortener/index.html
silly extracting entry doc/examples/url_shortener/index.js
silly extracting entry doc/examples.html
silly extracting entry doc/examples.js
silly extracting entry doc/index.html
silly extracting entry gh_pages.sh
silly extracting entry LICENSE
silly extracting entry Makefile
silly extracting entry mysql-libmysqlclient-bindings.js
silly extracting entry mysql-libmysqlclient.js
silly extracting entry nodelint.conf
silly extracting entry package.json
silly extracting entry README.markdown
silly extracting entry src/
silly extracting entry src/mysql_bindings.cc
silly extracting entry src/mysql_bindings.h
silly extracting entry src/mysql_bindings_connection.cc
silly extracting entry src/mysql_bindings_connection.h
silly extracting entry src/mysql_bindings_result.cc
silly extracting entry src/mysql_bindings_result.h
silly extracting entry src/mysql_bindings_statement.cc
silly extracting entry src/mysql_bindings_statement.h
silly extracting entry src/node_async_shim.h
silly extracting entry tests/
silly extracting entry tests/complex/
silly extracting entry tests/complex/setup-complex.js
silly extracting entry tests/complex/test-binary-buffers.js
silly extracting entry tests/complex/test-call-stored-procedure.js
silly extracting entry tests/complex/test-datatypes-cast.js
silly extracting entry tests/complex/test-fetchAll-options.js
silly extracting entry tests/config.js
silly extracting entry tests/high-level/
silly extracting entry tests/high-level/test-javascript-interface.js
silly extracting entry tests/ignored/
silly extracting entry tests/ignored/place_ignored_tests.here
silly extracting entry tests/issues/
silly extracting entry tests/issues/test-issue-102.js
silly extracting entry tests/issues/test-issue-106.js
silly extracting entry tests/issues/test-issue-110.js
silly extracting entry tests/issues/test-issue-83.js
silly extracting entry tests/low-level-async/
silly extracting entry tests/low-level-async/setup-low-level-async.js
silly extracting entry tests/low-level-async/test-class-mysqlconnection-async.js
silly extracting entry tests/low-level-async/test-class-mysqlresult-async.js
silly extracting entry tests/low-level-sync/
silly extracting entry tests/low-level-sync/setup-low-level-sync.js
silly extracting entry tests/low-level-sync/test-class-mysqlconnection-sync.js
silly extracting entry tests/low-level-sync/test-class-mysqlresult-sync.js
silly extracting entry tests/low-level-sync/test-class-mysqlstatement.-syncjs
silly extracting entry tests/low-level-sync/test-connect-different-args.js
silly extracting entry tests/slow/
silly extracting entry tests/slow/test-connect.js
silly extracting entry tests/slow/test-fetchAll.js
silly extracting entry tests/slow/test-query.js
silly extracting entry tests/slow/test-querySend.js
silly extracting entry tools/
silly extracting entry tools/run-check-tests.js
silly extracting entry tools/run-debug.js
silly extracting entry tools/run-memoryleaks-finder.js
silly extracting entry waf-stamp
silly extracting entry wscript
verbose has bindings.gyp [ undefined,
verbose has bindings.gyp { file: '/tmp/npm-1336058506422/1336058506422-0.03823089087381959/package/package.json' ,
verbose has bindings.gyp gypfile: true,
verbose has bindings.gyp serverjs: false,
verbose has bindings.gyp wscript: true,
verbose has bindings.gyp contributors:
verbose has bindings.gyp [ 'Oleg Efimov <[email protected]> (http://sannis.ru)',
verbose has bindings.gyp 'Surendra Singhi <[email protected]> (http://ssinghi.kreeti.com)',
verbose has bindings.gyp 'Akzhan Abdulin <[email protected]>',
verbose has bindings.gyp 'Pavel Ponomarenko <[email protected]>',
verbose has bindings.gyp 'Robin Duckett <[email protected]>',
verbose has bindings.gyp 'Roman Shtylman <[email protected]>',
verbose has bindings.gyp 'Dan Beam <[email protected]> (http://danbeam.org)',
verbose has bindings.gyp 'Maurits Lamers <[email protected]>',
verbose has bindings.gyp 'Benjmain Reesman <[email protected]>',
verbose has bindings.gyp 'Krists Krīgers <[email protected]>',
verbose has bindings.gyp 'Sergey Novgorodsky <[email protected]>',
verbose has bindings.gyp 'Ștefan Rusu <[email protected]>',
verbose has bindings.gyp 'Zhiqiang Zhao <[email protected]>',
verbose has bindings.gyp 'Zhao Cheng <[email protected]>',
verbose has bindings.gyp 'Zhao Lei <[email protected]>' ] } ]
verbose has wscript [ undefined,
verbose has wscript { file: '/tmp/npm-1336058506422/1336058506422-0.03823089087381959/package/package.json' ,
verbose has wscript gypfile: true,
verbose has wscript serverjs: false,
verbose has wscript wscript: true,
verbose has wscript contributors:
verbose has wscript [ 'Oleg Efimov <[email protected]> (http://sannis.ru)',
verbose has wscript 'Surendra Singhi <[email protected]> (http://ssinghi.kreeti.com)',
verbose has wscript 'Akzhan Abdulin <[email protected]>',
verbose has wscript 'Pavel Ponomarenko <[email protected]>',
verbose has wscript 'Robin Duckett <[email protected]>',
verbose has wscript 'Roman Shtylman <[email protected]>',
verbose has wscript 'Dan Beam <[email protected]> (http://danbeam.org)',
verbose has wscript 'Maurits Lamers <[email protected]>',
verbose has wscript 'Benjmain Reesman <[email protected]>',
verbose has wscript 'Krists Krīgers <[email protected]>',
verbose has wscript 'Sergey Novgorodsky <[email protected]>',
verbose has wscript 'Ștefan Rusu <[email protected]>',
verbose has wscript 'Zhiqiang Zhao <[email protected]>',
verbose has wscript 'Zhao Cheng <[email protected]>',
verbose has wscript 'Zhao Lei <[email protected]>' ] } ]
verbose caching /tmp/npm-1336058506422/1336058506422-0.03823089087381959/package/package.json
verbose loadDefaults [email protected]
verbose from cache /tmp/npm-1336058506422/1336058506422-0.03823089087381959/package/package.json
verbose tar.pack [ '/Users/yangzhaojie/.npm/mysql-libmysqlclient/1.3.2/package.tgz',
verbose tar.pack '/tmp/npm-1336058506422/1336058506422-0.03823089087381959/package' ]
verbose tarball /Users/yangzhaojie/.npm/mysql-libmysqlclient/1.3.2/package.tgz
verbose folder /tmp/npm-1336058506422/1336058506422-0.03823089087381959/package
verbose unpack /Users/yangzhaojie/.npm/mysql-libmysqlclient/1.3.2/package.tgz
silly gunzTarPerm modes [ '755', '644' ]
silly extracting entry package.json
silly extracting entry .npmignore
silly extracting entry LICENSE
silly extracting entry mysql-libmysqlclient-bindings.js
silly extracting entry mysql-libmysqlclient.js
silly extracting entry build-stamp
silly extracting entry CHANGELOG.markdown
silly extracting entry conf-stamp
silly extracting entry devdependencies-stamp
silly extracting entry DEVELOPMENT.markdown
silly extracting entry doc/example_http.js
silly extracting entry doc/examples.js
silly extracting entry doc/api.html
silly extracting entry doc/changelog.html
silly extracting entry doc/examples/url_shortener/index.js
silly extracting entry doc/examples/url_shortener/index.html
silly extracting entry doc/examples.html
silly extracting entry doc/index.html
silly extracting entry gh_pages.sh
silly extracting entry .idea/.name
silly extracting entry .idea/codeStyleSettings.xml
silly extracting entry .idea/encodings.xml
silly extracting entry .idea/misc.xml
silly extracting entry .idea/modules.xml
silly extracting entry .idea/node-mysql-libmysqlclient.iml
silly extracting entry .idea/projectCodeStyle.xml
silly extracting entry .idea/scopes/scope_settings.xml
silly extracting entry .idea/vcs.xml
silly extracting entry .idea/workspace.xml
silly extracting entry Makefile
silly extracting entry .travis.yml
silly extracting entry AUTHORS
silly extracting entry nodelint.conf
silly extracting entry binding.gyp
silly extracting entry README.markdown
silly extracting entry src/mysql_bindings.cc
silly extracting entry src/mysql_bindings.h
silly extracting entry src/mysql_bindings_connection.cc
silly extracting entry src/mysql_bindings_connection.h
silly extracting entry src/mysql_bindings_result.cc
silly extracting entry src/mysql_bindings_result.h
silly extracting entry src/mysql_bindings_statement.cc
silly extracting entry src/mysql_bindings_statement.h
silly extracting entry src/node_async_shim.h
silly extracting entry tests/config.js
silly extracting entry tests/complex/setup-complex.js
silly extracting entry tests/complex/test-binary-buffers.js
silly extracting entry tests/complex/test-call-stored-procedure.js
silly extracting entry tests/complex/test-datatypes-cast.js
silly extracting entry tests/complex/test-fetchAll-options.js
silly extracting entry tests/high-level/test-javascript-interface.js
silly extracting entry tests/ignored/place_ignored_tests.here
silly extracting entry tests/issues/test-issue-102.js
silly extracting entry tests/issues/test-issue-106.js
silly extracting entry tests/issues/test-issue-110.js
silly extracting entry tests/issues/test-issue-83.js
silly extracting entry tests/low-level-async/setup-low-level-async.js
silly extracting entry tests/low-level-async/test-class-mysqlconnection-async.js
silly extracting entry tests/low-level-async/test-class-mysqlresult-async.js
silly extracting entry tests/low-level-sync/setup-low-level-sync.js
silly extracting entry tests/low-level-sync/test-class-mysqlconnection-sync.js
silly extracting entry tests/low-level-sync/test-class-mysqlresult-sync.js
silly extracting entry tests/low-level-sync/test-connect-different-args.js
silly extracting entry tests/low-level-sync/test-class-mysqlstatement.-syncjs
silly extracting entry tests/slow/test-connect.js
silly extracting entry tests/slow/test-fetchAll.js
silly extracting entry tests/slow/test-query.js
silly extracting entry tests/slow/test-querySend.js
silly extracting entry tools/run-check-tests.js
silly extracting entry tools/run-debug.js
silly extracting entry tools/run-memoryleaks-finder.js
silly extracting entry waf-stamp
silly extracting entry wscript
verbose has bindings.gyp [ undefined,
verbose has bindings.gyp { file: '/Users/yangzhaojie/.npm/mysql-libmysqlclient/1.3.2/package/package.json',
verbose has bindings.gyp gypfile: true,
verbose has bindings.gyp serverjs: false,
verbose has bindings.gyp contributors:
verbose has bindings.gyp [ 'Oleg Efimov <[email protected]> (http://sannis.ru)',
verbose has bindings.gyp 'Surendra Singhi <[email protected]> (http://ssinghi.kreeti.com)',
verbose has bindings.gyp 'Akzhan Abdulin <[email protected]>',
verbose has bindings.gyp 'Pavel Ponomarenko <[email protected]>',
verbose has bindings.gyp 'Robin Duckett <[email protected]>',
verbose has bindings.gyp 'Roman Shtylman <[email protected]>',
verbose has bindings.gyp 'Dan Beam <[email protected]> (http://danbeam.org)',
verbose has bindings.gyp 'Maurits Lamers <[email protected]>',
verbose has bindings.gyp 'Benjmain Reesman <[email protected]>',
verbose has bindings.gyp 'Krists Krīgers <[email protected]>',
verbose has bindings.gyp 'Sergey Novgorodsky <[email protected]>',
verbose has bindings.gyp 'Ștefan Rusu <[email protected]>',
verbose has bindings.gyp 'Zhiqiang Zhao <[email protected]>',
verbose has bindings.gyp 'Zhao Cheng <[email protected]>',
verbose has bindings.gyp 'Zhao Lei <[email protected]>' ],
verbose has bindings.gyp wscript: true } ]
verbose has wscript [ undefined,
verbose has wscript { file: '/Users/yangzhaojie/.npm/mysql-libmysqlclient/1.3.2/package/package.json',
verbose has wscript gypfile: true,
verbose has wscript serverjs: false,
verbose has wscript contributors:
verbose has wscript [ 'Oleg Efimov <[email protected]> (http://sannis.ru)',
verbose has wscript 'Surendra Singhi <[email protected]> (http://ssinghi.kreeti.com)',
verbose has wscript 'Akzhan Abdulin <[email protected]>',
verbose has wscript 'Pavel Ponomarenko <[email protected]>',
verbose has wscript 'Robin Duckett <[email protected]>',
verbose has wscript 'Roman Shtylman <[email protected]>',
verbose has wscript 'Dan Beam <[email protected]> (http://danbeam.org)',
verbose has wscript 'Maurits Lamers <[email protected]>',
verbose has wscript 'Benjmain Reesman <[email protected]>',
verbose has wscript 'Krists Krīgers <[email protected]>',
verbose has wscript 'Sergey Novgorodsky <[email protected]>',
verbose has wscript 'Ștefan Rusu <[email protected]>',
verbose has wscript 'Zhiqiang Zhao <[email protected]>',
verbose has wscript 'Zhao Cheng <[email protected]>',
verbose has wscript 'Zhao Lei <[email protected]>' ],
verbose has wscript wscript: true } ]
verbose caching /Users/yangzhaojie/.npm/mysql-libmysqlclient/1.3.2/package/package.json
verbose loadDefaults [email protected]
silly updated sha bytes 40960
silly updated sha bytes 37533
info shasum 2e0901d4c28613050078931d2930b7f98a9353d0
info shasum /Users/yangzhaojie/.npm/mysql-libmysqlclient/1.3.2/package.tgz
verbose from cache /Users/yangzhaojie/.npm/mysql-libmysqlclient/1.3.2/package/package.json
verbose chmod /Users/yangzhaojie/.npm/mysql-libmysqlclient/1.3.2/package.tgz 644
verbose chown [ '/Users/yangzhaojie/.npm/mysql-libmysqlclient/1.3.2/package.tgz',
verbose chown 501,
verbose chown 20 ]
silly resolved [ { name: 'mysql-libmysqlclient',
silly resolved description: 'Binary MySQL bindings for Node.JS',
silly resolved keywords: [ 'mysql', 'libmysqlclient', 'sql', 'database', 'addon' ],
silly resolved homepage: 'http://sannis.github.com/node-mysql-libmysqlclient',
silly resolved version: '1.3.2',
silly resolved author: { name: 'Oleg Efimov', email: '[email protected]' },
silly resolved contributors:
silly resolved [ { name: 'Oleg Efimov',
silly resolved email: '[email protected]',
silly resolved url: 'http://sannis.ru' },
silly resolved { name: 'Surendra Singhi',
silly resolved email: '[email protected]',
silly resolved url: 'http://ssinghi.kreeti.com' },
silly resolved { name: 'Akzhan Abdulin', email: '[email protected]' },
silly resolved { name: 'Pavel Ponomarenko', email: '[email protected]' },
silly resolved { name: 'Robin Duckett', email: '[email protected]' },
silly resolved { name: 'Roman Shtylman', email: '[email protected]' },
silly resolved { name: 'Dan Beam',
silly resolved email: '[email protected]',
silly resolved url: 'http://danbeam.org' },
silly resolved { name: 'Maurits Lamers', email: '[email protected]' },
silly resolved { name: 'Benjmain Reesman', email: '[email protected]' },
silly resolved { name: 'Krists Krīgers', email: '[email protected]' },
silly resolved { name: 'Sergey Novgorodsky',
silly resolved email: '[email protected]' },
silly resolved { name: 'Ștefan Rusu', email: '[email protected]' },
silly resolved { name: 'Zhiqiang Zhao', email: '[email protected]' },
silly resolved { name: 'Zhao Cheng', email: '[email protected]' },
silly resolved { name: 'Zhao Lei', email: '[email protected]' } ],
silly resolved bugs: { url: 'http://github.com/Sannis/node-mysql-libmysqlclient/issues' },
silly resolved licenses: [ { type: 'MIT' } ],
silly resolved repository:
silly resolved { type: 'git',
silly resolved url: 'git://github.com/Sannis/node-mysql-libmysqlclient.git' },
silly resolved main: './mysql-libmysqlclient',
silly resolved scripts:
silly resolved { test: 'make test',
silly resolved doc: 'make doc',
silly resolved install: 'node-gyp rebuild' },
silly resolved engines: { node: '0.4.x || 0.5.x || 0.6.x || 0.7.x || 0.8.x' },
silly resolved devDependencies: { nodeunit: '>= 0.7', nodelint: '>= 0.6' },
silly resolved _id: '[email protected]',
silly resolved dependencies: {},
silly resolved optionalDependencies: {},
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.20',
silly resolved _nodeVersion: 'v0.6.16',
silly resolved _defaultsLoaded: true,
silly resolved dist: { shasum: '2e0901d4c28613050078931d2930b7f98a9353d0' },
silly resolved _from: 'mysql-libmysqlclient' } ]
info into /Users/yangzhaojie/tech/nodejs [email protected]
info installOne [email protected]
verbose from cache /Users/yangzhaojie/.npm/mysql-libmysqlclient/1.3.2/package/package.json
info unbuild /Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient
verbose unpack /Users/yangzhaojie/.npm/mysql-libmysqlclient/1.3.2/package.tgz
silly gunzTarPerm modes [ '755', '644' ]
silly extracting entry package.json
silly extracting entry .npmignore
silly extracting entry LICENSE
silly extracting entry mysql-libmysqlclient-bindings.js
silly extracting entry mysql-libmysqlclient.js
silly extracting entry build-stamp
silly extracting entry CHANGELOG.markdown
silly extracting entry conf-stamp
silly extracting entry devdependencies-stamp
silly extracting entry DEVELOPMENT.markdown
silly extracting entry doc/example_http.js
silly extracting entry doc/examples.js
silly extracting entry doc/api.html
silly extracting entry doc/changelog.html
silly extracting entry doc/examples/url_shortener/index.js
silly extracting entry doc/examples/url_shortener/index.html
silly extracting entry doc/examples.html
silly extracting entry doc/index.html
silly extracting entry gh_pages.sh
silly extracting entry .idea/.name
silly extracting entry .idea/codeStyleSettings.xml
silly extracting entry .idea/encodings.xml
silly extracting entry .idea/misc.xml
silly extracting entry .idea/modules.xml
silly extracting entry .idea/node-mysql-libmysqlclient.iml
silly extracting entry .idea/projectCodeStyle.xml
silly extracting entry .idea/scopes/scope_settings.xml
silly extracting entry .idea/vcs.xml
silly extracting entry .idea/workspace.xml
silly extracting entry Makefile
silly extracting entry .travis.yml
silly extracting entry AUTHORS
silly extracting entry nodelint.conf
silly extracting entry binding.gyp
silly extracting entry README.markdown
silly extracting entry src/mysql_bindings.cc
silly extracting entry src/mysql_bindings.h
silly extracting entry src/mysql_bindings_connection.cc
silly extracting entry src/mysql_bindings_connection.h
silly extracting entry src/mysql_bindings_result.cc
silly extracting entry src/mysql_bindings_result.h
silly extracting entry src/mysql_bindings_statement.cc
silly extracting entry src/mysql_bindings_statement.h
silly extracting entry src/node_async_shim.h
silly extracting entry tests/config.js
silly extracting entry tests/complex/setup-complex.js
silly extracting entry tests/complex/test-binary-buffers.js
silly extracting entry tests/complex/test-call-stored-procedure.js
silly extracting entry tests/complex/test-datatypes-cast.js
silly extracting entry tests/complex/test-fetchAll-options.js
silly extracting entry tests/high-level/test-javascript-interface.js
silly extracting entry tests/ignored/place_ignored_tests.here
silly extracting entry tests/issues/test-issue-102.js
silly extracting entry tests/issues/test-issue-106.js
silly extracting entry tests/issues/test-issue-110.js
silly extracting entry tests/issues/test-issue-83.js
silly extracting entry tests/low-level-async/setup-low-level-async.js
silly extracting entry tests/low-level-async/test-class-mysqlconnection-async.js
silly extracting entry tests/low-level-async/test-class-mysqlresult-async.js
silly extracting entry tests/low-level-sync/setup-low-level-sync.js
silly extracting entry tests/low-level-sync/test-class-mysqlconnection-sync.js
silly extracting entry tests/low-level-sync/test-class-mysqlresult-sync.js
silly extracting entry tests/low-level-sync/test-connect-different-args.js
silly extracting entry tests/low-level-sync/test-class-mysqlstatement.-syncjs
silly extracting entry tests/slow/test-connect.js
silly extracting entry tests/slow/test-fetchAll.js
silly extracting entry tests/slow/test-query.js
silly extracting entry tests/slow/test-querySend.js
silly extracting entry tools/run-check-tests.js
silly extracting entry tools/run-debug.js
silly extracting entry tools/run-memoryleaks-finder.js
silly extracting entry waf-stamp
silly extracting entry wscript
verbose has bindings.gyp [ undefined,
verbose has bindings.gyp { file: '/Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient/package.json' ,
verbose has bindings.gyp gypfile: true,
verbose has bindings.gyp serverjs: false,
verbose has bindings.gyp wscript: true,
verbose has bindings.gyp contributors:
verbose has bindings.gyp [ 'Oleg Efimov <[email protected]> (http://sannis.ru)',
verbose has bindings.gyp 'Surendra Singhi <[email protected]> (http://ssinghi.kreeti.com)',
verbose has bindings.gyp 'Akzhan Abdulin <[email protected]>',
verbose has bindings.gyp 'Pavel Ponomarenko <[email protected]>',
verbose has bindings.gyp 'Robin Duckett <[email protected]>',
verbose has bindings.gyp 'Roman Shtylman <[email protected]>',
verbose has bindings.gyp 'Dan Beam <[email protected]> (http://danbeam.org)',
verbose has bindings.gyp 'Maurits Lamers <[email protected]>',
verbose has bindings.gyp 'Benjmain Reesman <[email protected]>',
verbose has bindings.gyp 'Krists Krīgers <[email protected]>',
verbose has bindings.gyp 'Sergey Novgorodsky <[email protected]>',
verbose has bindings.gyp 'Ștefan Rusu <[email protected]>',
verbose has bindings.gyp 'Zhiqiang Zhao <[email protected]>',
verbose has bindings.gyp 'Zhao Cheng <[email protected]>',
verbose has bindings.gyp 'Zhao Lei <[email protected]>' ] } ]
verbose has wscript [ undefined,
verbose has wscript { file: '/Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient/package.json' ,
verbose has wscript gypfile: true,
verbose has wscript serverjs: false,
verbose has wscript wscript: true,
verbose has wscript contributors:
verbose has wscript [ 'Oleg Efimov <[email protected]> (http://sannis.ru)',
verbose has wscript 'Surendra Singhi <[email protected]> (http://ssinghi.kreeti.com)',
verbose has wscript 'Akzhan Abdulin <[email protected]>',
verbose has wscript 'Pavel Ponomarenko <[email protected]>',
verbose has wscript 'Robin Duckett <[email protected]>',
verbose has wscript 'Roman Shtylman <[email protected]>',
verbose has wscript 'Dan Beam <[email protected]> (http://danbeam.org)',
verbose has wscript 'Maurits Lamers <[email protected]>',
verbose has wscript 'Benjmain Reesman <[email protected]>',
verbose has wscript 'Krists Krīgers <[email protected]>',
verbose has wscript 'Sergey Novgorodsky <[email protected]>',
verbose has wscript 'Ștefan Rusu <[email protected]>',
verbose has wscript 'Zhiqiang Zhao <[email protected]>',
verbose has wscript 'Zhao Cheng <[email protected]>',
verbose has wscript 'Zhao Lei <[email protected]>' ] } ]
verbose caching /Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient/package.json
verbose loadDefaults [email protected]
info preinstall [email protected]
verbose from cache /Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient/package.json
verbose readDependencies: using package.json deps
verbose from cache /Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient/package.json
verbose readDependencies: using package.json deps
silly resolved []
verbose about to build /Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient
info build /Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient
verbose from cache /Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient/package.json
verbose linkStuff [ false,
verbose linkStuff false,
verbose linkStuff false,
verbose linkStuff '/Users/yangzhaojie/tech/nodejs/node_modules' ]
info linkStuff [email protected]
verbose linkBins [email protected]
verbose linkMans [email protected]
verbose rebuildBundles [email protected]
info install [email protected]
verbose unsafe-perm in lifecycle false
verbose Setting uid from 0 501
verbose stack at uid setting Error
verbose stack at uid setting at exec (/Users/yangzhaojie/app/node-0.6.16/lib/node_modules/npm/lib/utils/exec.js:36:1 7)
verbose stack at uid setting at Array.0 (/Users/yangzhaojie/app/node-0.6.16/lib/node_modules/npm/lib/utils/lifecycle.js :146:5)
verbose stack at uid setting at EventEmitter._tickCallback (node.js:192:40)
silly exec sh "-c" "node-gyp rebuild"
silly spawning [ 'sh',
silly spawning [ '-c', 'node-gyp rebuild' ],
silly spawning '/Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient' ]
info [email protected] Failed to exec install script
info unbuild /Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient
verbose from cache /Users/yangzhaojie/tech/nodejs/node_modules/mysql-libmysqlclient/package.json
info preuninstall [email protected]
info uninstall [email protected]
verbose unbuild [email protected] [ true,
verbose unbuild [email protected] '/Users/yangzhaojie/tech/nodejs/node_modules',
verbose unbuild [email protected] '/Users/yangzhaojie/tech/nodejs/node_modules' ]
info postuninstall [email protected]
ERR! [email protected] install: `node-gyp rebuild`
ERR! `sh "-c" "node-gyp rebuild"` failed with 1
ERR!
ERR! Failed at the [email protected] install script.
ERR! This is most likely a problem with the mysql-libmysqlclient package,
ERR! not with npm itself.
ERR! Tell the author that this fails on your system:
ERR! node-gyp rebuild
ERR! You can get their info via:
ERR! npm owner ls mysql-libmysqlclient
ERR! There is likely additional logging output above.
ERR!
ERR! System Darwin 11.3.0
ERR! command "node" "/Users/yangzhaojie/app/node-0.6.16/bin/npm" "i" "mysql-libmysqlclient"
ERR! cwd /Users/yangzhaojie/tech/nodejs
ERR! node -v v0.6.16
ERR! npm -v 1.1.20
ERR! code ELIFECYCLE
ERR! message [email protected] install: `node-gyp rebuild`
ERR! message `sh "-c" "node-gyp rebuild"` failed with 1
ERR! errno {}
verbose exit [ 1, true ]Hi Simon,
Thanks for posting!
Firstly, I suggest you could try how to connect to local MySQL database from Azure. Similar issue
https://getsatisfaction.com/cleardb/topics/windows_azure_websites_connetion_to_mysql_database for your reference.
Secondly, What's your local machine? Is it a server or just a PC? If it is a PC for you dev, I guess it could not be accessed from internet. You need use the server and open the 3306 port.
>> “tried to link the resource but the option to link an existing mysql database is greyed out.”
Base on my experience, when we create website on azure portal, azure will create a free database which is 20 M. If you want to use MySQL on azure, you may need use Clear DB. It is used to connect to a MySQL database that created in Azure (http://azure.microsoft.com/en-us/documentation/articles/store-php-create-mysql-database/)
Regards,
Will
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How do i install mysql on windows server 2012 r2 using powershell(automate)??
i have a requirement of installing the mysql server with one click deployment using power shell by passing the parameters needed into the mysql console. can i achieve that ?
can anyone help me in doing that?
thanks in advance.
Suresh GaddamHi Suresh,
This forum is for SCOM related questions, it seems like that you are asking for powershell script to install Mysql. From my point of view, I don't think that using powershell to install Mysql is an easy way, as it is hard to say whether Powershell can get
information from Mysql install console with some API.
In addition, for further assistance, please contact MySQL forum and Powershell forum.
Thanks for your understanding!
Regards,
Yan Li
Regards, Yan Li -
how do i install mySQL on my macbook air.please i need urgent assistance,as it would help me do my course work.
regarde garabella.Call AppleCare and ask them to send you a replacement set. They will charge you a nominal fee for shipping and handling.
Allan
Maybe you are looking for
-
identifier expected with ArrayList in JDK5RC
Just started with J2SE1.5 but still am unable to compile. Already fixed the generics. Error is <identifier> expected. See code. Who can help me with this? I am stuck :-( import java.util.List; import java.util.Vector; import java.awt.Dimension; impor
-
I cannot get the plain "Album" sort option in iTunes. It changed itself to "album by year" and is sorting most all of my albums out of order and really messing with compilations. I have tried changing the field through the view menu and by clicking o
-
We are migrating an exsiting application from WLS 6.1 to WLS 7.0 SP1. Performance degraded significantly with only this change. Is there anything obvious or identified as to why when all other things remain constant that this Upgrade would cause such
-
Performance diference for Images
Hi all, I have a question about Images. I'm working in an applet that uses jpg images that I add as ImageIcons to some panels. I do some transformations on the original Image objects, such as cropping and scaling. My problem is that it is extremely s
-
Generating Tax Invoice Number for deferred taxes (Thailand)
Hi all, I'm implementing deferred taxes for Thailand, and am attempting to generate an internal tax invoice number for vendors during the running of the program "Transfer Deferred Taxes". I've set up the number ranges & intervals, number groups, crea