Help installing MySQL/MySQLWorkbench
I'm not a Unix guy but I want to learn MySQL with the MySQLWorkbench.app GUI. I downloaded and installed the files according to instructions and as far as I can tell everything is where it should be. However, I am not sure if I need to run any commands from Terminal. MySQLWorkbench does not seem to be saving documents properly. As the Terminal command result pasted below seems to show, the install looks to be where it's supposed to be, in ~usr/local/mysql-5.5.29-osx10.6-x86_64. The ~usr/local/mysql in the listing is a symbolic link created by the installer.
mac-pro-8:local tcamilleri$ ls
mysql mysql-5.5.29-osx10.6-x86_64
Is there a MySQL user account already created on my Mac by the OS? Do I need to cretyae any preference files or configure anything? Any help from someone familiar with MySQLWorkbench GUI/MySQL would be greatly appreciated as I've worked with relational databases but this is just a bit too different to be intuitive. Thanks in advance for inputs.
Have a look at this user tip Installing MySQL on Lion
Similar Messages
-
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 -
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. -
[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! -
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 -
Installing Mysql on Solaris 10
Ive installed Mysql on solaris 10 and when i try and start it up i get these errors...any help would be appricated...
# more Felicia.err
051025 14:45:34 mysqld started
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
051025 14:45:35 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
051025 14:45:36 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
051025 14:45:37 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
051025 14:45:39 InnoDB: Started; log sequence number 0 0
051025 14:45:39 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
051025 14:45:39 mysqld ended
# bin/mysqld --user=root
051025 16:24:55 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
051025 16:24:55 InnoDB: Starting log scan based on checkpoint at
InnoDB: log sequence number 0 36808.
InnoDB: Doing recovery: scanned up to log sequence number 0 43634
051025 16:24:56 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
051025 16:24:56 InnoDB: Flushing modified pages from the buffer pool...
051025 16:24:56 InnoDB: Started; log sequence number 0 43634
051025 16:24:56 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't existI dont' mean to be starting up a storm that doesn't need to be stirred but I'm only telling you what it tells me on the mysql page. Below is the excert.
End of Product Lifecycle.
Active development and support for MySQL database server versions 3.23, 4.0, and 4.1 has ended. However, for MySQL 4.0 and 4.1, there is still extended support available. For details, see http://www.mysql.com/company/legal/lifecycle/#calendar. According to the MySQL Lifecycle Policy (see http://www.mysql.com/company/legal/lifecycle/#policy), only Security and Severity Level 1 issues will still be fixed for MySQL 4.0 and 4.1. Please consider upgrading to a recent version (MySQL 5.0 or 5.1).
Anyway I put version 5.0.45 on my mysql zone with no problems. There is a binary version for download at mysql's site. I'm using the SPARC 64-bit version. -
Problem to install mysql-gui-tools
Hi all.
I'm trying to install mysql-gui-tools but I get the following error:
==> ERRORE: Si è verificato un errore in build().
L'operazione sta per essere interrotta...
==> ERRORE: Makepkg non è riuscito a compilare mysql-gui-tools.
that means that there is an error in build().
Can you please help me?It's the successor of mysql-gui-tools. http://www.mysql.com/products/workbench/. It provides all you need for ER diagrams, SQL development and DBA tasks.
Package available in the community repo.
Last edited by teekay (2011-12-01 22:11:51) -
How to install Mysql pdo driver
We are working on a g5 server, Tried to recompiled PHP 5.2.5 but didn't work, then reinstalled PHP 5.2.4 entropy witch is suppose to have Mysql pdo driver but still doesn't work.
Please help me I'll do your dishes and wash your car!!!!I (still) have the same problem.
I think that it's coming from the compilated php you used, I mean that your is compilated into 32bits whereas leopard is in 64bits.
So you have to compile php in 64bits.
I'm trying to compile the php integrated to leopard, but can't find any sources (like .configure) to do this.
So I've download new php sources and then, I try a compilation, but I can't find the directory where mysql is installed.
So I've download a new versions of mysql. But like a noob I install mysql 6 which is an alpha version, then I can't install older vesion of mysql.
I 'll try a hand install of mysql.
Try to make a new install of php, mysql and compile them into 64bits.
You will find easily a 64bit version on mysql website.
Or you can wait for the entropy package which will support leopard.
Or if you have a better idea. -
Pre-install mysql doesnt work!
I try to start pre-installed mysql with "mysql start" log shows "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (38)", then I create a subdirectory /var/mysql/ owned by root:wheel and grant 777 to it. still not working. Anyone knows how to fix it?
See if the information in this thread helps: http://discussions.apple.com/thread.jspa?messageID=12163732
-
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. -
Help with mySQL Connection string
Here is hoping someone can help & once I get it down I promise I'll post all my work on this list so some other newbie can benefit.
I'm simply trying to run a very very straightforward JDBC test with mySQL & I keep getting the "Server configuration denies access to data source" error. But before you tell me that I must simply look at what my mysql.db & mysql.user table allows - I'VE TRIED THAT. I realize that the error is probably there somewhere - but I can't see it.
I've tried connecting with 2 different accounts - the provided "root" & a user I created "deep" to 2 different databases the provided "test" & "testdb" which I created) . Here is what mysql says about the two different databases
mysql> select * from db;
Host | Db | User |.......
-----+------------+-------
| % | test | | ......
| % | test\_% | | ........
| localhost | testdb | deep |........Note that "root" should have access to "test" & deep@localhost should have access to "testdb" right?
So here are all the connection strings I have tried - all return the same error below
Connection conn = DriverManager.getConnection(
"jdbc:mysql://localhost:3306/test", "root", "mypass"
// "jdbc:mysql://localhost:3306/testdb", "deep", "mypass"
// "jdbc:mysql://localhost/testdb?user=deep&password=mypass"
// "jdbc:mysql://localhost/testdb", "deep", "mypass"
// "jdbc:mysql://localhost:3306/testdb?user=deep@localhost&password=mypass"
// "jdbc:mysql://localhost:3306/testdb?user=deep&password=mypass"
// "jdbc:mysql://localhost/testdb", "deep@localhost", "mypass"
// "jdbc:mysql:///test", "root", "mypass"
// "jdbc:mysql://localhost/test", "root@localhost", "mypass"
);My Error:
Exception in thread "main" java.sql.SQLException: Server configuration denies access to data source
at org.gjt.mm.mysql.MysqlIO.init(MysqlIO.java:193)
at org.gjt.mm.mysql.Connection.connectionInit(Connection.java:261)
at org.gjt.mm.mysql.jdbc2.Connection.connectionInit(Connection.java:89)
at org.gjt.mm.mysql.Driver.connect(Driver.java:167)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:199)
at TestMySQL4.main(TestMySQL4.java:76)BTW:
I am using MacOSX 10.1
MySQL 3.23.42
The driver is: mm.mysql-2.0.6.jar
Please help!
'deephi amandeep
well i m getting the same error message when trying to connect MYSQL using mm.jdbc driver.
java.sql.SQLException : Server configuration denies access to data base source.
query.jdbcDriver org.gjt.mm.mysql.Driver
query.databaseURL jdbc:mysql://aaa.bbb.com/pluto
query.databaseUserName samin
query.databasePwd samin
query.summaries true
i hve installed mysql on server aaa.bbb.com network 1
and trying to run application on network 2
Thanks
samir -
Hello. When I try to install MySQL I get this:
chown: invalid user: `mysql'
chown: invalid user: `mysql'
chown: invalid user: `mysql'
Installing MySQL system tables...
101026 20:31:59 [ERROR] Fatal error: Can't change to run as user 'mysql' ; Please check that the user exists!
101026 20:31:59 [ERROR] Aborting
101026 20:31:59 [Note] /usr/sbin/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/sbin/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/bin/mysqlbug script!
error: command failed to execute correctly
Optional dependencies for mysql
perl-dbi
perl-dbd-mysql
When I try
shell> /usr/sbin/mysqld --skip-grant &
shell> /usr/bin/mysql -u root mysql
I get this:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
[1]+ Done /usr/sbin/mysqld --skip-grant
What is this? I have never had any problems with installing MySQL before. I need it for a MythTV install. BTW, this is a fresh install made today of Arch Linux.
Last edited by jai134 (2010-10-26 18:57:51)First pacman -Syy then pacman -Suu and finally pacman -S mysql. I have also tried pacman -Rcsn mysql, pacman -Scc and after that a locate mysql to find all dirs holding any files connected to mysql so I could delete those. Then again pacman -S mysql and now I don't get any error messages during install but I am unable to start the server with /etc/rc.d/mysqld start.
-
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. -
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 SchreiberThanks 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,
Maybe you are looking for
-
Hello, I have lot of kids software loke Kidpix,Inspiration etc, which have been working fine in Windows XP. The software manual says they are compatible with Mac too. When I try running/installing them on my mac mini, it doesnt work. Do I need to do
-
MS Access 2010 Database can not be compacted
MS Access 2010 be can not be compacted We have have MS access database size is closed to 2G. And user can't to compact the database. Is there a way to result the problem? Thanks
-
Forgot account name and password?
I need to deauthorize my audio account to transfer my iTunes to a new laptop but the password I THOUGHT was right isn't working. I can't find a way to request what my username and password is. Help?
-
How can i compare in percentage, vowels and consonants in english and german language?
how can i compare in percentage, vowels and consonants in english and german language?
-
I try to manage my n97 device to sync with Ovi and after I select my device on Ovi sync service it show that I should receive a text message to save it in order to create the sync profile in my device but nothing come and I just wait more than two da