I have spent the last three days trying to install and start my MySQL server and have been unsuccessful. I am new to Apache, PHP and MySQL and want to learn how to use them but without MySQL I am sunk. Any help would be greatly appreciated. Here is what I have done thus far:
I went to my Terminal and entered in the command "uname -a" and received the following message: local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
Which tells me I need the 64 bit version of MySQL
Download from MySQL :: Download MySQL Community Server
Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive package
I then installed:
mysql-5.5.25-osx10.6x86_64.pkg
MySQL.prefPane
MySQLStartupItem.pkg
I then went to the Terminal and entered in the command: "mysql" and received the following message: -bash: mysql: command not found
I then went to my Terminal and entered in the command: "mysql_secure_installation"
and received the following message: -bash: mysql_secure_installation: command not found
I can tell you that Apache was successfully enabled and so was PHP.
But for the life of me I can not get MySQL working! PLEASE HELP!
I went to my Terminal and entered in the command "uname -a" and received the following message: local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
Which tells me I need the 64 bit version of MySQL
Download from MySQL :: Download MySQL Community Server
Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive package
I then installed:
mysql-5.5.25-osx10.6x86_64.pkg
MySQL.prefPane
MySQLStartupItem.pkg
I then went to the Terminal and entered in the command: "mysql" and received the following message: -bash: mysql: command not found
I then went to my Terminal and entered in the command: "mysql_secure_installation"
and received the following message: -bash: mysql_secure_installation: command not found
I can tell you that Apache was successfully enabled and so was PHP.
But for the life of me I can not get MySQL working! PLEASE HELP!