Uninstalling MySQL

Does anyone know how to uninstall MySQL 5? I want to install another version and don't know if all the files will be automatically replaced when the new version is installed or if I need to do something beforehand.
Thanks,
Joey

Hi,
Delete the "/usr/local/mysql-standard-5.0.xx-osx10.4-powerpc" folder (don't delete the alias!)
Delete also all files with a name starting by "mysql" in the /Library/Receipts/ folder

Similar Messages

  • Uninstalling MYSQL 5.1.12

    This is by far the dumbest thing I have ever done on my Mac. Thinking it was just some database software, I installed MYSQL 5.1.12 on my Tiger OS, all 3 installs, the main program, the startup item + the preference pane (which shows the error "could not load mysql"). I can't seem to locate this program anywhere in Applications, or anywhere else except that the 2 install packages are in the Receipts folder, the preference pane, from which I am supposed to start the server, in System Preferences. I have written to the development site for mysql for help on how to COMPLETELY remove this program, expect to hear from them, just thought you guys might have the easy fix to get this program off my Mac. Remember I am a fairly new Mac user, so please make your reply easy to follow. Thanks,Ken.

    The replies from both mysql tech support + their forums has been non-existent after 3 days. However, someone in the forum put up the following:
    Uninstalling MySQL - (Mac - OS)
    From a terminal do the following:
    1. sudo rm /usr/local/mysql
    2. sudo rm -rf /usr/local/mysql*
    3. sudo rm -rf /Library/StartupItems/MySQLCOM
    4. sudo rm -rf /Library/PreformancPanes/My*
    5. (Edit /etc/hostconfig) sudo vi /etc/hostconfig (Remove line MYSQLCOM=-YES)
    6. sudo rm -rf /Library/Reciepts/mysql*
    7. sudo rm -rf /Library/Reciepts/MySQL*
    I think it was successful because I see no trace of mysql on my Tiger OS. When offering this software, mysql ought to warn people that this is a very speciality software for users with experience so people like me will not have these hassles.

  • I have downloaded MAMP for Mac and want to use it for working with Wordpress. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!

    I have downloaded MAMP for Mac and want to use it for working with Wordpress. I'm on an Imac with Maverick OS 10.9. I had mysql installed before this and would like to uninstall it and use MAMP. It was easy to turn off Apache and PHP but don't know how to uninstall mysql. Please help!!

    It depends on how you installed it. You have to shutdown the MySQL service first. If you used the standard, but obsolete Startup Item, you can do that with the Startup Item. If you created a launchd script, you can do it with launchctl. Once MySQL is no longer running, you can delete the Startup Item or launchd script and the rest of MySQL.

  • Question about uninstalling MySQL

    So, I've got MySQL 4.1 installed on a server running OS X Tiger Server edition. I upgraded this server from OS X 10.3 Server edition.
    MySQL 4.1 is installed in /usr, apparently. I recently upgraded to MySQL 5.0.45 to support a particular application we use and I'm wanting to find out how to uninstall the MySQL installation that is in /usr. MySQL 5.0.45 installed itself in /usr/local/mysql-5.0.45 leaving the installation in /usr alone.
    When I boot the machine, MySQL 5.0.45 starts which is exactly what we want.
    Any ideas?
    Thanks!
    Peace...

    My question is, will I lose any of my music by doing this, or my album artwork, etc?
    No. Uninstalling and reinstalling iTunes doesn't affect the iTunes library.
    (25777)

  • How to uninstall MySQL 5?

    I have absolutely no idea of how to install MySQL 5!
    I've looked around all over but all I see are some few suggestions that I should just simply delete the folder user/local/mysql - which I can't find!
    Can someone please help me here?

    You will need to do this using the Terminal application in your Utilities folder. Open the Terminal and at the prompt enter the following lines pressing Return at the end of each.
    prompt >cd /usr/local
    prompt >ls -l
    Verify there is a folder named "mysql". If so,
    prompt >rm -rf mysql
    If you get an error that you do not have sufficient privileges then enter,
    prompt >sudo rm -rf mysql
    You will be prompted for your admin password which will not be echoed.
    prompt >ls -l
    Verify the folder has been deleted. If so you're done. Quit the Terminal.
    Now, from the Finder navigate to the /Library/StartupItems/ folder and check for a startupitem for mysql. If you find one delete it.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • Uninstall MySQL on Intel iMac?

    Hi there,
    I have an iMac G5 Intel Core 2 Duo, OS X 10.4.8. Somewhere I read that you could host your own blog on OS X and wound up "installing" MySQL 5.0.45 and the thing that said Startup Pkg. Also "turned on" MySQL in my System Preferences. Now I think I've completely messed up and would like to get rid of this MySQL but there aren't any files to delete. I read around the forum and apparently I'm supposed to do this all on Terminal? I don't really know anything about that but I tried some of the suggestions. Is there any other way? I also did a Spotlight search for MySQL and nothing comes up but I do think it's installed because it shows up on my Preferences and I lost hard drive space. (Though now on the Preferences, it's sort of messed up. It says MYSQl is running but the Start and Stop function doesn't work.) Don't know if this was a bad move but I also manually deleted the stuff in the Startup folder. It didn't look like there was much in there anyway.
    I really have no idea what I just did. From what I've read a lot of people have trouble getting rid of this. Am I stuck with it? Will this MySQL cause me any problems with my other applications, use up memory, etc.?
    Thanks in advance!

    Did you find an answer to this? I stupidly installed the power pc version of MySQL on my intel iMac and want to completely remove it before I install the correct version. I can't seem to find a "proper" way to clean it all out.

  • How do i uninstall mysql?

    Hello,
    I'm entirely new at terminal and mysql, so naturally I think i completely screwed up my installation of mysql. I'm trying to set up a testing server for php through dreamweaver.
    I followed the instructions (very inaccurately, apparently) at:
    http://www.macromedia.com/devnet/dreamweaver/articles/php_macintosh.html
    I didn't think that 'new-password' meant 'set your password here, chumpy' so... i've got 'new-password' as my password. not desireable.
    i tried to run the command:
    /usr/bin/rm -rf /usr/local/mysql/
    only to be told that the directory "/usr/bin/rm" doesn't exist. I merely want to remove mysql from my machine entirely (including the prefernces panel).
    any help or re-direction would be greatly appreciated.
    thanks,
    brandon
    p.s. if you give instructions, treat me like i'm horribly ignorant

    Hi, Brandon —
    Your question is outside my personal experience — so the best I can do is point you toward more recent links than the ones for a Mac OS X 10.2.x Jaguar configuration that you apparently followed.
    From a ~quick search and review, it looks to me that Marc Liyange’s entropy.ch website is a very good resource. Consider checking it out — if for no other reason than to increase your familiarity with what you're doing. There are a number of posts in the site's MySQL on Mac OS X forum that may be helpful. Here are a couple of recent threads that may help: (A) and (B).
    Looks pretty straightforward — but I understand and empathize with your wanting close guidance on this. Sorry — this is the best I can offer. Hopefully another participant will post in to confirm or supplement this.
    I'm not sure whether I understood your password comment... If it's a Mac OS X 10.4.x account password, see KnowledgeBase Article 106156: Mac OS X: Changing or resetting an account password. If not, sorry for misunderstanding.. and never mind!
    Regards,
    Dean

  • 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.

  • Mediawiki, mysql, php? problems [SOLVED]

    On Sunday my Arch install that is hosted by Slicehost became unresponsive to them so they had to do an emergency reboot. After it came back up my install of mediawiki was (and still is) only returning a blank page (at least in Firefox). After some digging I found out that part of the problem was that mysqld wasn't starting so I managed to get that fixed by commenting out the lines relating to innodb and putting in skip-innodb into my.cnf. But I'm still getting a blank page.
    According to Mediawiki's manual, "A blank white page indicates a PHP error which isn't being printed to the screen." They give two lines to put into LocalSettings.php to force error messages but after doing that I'm still getting a blank page. Changing display_errors in php.ini to ON didn't have any effect.  When I load the wiki in Safari I get the following error: "Got java.io.EOFException (Server closed connection while sending the HTTP header.): http://some_url.com/mediawiki/index.php/Main_Page". I have no idea what this error means and googling java.io.EOFException doesn't bring up anything very helpful. My PHP Test Page indicates that PHP is up and running.
    Any ideas on fixes or where I can find more clues?
    [EDIT]
    Mysql was definitely the root of the problems with Mediawiki. I tried nearly every suggestion listed in the forums for fixing a mysql install that wouldn't start but nothing worked. I even completely uninstalled mysql and reinstalled it but it still refused to start. I switched over to postgresql and switched mediawiki to run with that. Problem solved.
    Last edited by k_odoma (2009-05-23 01:48:35)

    There are some other things that must be done to connect to
    the database
    (such as passing the usernamee, password, and host info to
    mysql_connect()
    and storing the connection resource), and those might be in
    the include
    files. I generally place all of the connection parameters in
    a separate file
    that is located in a folder that can't be accessed by a
    browser, for
    security purposes.
    Paul Swanson
    Portland, Oregon, USA
    "Amy Blankenship *AdobeCommunityExpert*"
    <[email protected]>
    wrote in message news:edk6ui$69c$[email protected]..
    > What's in the include(s)?
    >
    > "83Dons" <[email protected]> wrote in
    message
    > news:edk5s5$4uk$[email protected]..
    > > Here is the php code for the 'read' and 'write'
    parts:
    > >
    > >
    > >
    > > <?php
    > > include '......';
    > > mysql_select_db('clinskills') or die("UNABLE TO
    CONNECT TO
    DATABASE");
    > > $sql = "select A1Answer from authorware where id =
    '13'";
    > > $result = mysql_query($sql);
    > > $answer1 = mysql_result($result,0,"A1Answer");
    > > print $answer1;
    > > ?>
    > >
    > > <?php
    > > include '............';
    > > mysql_select_db('clinskills') or die("UNABLE TO
    CONNECT TO
    DATABASE");
    > > $newdata = $_GET['data'];
    > > mysql_query("insert into authorware (A1Answer)
    values('$newdata')")
    or
    > > die(mysql_error());
    > > mysql_close(); ?>
    > >
    >
    >

  • Mysql Mac Mountain Lyon

    I have problems to reinstall MySQL on Mac OS X after it was running on my system.
    I uninstalled it because the PreferencePane wasn't working as expected, using the procedure described here: http://akrabat.com/computing/uninstalling-mysql-on-mac-os-x-leopard/
    When trying to reinstall MySQL Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive version using the PKG-installer, it says "The installation failed"
    Here are the complete logs of the installation:
    I will really appreciate any help
    >
    >    Sep  7 15:12:02 Mariana.local Installer[18449]: @(#)PROGRAM:Install  PROJECT:Install-729
    >Sep  7 15:12:02 Mariana.local Installer[18449]: @(#)PROGRAM:Installer  PROJECT:Installer-614
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Hardware: MacBookAir5,2 @ 1.80 GHz (x 4), >4096 MB RAM
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Running OS Build: Mac OS X 10.8.1 (12B19)
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Env: >TMPDIR=/var/folders/b7/061c4tk55tv6vqb3_0lstswm0000gn/T/
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Env: SHELL=/bin/bash
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Env: HOME=/Users/Mayoli
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Env: USER=Mayoli
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Env: LOGNAME=Mayoli
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Env: SSH_AUTH_SOCK=/tmp/launch->9XSV4t/Listeners
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Env: Apple_Ubiquity_Message=/tmp/launch->xvAqrI/Apple_Ubiquity_Message
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Env: Apple_PubSub_Socket_Render=/tmp/launch->bwx8YE/Render
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Env: COMMAND_MODE=unix2003
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0:0
    >Sep  7 15:12:02 Mariana.local Installer[18449]: MySQL Startup Item  Installation Log
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Opened from: /Volumes/mysql-5.5.27-osx10.6->x86_64/MySQLStartupItem.pkg
    >Sep  7 15:12:02 Mariana.local Installer[18449]: fileURLForURL = x-disc://mysql-5.5.27->osx10.6-x86_64/MySQLStartupItem.pkg
    >Sep  7 15:12:02 Mariana.local Installer[18449]: fileURLForURL = >file://localhost/Volumes/mysql-5.5.27-osx10.6-x86_64/MySQLStartupItem.pkg
    >Sep  7 15:12:02 Mariana.local Installer[18449]: Referenced component packages (1) >trustLevel=100
    >Sep  7 15:12:04 Mariana.local Installer[18449]: InstallerStatusNotifications plugin loaded
    >Sep  7 15:12:10 Mariana.local installd[509]: installd: Exiting.
    >Sep  7 15:12:10 Mariana.local runner[18509]: Administrator authorization granted.
    >Sep  7 15:12:10 Mariana.local Installer[18449]: >============================================================================== ==
    >Sep  7 15:12:10 Mariana.local Installer[18449]: User picked Standard Install
    >Sep  7 15:12:10 Mariana.local Installer[18449]: Choices selected for installation:
    >Sep  7 15:12:10 Mariana.local Installer[18449]:           Install: "MySQL Startup Item"
    >Sep  7 15:12:10 Mariana.local Installer[18449]:                     MySQLStartupItem.pkg : >com.mysql.mysqlstartup : 1.0.0.1.0
    >Sep  7 15:12:10 Mariana.local Installer[18449]: >============================================================================== ==
    >Sep  7 15:12:10 Mariana.local Installer[18449]: It took 0.00 seconds to summarize the package >selections.
    >Sep  7 15:12:10 Mariana.local Installer[18449]: -[IFPKGDerivedDocument >sortedPackageLocations]: result = (
    >              "file://localhost"
    >          )
    >Sep  7 15:12:10 Mariana.local Installer[18449]: -[IFDInstallController(Private) >_buildInstallPlan]: location = file://localhost
    >Sep  7 15:12:10 Mariana.local Installer[18449]: -[IFDInstallController(Private) >_buildInstallPlan]: file://localhost/Volumes/mysql-5.5.27-osx10.6-x86_64/MySQLStartupItem.pkg
    >Sep  7 15:12:10 Mariana.local Installer[18449]: Set authorization level to root for session
    >Sep  7 15:12:10 Mariana.local Installer[18449]: Will use PK session
    >Sep  7 15:12:10 Mariana.local Installer[18449]: Starting installation:
    >Sep  7 15:12:10 Mariana.local Installer[18449]: Configuring volume "Macintosh HD"
    >Sep  7 15:12:10 Mariana.local Installer[18449]: Preparing disk for local booted install.
    >Sep  7 15:12:10 Mariana.local Installer[18449]: Free space on "Macintosh HD": 74.42 GB >>>>>>>(74416689152 bytes).
    >Sep  7 15:12:10 Mariana.local Installer[18449]: Create temporary directory >"/var/folders/b7/061c4tk55tv6vqb3_0lstswm0000gn/T//Install.18449AgPXBh"
    >Sep  7 15:12:10 Mariana.local Installer[18449]: IFPKInstallElement (1 packages)
    >Sep  7 15:12:10 Mariana.local Installer[18449]: Using authorization level of root for >IFPKInstallElement
    >Sep  7 15:12:10 Mariana.local installd[18515]: installd: Starting
    >Sep  7 15:12:10 Mariana.local installd[18515]: installd: uid=0, euid=0
    >Sep  7 15:12:10 Mariana.local installd[18515]: PackageKit: ----- Begin install -----
    >Sep  7 15:12:10 Mariana.local installd[18515]: PackageKit: request=PKInstallRequest <1 >packages, destination=/>
    >Sep  7 15:12:10 Mariana.local installd[18515]: PackageKit: packages=(
              >    "PKJaguarPackage <file://localhost/Volumes/mysql-5.5.27-osx10.6->x86_64/MySQLStartupItem.pkg>"
    >          )
    >Sep  7 15:12:10 Mariana.local installd[18515]: PackageKit: Extracting >file://localhost/Volumes/mysql-5.5.27-osx10.6-x86_64/MySQLStartupItem.pkg >>>>>>>>>>(destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At >Startup/PKInstallSandboxManager/1.sandbox/Root/Library/StartupItems, uid=0)
    >Sep  7 15:12:10 Mariana.local installd[18515]: PackageKit: prevent user idle system sleep
    >Sep  7 15:12:10 Mariana.local installd[18515]: PackageKit: suspending backupd
    >Sep  7 15:12:10 Mariana.local installd[18515]: PackageKit: Shoving >/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At >Startup/PKInstallSandboxManager/1.sandbox/Root (1 items) to /
    >Sep  7 15:12:10 Mariana.local install_monitor[18520]: Temporarily excluding: /Applications, >/Library, /System, /bin, /private, /sbin, /usr
    >Sep  7 15:12:10 Mariana.local installd[18515]: PackageKit: Executing script "./postinstall" >in /Volumes/mysql-5.5.27-osx10.6-x86_64/MySQLStartupItem.pkg/Contents/Resources
    >Sep  7 15:12:10 Mariana.local install_monitor[18520]: Re-included: /Applications, /Library, >/System, /bin, /private, /sbin, /usr
    >Sep  7 15:12:11 Mariana.local installd[18515]: PackageKit: releasing backupd
    >Sep  7 15:12:11 Mariana.local installd[18515]: PackageKit: allow user idle system sleep
    >Sep  7 15:12:11 Mariana.local installd[18515]: PackageKit: Install Failed: Error >Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the >package “MySQLStartupItem.pkg”." UserInfo=0x7fb809c201f0 {NSFilePath=./postinstall, >NSURL=file://localhost/Volumes/mysql-5.5.27-osx10.6-x86_64/MySQLStartupItem.pk g, >PKInstallPackageIdentifier=com.mysql.mysqlstartup, NSLocalizedDescription=An error occurred >while running scripts from the package “MySQLStartupItem.pkg”.} {
    >              NSFilePath = "./postinstall";
    >?              NSLocalizedDescription = "An error occurred while running scripts from the package >\U201cMySQLStartupItem.pkg\U201d.";
    >              NSURL = "file://localhost/Volumes/mysql-5.5.27-osx10.6->x86_64/MySQLStartupItem.pkg";
    >              PKInstallPackageIdentifier = "com.mysql.mysqlstartup";
    >          }
    >Sep  7 15:12:11 Mariana.local Installer[18449]: install:didFailWithError:Error >Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the >package “MySQLStartupItem.pkg”." UserInfo=0x7f82d14a84c0 {NSFilePath=./postinstall, >NSURL=file://localhost/Volumes/mysql-5.5.27-osx10.6-x86_64/MySQLStartupItem.pk g, >PKInstallPackageIdentifier=com.mysql.mysqlstartup, NSLocalizedDescription=An error occurred >while running scripts from the package “MySQLStartupItem.pkg”.}
    >Sep  7 15:12:11 Mariana.local Installer[18449]: Install failed: The Installer encountered an >error that caused the installation to fail. Contact the software manufacturer for assistance.
    >Sep  7 15:12:11 Mariana.local Installer[18449]: IFDInstallController D0434500 state = 7
    >Sep  7 15:12:11 Mariana.local Installer[18449]: Displaying 'Install Failed' UI.
    >Sep  7 15:12:11 Mariana.local Installer[18449]: 'Install Failed' UI displayed message:'The >Installer encountered an error that caused the installation to fail. Contact the software >manufacturer for assistance.'.

    Don't install the startup item package. Those things were deprecated years ago.
    Follow the instructions in this User Tip: https://discussions.apple.com/docs/DOC-3082

  • Just installed 10g Exp, can I use the "Bank" database from MySQL?

    So I installed MySQL, PHP, and Apache, separately. I was using a "Learning SQL 2005" book that instructed me to create a play "bank" database, and run the code to create/populate tables. I used the bank database for a while to learn and it was great.
    Now I installed Oracle Database 10g Express Edition and I uninstalled MySQL, PHP, and Apache. Is it possible to use this bank database that I was using with MySQL?
    When I go to the Database Home Page and go into the SQL Commands section and type "use bank;", it says "ORA-00900: invalid SQL statement".
    When I type "create database bank;", it says "ORA-01501: CREATE DATABASE failed ORA-01100: database already mounted".
    Also, since the SQL statements that I used to create the database in MySQL is just ANSI SQL, I can use these same statements to create a database in Oracle, right?
    Thanks for your help!

    Unfortunately every RDBMs ANSI SQL isn't quite ANSI SQL. You'll find datatypes in mysql that have no direct equivelant, and quite a few items that just won't work in oracle (or ms sqlserver, or ... the list goes on)
    Like the "create database" statement, to the oracle engine its an entirely different operation. There is no need to create a database, that's taken care of with the install. And the "use <database>" command doesn't have an oracle equivalent.
    Start by creating a database user with resource and connection privileges, and try the mysql create table statements. It'll take some work- changing up the DDLs to work will take a bit of trial and error but its one way to learn.
    $ sqlplus /nolog
    SQL> connect system
    ... Password ...
    ... Connected ...
    SQL> create user <username> identified by <password>;
    SQL> grant resource, create session to <username>;
    SQL> connect <username>
    ... password ...
    SQL> create table ...

  • Trouble resetting forgotten MySQL root password

    Hi there,
    As the title suggests, I've forgotten my MySQL root password (and where I wrote it down) and have done endless searches (Google, MySQL site and forum, etc.), tried the resolutions but have not had any luck in resetting the password.
    I tried the instructions on the MySQL site, but when I did that, I got this:
    I've tried removing and restarting instances, as well as uninstalling MySQL, rebooting and then re-installing; still no success.
    I'm running PHP (5.3.0) and MySQL (5.1.37) on Windows Vista.
    I appreciate any help anyone can offer.
    Thanks,
    Heather

    The simplest way that I know to deal with this situation on Windows is to uninstall MySQL. Doing so should leave the databases intact in the data folder, although you might want to copy the contents of the data folder to a different location first.
    Inside the data folder is another folder called mysql. Delete it, and then reinstall MySQL. You should then be able to set up a new root password.

  • MySQL fix or reinstall?

    Hello,
    I'm running Tiger server (10.4.7) and I thought I'd try setting php and mySQL and playing around with them for a bit. I got php running, I installed phpMyAdmin, no troubles. I started up mySQL using mySQL Manager. Where my troubles began was after I set the root password. Online, it still told me that the database was insecure. I checked the grant tables, and found two types of users, root and another. Being new to this (and stupid) I deleted the root user with no password, reasoning that perhaps that was why it was still non-secure.
    Well, now I don't have permission to get in to the database anymore. I've tried many things, up to and including installing mySQL 5, uninstalling it, checking my.cnf, all to no avail. The only thing I've managed to do, it seems, is remove the mysql.user database, because that no longer shows up.
    sigh I've been working on this all day, and I'm stumped. Can anyone please tell me:
    1. How to reset the grant tables when I can't seem to get in, even as root-with-password?
    2. What might have happened to the mysql.user database, and how can I get it back?
    3. Failing either of those, is there a way to uninstall mySQL and reinstall it to its base configuration?
    Thanks in advance.

    1. In this case, MySQL works the same on OS X as on
    any other platform. You can start MySQL while
    skipping the grant tables altogether. You can find
    step-by-step instructions on that here.
    This talks about stopping and starting mysqld - I can't find mysqld. I've done a "locate mysqld" and I've only turned up mysqld_safe, in /usr/bin/. I tried starting that according to the instructions on the link (--skip-grant-tables, etc), but it just says "starting" and never returns me to the command prompt.
    2. I'm not sure what happened to your mysql.user
    table. <SNIP> You can confirm its existence by viewing
    /var/mysql/mysql and seeing if the user table data is
    in there. If so, then the problem is just a matter of
    getting to it.
    And if it isn't? I don't believe I deleted it, and I hadn't even gotten as far as making queries, but it's not there.
    Installing MySQL 5, or any other version for
    that matter, installs a second copy into
    /usr/local/mysql
    I did realize that eventually. Does that mean that the mySQL Manager in the GUI is useless once mySQL is upgraded to mySQL 5, and I should just forget about it? (Not that it seemed to be terribly helpful anyway, but I'm wondering.)
    To use it
    with PHP, you need to make sure the MySQL socket file
    location and PHP's value for MySQL's socket file
    location match.
    Yes, I was getting an error when I tried this. It kept trying to find mysql.sock, which wasn't there.
    Searching this forum or searching
    Apple support for "MySQL socket" will turn up
    relevant articles.
    I will do that - if I install mysql 5, will it install another mysql.user table as part of the installation? Are the grant tables separate from the ones installed as part of Tiger Server?
    Still floundering, but I appreciate your assistance!

  • Mysql in chroot possible on Leopard?

    Has anyone successfully installed mysql from fink into a chroot on OSX? If so, how? The reason I ask is, I want to be able to accidentally wreck the mysql installation and simply wipe the chroot dir to start over from scratch if I want to. If there is a better way to do this, I'm open to suggestions.
    As it is now, I installed mysql from fink and received and error message that lead me discover mysql.sock was never created. I wanted to uninstall mysql and run the installation proceess again, however, now there are mysql files all over the place and I can't figure out how to uninstall it. I tried dselect and "sudo fink remove mysql", neither of which appeared to work. If anyone could help me clean mysql from Leopard ( beyond "rm /sw/bin/mysql*" ), as well, that would be appreciated.
    Thank you.

    1. I can't find the hidden file .profile - I have already used TextWrangler to browse though my folders and I still couldn't find it.
    It's entirely possible, and valid, for there to be no ~/.profile.
    If that's the case, just create it.
    2. No Terminal command mentioned in the file seems to work. All of them return error messages.
    Can you give an example, including the error message. The error message will go a long way to explaining why it didn't work.

  • Problem Accessing MySQL on OSX 10.2.8

    Hi,
    Hope this is the right board.
    I installed myql 4.0.25 on my eMac running OSX 10.2.8 some time ago. Now when I try to access mysql via Terminal I get
    /usr/local/mysql/bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user: 'root@localhost' (Using password: NO)'
    At no point did it ask me for a password, so I'm confused. I am not a UNIX enlightened user, this is my first real delve into it, as I want to learn PHP and database driven sites. I don't really have a clue what I'm doing !
    When I originally set it up I set passwords for the root and user accounts, but when I am asked for a password these don't work. I got mysqld_safe running, so that part is working, I just can't seem to do any thing to enter either mysql or mysqladmin.
    Do I need to uninstall MySQL and start again?
    Any help appreciated.
    Cheers,
    Tracy
    G4 400MHz (PCI) 384MB RAM   Mac OS X (10.2.x)  

    Hi,
    use mysqladmin with the -p option. This prompts you for a password and you should give the mySQL root password (the one you once set) here.
    Volker

Maybe you are looking for