similar to: mysql is not recognized as an internal or external command

Displaying 20 results from an estimated 5000 matches similar to: "mysql is not recognized as an internal or external command"

2006 Jan 09
3
Selecting a subset of a table with DRY
Hello, I have table called ''listings.'' There are a certain combination of properties which make a listing viewable (e.g., it is confirmed, has been authorized, hasn''t expired, etc.). Each listing has one and only one category. I want to be able to do things like Listing.find_viewable(...) and Category.find(...).viewable_listings, but I see no way to do this
2006 Jan 12
12
Ajax Button Back function?
Hi Folks! I''m new in the forum and i have a doubt. The button back function with the Ajax on Rails? tks. -- Posted via http://www.ruby-forum.com/.
2006 Jan 10
7
Application Design Question
I am designing an application to run a fishing tournament I am hosting. Each fish entered will be given a point total based on the length of the fish and the species of fish. Each species has a point multiplier. For Example Trout have a multiplier of 10 so a 20 inch Trout would have a score of 200. My conundrum is in where and when do I calculate the points. The options I have come up
2006 Jan 12
7
user-defined columns
I am breaking ground on a new project and one of the issues I expect to encouter is the ability of users to define their own columns. For example, one of the features of this application will be the ability to store information about people''s skills and then search for and schedule them based on this information. Since every organization''s needs are different, it would be ideal
2006 Jan 11
3
Just update 1 field
Hi All, I wonder how I can get rails to update just one field when I do Myfile.save. Right now this happens when I do a Myfile.save: UPDATE myfiles SET `folder_id` = 0, `filesize` = 1, `data` = ''2f7573722f6c6f63616c2f6d ... f7061636b65743d33324d'', `user_id` = 0, `date_modified` = ''2006-01-11T23:33:57+0100'', `filename` = ''mysqlscripts.sql''
2006 Jan 12
4
If statement based on a action
Question for you all is it possible to use an action in an if statement? I am using the same form for edit and new and I have a cancel button on the page. This cancel button is built with an if statement that looks right now to see if a parameter exists to define where to go back to if the user cancel. The problem occurs when the user submits the form and there are missing fields by
2006 Jan 28
10
Rails scaffolding - cannot get access to MySQL
Hi, A newbie in the RoR world, I''m already more or less stuck when generating the scaffold for my first tutorial project ... When I try to generate scaffold code for my version of the ''depot'' application from the ''Agile rails ...'' book, I receive the following error: #28000Access denied for user ''bo''@''localhost''
2007 May 17
5
AJAX, PHP and scriptalicious
Hey, I''m brand new to AJAX and scriptalicious, so i''m hoping for some help. inside hello.php I have this piece of code to grab and loop out users in the database: function test(){ $query = mysql_query(''SELECT * FROM `testing`''); while($i = mysql_fetch_row($query)) { echo''<div class="testie">'';
2006 Aug 11
3
General architechture / MVC question
Hi all, A newbie with Ruby on Rails - and programming in general - I''m working on a few Flash and PHP projects as well. Partly to make my work more efficient, partly to gain a better understanding of system architecture / design patterns, I''ve been trying to use the MVC pattern in database-backed Flash / Actionscript development as well. I think / hope that I''m
2007 May 20
2
Get first class name
I have a situation where I need to get the first class name of an element. Element.ClassNames() returns an object not an array... Object.values() will turn it into an array, but the API Docs say that the order of the resulting array is browser-dependent.. So for my use is no good... So I am using: el.className.split(" ").first(); Can any one see any problems that I might
2006 Mar 30
13
Trying Agile book, found problem
Pg. 57 of Agile asks you to create a scaffolding by typing in ruby script/generate scaffold Product Admin Instead of generating everything, it only gives me exists app/controllers/ exists app/helpers/ exists app/views/admin exists test/functional/ dependency model exists app/models/ exists test/unit/ exists test/fixtures/ identical
2006 May 06
4
Scaffold Uses Wrong Host for MySQL user
I''m following the example Depot app in Agile Web Development with Rails. The scaffold fails because it is not using the correct host for the user. Here is the error that the scaffold emits: Access denied for user ''jimmy''@''%'' to database ''depot_development'' The MySql user ''jimmy'' was created with the host of
2006 Jun 14
6
Lost Connection to MySQL
Error Message: MyMysql::Error: Lost connection to MySQL server during query: SHOW FIELDS FROM products Running Fedora 5, using available Red Hat modules and latest version of Rails. This problem just appeared. I had been enjoying going through the tutorial "Depot" when it started displaying this problem. With phpMyAdmin I am able to access the depot_development data base containing
2006 Mar 28
3
I hope this is not spamming
I do not want to get the reputation as a spammer and be hated by the ruby and rails community??! But where are the best forums for help with rails and ruby please, and which ones are the most user freindly? I have a little tech problem: I have a lap top running xp home service pack two and I have installed ruby 1.8.2 and rails 1.0.0 I also have mysql 4.1.16-nt via tcp/ip running on the laptop, so
2006 Jul 20
3
Instant Rails not finding database
Hey there I''ve got instant rails installed, and it''s phpmyadmin can find the database at the ascribed mysql port (3210) ...however, altho i have got my ''depot_development'' db in there (along with the other dbs that ship with instant rails)... the rake script from the instant rails command interface cant find ''depot_development''. Looking at
2011 Jun 27
2
Mail Question
Hello everyone, Im having a issue that I just cant seem to figure out. We currently are running an email server Centos 5.6 Postfix/Dovecot with a squirrelmail frontend. I was setting up a testbed to do a migration to SoGo using LDAP/MYSQL/POSTFIX/Dovecot. I have everything up and functional but one thing is giving me an issue. The testbed box will not handle a users mailbox over 2gb. We are using
2006 Feb 28
10
Scaffold command, how and what may be wrong?
hi everyone. I am learning RoR and just recently purchase the agile wed dev on rails. i am still at the beginning of the book trying to create the scaffold for the depot_development database. Everytime i run the generate scaffold products admin, i recieve the "before building the scaffold, try to create a table for model products" etc... a few questions: 1. How does ruby know that
2006 Mar 08
12
best way to combine results from two tables
I want to combine a selection of data from two tables and display it as list. Note that this isn''t a join. i''m looking for something like this: Table 1: Sheep Name, Age, Farmer, etc. (sheep specific columns) Table 2: Cows: Name, Age, Farmer, etc. (cow specific columns) For my display I nneed something like this: Farmer Jone''s Livestock: TYPE NAME AGE Cow
2006 Jun 24
2
Migrations problem with Agile Rails book
I am following the instructions on Agile Web Development with Rails book "Iteratio E1: Capturing an Order" section. When I run the migrations I get the following error. rake db:migrate (in /Users/balaparanj/work/depot) -- execute("alter table line_items \n add constraint fk_line_item_products \n foreign key (product_id) references products(id)") rake
2006 Jul 02
2
:include breaks has_many :order
It would appear that using :include on a model that has_many with an :order on another model makes it so that the order is ignored. Is this supposed to happen? Strikes me as odd behavior. For example class Farmer < ActiveRecord::Base has_many :cows, :order => ''position'' end class Cow < ActiveRecord::Base acts_as_list :scope => :farmer end If I do