Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#33501 closed defect (invalid)

Port install Mysql — at Version 1

Reported by: dayansh@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: ryandesign@…
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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

Change History (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Description: modified (diff)
Keywords: mysql removed
Priority: HighNormal
Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.