[MacPorts] #33501: Port install Mysql

MacPorts noreply at macports.org
Tue Mar 6 13:28:17 PST 2012


#33501: Port install Mysql
-----------------------------+----------------------------------------------
  Reporter:  dayansh@…       |       Owner:  macports-tickets@…                   
      Type:  defect          |      Status:  closed                               
  Priority:  Normal          |   Milestone:                                       
 Component:  ports           |     Version:  2.0.4                                
Resolution:  invalid         |    Keywords:                                       
      Port:                  |  
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
 * cc: ryandesign@… (added)
  * priority:  High => Normal
  * keywords:  mysql =>
  * resolution:  => invalid


Old description:

> Hey guys,
> I have been trying to install MYSQL but eveytime i do that it give me
> these errors
>

> $ port install mysql
> Error: Insufficient privileges to write to MacPorts install prefix.
>
> i also tried -- gem install mysql2 it give me a response saying
> $ gem install mysql2
> ERROR:  While executing gem ... (Errno::EACCES)
>     Permission denied -
> /Users/ad/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.11/.gitignore
>

> Any help is highly appreciated

New description:

 Hey guys, [[br]]
 I have been trying to install MYSQL but eveytime i do that it give me
 these errors

 {{{
 $ port install mysql
 Error: Insufficient privileges to write to MacPorts install prefix.
 }}}

 i also tried -- `gem install mysql2` it give me a response saying
 {{{
 $ gem install mysql2
 ERROR:  While executing gem ... (Errno::EACCES)
     Permission denied -
 /Users/ad/.rvm/gems/ruby-1.9.2-p290/gems/mysql2-0.3.11/.gitignore
 }}}

 Any help is highly appreciated

--

Comment:

 To make modifications to files in /opt/local, MacPorts must be run as
 root, which is usually done using sudo:

 {{{
 sudo port install mysql5
 }}}

 I have no familiarity with ruby so I cannot help you install gems.

-- 
Ticket URL: <https://trac.macports.org/ticket/33501#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list