search for: mysql5

Displaying 20 results from an estimated 65 matches for "mysql5".

Did you mean: mysql
2009 Jul 12
3
Installing mysql with macports
..., but there doesn''t seem to be an obvious place to ask this question. I am trying to use MacPorts to install mysql. I have xcode 3.0 and x11 XQuartz 2.1.6 installed. $PATH: /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ local/bin:/usr/X11/bi When I sudo port install mysql5-server I receive: ---> Configuring mysql5 Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/ _opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mysql5/ work/mysql-5.0.83" && ./conf...
2011 Dec 10
2
Couldn't find database client: mysql, mysql5, mysql.exe, mysql5.exe. Check your $PATH and try again.
Greetings, I am trying to get MySQL to run with Rails, but when I try to get it to run using "rails dbconsole" I get this error: C:\IS410\Programs\sqltest3>rails dbconsole Couldn''t find database client: mysql, mysql5, mysql.exe, mysql5.exe. Check your $PATH and try again. I have MySQL installed, along with the MySQL driver. I read alot of posts in forums saying it might not be in my $PATH. Where is this $PATH so I can look to make sure MySQL is in there. Thank you! Here is my database.yml. # MySQL. Versions...
2008 Apr 11
7
problem with package function and removing rpms
...d to force specific order to run the recipe? What am I doing wrong? # install mysql rpms (not CentOS/RHEL vesions) # PROCESS: # - removes any CentOS/RHEL rpms that might be installed # - makes sure that our rpm repo is installed # - makes sure the service is running and will start upon boot class mysql5 { $removerpms = ["perl-DBD-MySQL","mysql-devel","mysql- bench","mysql-server","mysql"] # remove CentOS/RHEL rpms package { $removerpms: ensure => absent, } # install base rpm to find mysql...
2006 Jul 25
3
mysql5 in "centosplus" ?
Hi, I just noticed there are mysql5 packages in the centosplus repository since a few days ? From where does they come from ? -- Martin
2009 Feb 25
2
gem install mysql --> Error
Hi, When I try to install "gem install mysql" it throwing error. For your ref, bash-2.05b$ gem install mysql -- --with-mysql-dir=/opt/etrade/p6/share/mysql5 ERROR: http://gems.rubyforge.org/ does not appear to be a repository ERROR: could not find gem mysql locally or in a repository bash-2.05b$ gem install mysql -- --with-mysql-config=/opt/etrade/p6/share/mysql5/bin/mysql_config ERROR: http://gems.rubyforge.org/ does not appear to be a repository...
2012 Feb 08
3
An error occured while installing mysql2 (0.3.11), and Bundler cannot continue.
error information occurred when I execute "rails new demo1 -- database=mysql" MY environment below: Mac OS 10.4.11, Ruby 1.8.7 Rails 3.2.1, Gem 1.8.15 mysql5 Ver 14.14 Distrib 5.1.61, for apple-darwin8.11.1 (i386) using readline 6.2 mysql (2.8.1) Please help me, thx! more detail message as follows: Installing mysql2 (0.3.11) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /opt/local/b...
2007 Feb 27
0
Error Installing MySQL Native Bindings with DarwinPorts
...AnthonyBaker$ sudo mysql_install_db5 --user=mysql sudo Installing all prepared tables /opt/local/libexec/mysqld: Too many arguments (first extra is ''sudo''). Use --help to get a list of available options Installation of system tables failed! Examine the logs in /opt/local/var/db/mysql5 for more information. You can also try to start the mysqld daemon with: /opt/local/libexec/mysqld --skip-grant & You can use the command line tool /opt/local/lib/mysql5/bin/mysql to connect to the mysql database and look at the grant tables: shell> /opt/local/lib/mysql5/bin/mysql -u root my...
2007 Jun 08
1
Upgrading mysql5 from centosplus
Hello List, I have a regular install of centos 4.4 i386 (lately updated to 4.5), a new application needs mysql > 5.0.x The natural way to do this was: yum --enablerepo=centosplus update mysql However, after all the dependency / transaction checks.. i get this.. Dependencies Resolved ============================================================================= Package Arch
2008 Oct 24
1
[mysql gem] Failed to lookup Init function
Hi, with mysql.rb removed from rails 2.2 I need to install the mysql gem I have mac osx 10.5.5 I have mysql installed in /usr/local/mysql, so, after a bunch of try, I''ve installed the gem with: env ARCHFLAGS="-arch i386" gem install mysql -- --with-mysql-config=/ usr/local/mysql/bin/mysql_config the gem seems installed in /usr/local/lib/ruby/gems/1.8/gems/ mysql-2.7/ but
2007 Jan 17
1
error when trying to create mysql database
hey guys My macbook pro 17 had to be taken back to apple beuase of a dud screen, so have had to install from macports again. When i attempt to create a mysql database with this: mysql5 -u root depot_development i get this: ERROR 2002 (HY000): Can''t connect to local MySQL server through socket ''/opt/local/var/run/mysql5/mysqld.sock'' (2) any ideas? cheers! Adam -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~...
2007 Feb 22
2
Centosplus
Are there any gotchas with doing a MySQL5 upgrade from the centosplus repostitory? Can this be done as an update via yum or do I need to uninstall and the install? There wasn't anything on this in the readme.txt file. Thanks, John Hinton
2008 Mar 13
3
MySQL 4.1 on Centos 5 ?
Hi All, Could anyone tell me, how to correctly install MySQL4.1 on Centos 5 ? By default Centos 5 comes with mysql5? If I will compile mysql4 from sources to separate prefix, some features may be unavailable (unix sockets for example). I?m moving some critical application (online booking) based on java, tomcat5, mysql4.1 from old server fedora 4 to new server running Centos 5. So, I don?t want update mysql...
2010 Mar 01
4
issues with 3rd party repos for centos
.../wiki.centos.org/AdditionalResources/Repositories and i have a couple questions and observations. first, the entry for centosplus reads: "Popular packages from this repository include: postfix with database support, a rebuilt kernel with additional drivers & filesystem support, php5 and mysql5." however, i popped over to the centosplus packages site: http://mirror.centos.org/centos-5/5.4/centosplus/ and checked under x86_64, but i don't see any php or mysql packages. am i misreading something? next, regarding remi collet's repo: "Has been recommended on the mai...
2006 Jun 02
14
Which is better for production: MySQL5 or PostGres8.1?
I''m coming from an Oracle and SQL Server background. I''d like to use OpenSource for my next RoR project. MySQL5.x and Postgres8.1 seem to be the most popular. I''d like some comments on which would be the better choice for a production environment and why. Here are my initial concerns in order of priority: 1. Works well with RoR. ( migrations, etc) 2. Stable enough for production use. a. Linux...
2006 Feb 11
1
Fastcgi and mysql woes
Hi, I have been heck of a time to get mysql and fastcgi to work properly on my Mac OS X box. I keep getting the following error: Can''t connect to local MySQL server through socket ''/opt/local/var/run/mysql5/mysqld.sock'' (13) I have even tried commenting out the "socket" option in my database.yml but it still gives me the same error. I''m ok when I use webrick, but apache is not being nice. I can connect via sockets to mysql like "mysql -uroot -ppassword --socket=/opt...
2009 Feb 15
12
Using MacPorts To Install Ruby 1.9.1 and Rails 2.3.0 RC1
...You may not need to execute both commands and this really depends on what you have installed and how. 1) Remove Rake ( Optional If It Does Not Exist ) sudo rm -rf /opt/local/bin/rake 2) Install Ruby 1.9.1, SQLite3, and Mysql 5 Ports sudo port install ruby19 +nosuffix sudo port mysql5 +server sudo port sqlite3 Note: The above ruby19 install generates the required executables without the extension. 3) Install Rack, Rake, and Rails 2.3.0 Ruby Gems sudo gem install rack sudo gem install rake sudo gem install rails --source=http://gems.rubyonrails.org...
2006 Oct 08
3
Rails Sandbox on OS X
So I''ve gotten my hands on Agile Web Development with Rails and want to follow along with the examples. I want to create a sandbox for testing/building applications. I''m running OS X and I''ve got the following installed: -Macports 1.320 -Ruby 1.8.5 - installed with Macports -Rubygems 0.9.0 -Rails 1.1.6 - installed using "sudo gem install rails
2006 Mar 28
2
Mysql stored procedures from Rails
Hi all, I know stored procedures are considered evil around, but there are times when you just have to use them. In the project I''m working on, I needed to call a mysql5 stored procedure, but I only got an error message saying "ActiveRecord::StatementInvalid: Mysql::Error: PROCEDURE vc.testsp can''t return a result set in the given context: call testsp()" I found out from here: http://bugs.mysql.com/bug.php?id=2658 that mysql needs the flag CLIENT...
2008 Jun 09
2
Help, PHP/Mysql connections are so slow.
Hi. I've got a new Centos 5.1 x86-64 server that uses PHP to communicate with MySQL5. On this server, PHP/Mysql connections are dead slow and unresponsive. It takes sometimes up to a minute to list tables in phpmyadmin for example. I've verified on the server that the issue has to be PHP/Mysql related. If I use a CGI based Mysql admin tool, communication is fast and there are...
2006 Jan 09
3
FCGI and Apache2 on win performance problem
Hi all, I am having problems with FCGI and Apache2 on windows. The error I often receive is 500 error code response with logs listed down. I successfully use Webrick server and CGI (very slow). I had configured apache as is described in these document: http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows. Any suggestions? Logs: > Errno::E232 (The pipe is being