search for: mysql_query

Displaying 20 results from an estimated 52 matches for "mysql_query".

2009 Aug 15
10
** PLEASE HELP A NEWBIE ** Status: 500 Internal Server Error no such file to load -- mysql
Hello All, I have managed to upgrade ruby to 1.8.7. However, when I use Terminal and ''cd'' to the app and run ''ruby script/ server'' ... I get an error when i click the link ''about your applications environment''. When I look into Terminal, it suggests Status: 500 Internal Server Error no such file to load -- mysql How do I overcome this?
2006 Mar 01
5
Error installing the MySQL Ruby bindings?
...--without-mysqlclientlib ERROR: While executing gem ... (RuntimeError) ERROR: Failed to build gem native extension. Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection. ruby extconf.rb install mysql -- --with-mysql-dir=/usr/local/mysql\nchecking for mysql_query() in -lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main(...
2006 Apr 30
3
Problem(?) updating gems - mysql gem
...39;' Select which gem to install for your platform (powerpc-darwin8.6.0) 1. mysql 2.7.2006.04.21 (mswin32) 2. mysql 2.7 (ruby) 3. mysql 2.6 (ruby) 4. mysql 2.5.1 (ruby) 5. Cancel installation > 2 Building native extensions. This could take a while... ruby extconf.rb update checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main(...
2012 Nov 12
3
Unable to lauch php-script to truncate database
...DBPassword); mysql_select_db($DBName,$conn); /************************************************************** emptying zzsys_trap and zzsys_variable tables **************************************************************/ $sql = "TRUNCATE TABLE zzsys_trap"; mysql_query($sql); $sql = "TRUNCATE TABLE zzsys_variable"; mysql_query($sql); /************************************************************** Deleting temp tables **************************************************************/ $result=mysql_query("SHOW TABLES F...
2009 Feb 09
13
mysql install problem
...ma098 eduardocirilo$ gem install mysqlBuilding native extensions. This could take a while...ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /Applications/EdUtils/Locomotive2/Bundles/standardRailsSept2006.locobundle/i386/bin/ruby extconf.rb install mysql checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main()...
2005 Oct 22
2
problem with "gem update mysql"
...9;' Building native extensions. This could take a while... ERROR: While executing gem ... (RuntimeError) ERROR: Failed to build gem native extension. Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/mysql-2.6 for inspection. ruby extconf.rb update mysql\nchecking for mysql_query() in -lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main(...
2006 Apr 04
6
connecting to mysql on OS X 10.4
...orge.org Building native extensions. This could take a while... ERROR: While executing gem ... (RuntimeError) ERROR: Failed to build gem native extension. Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/ mysql-2.7 for inspection. ruby extconf.rb install mysql\nchecking for mysql_query() in - lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for mai...
2009 Apr 07
12
Problem with MYSQL after re-installing rails
...ql -- --with-mysql-dir=/usr/local/mysql And get: ########## Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/local/bin/ruby extconf.rb install mysql -- --with-mysql-dir=/usr/ local/mysql checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main(...
2007 Nov 29
6
Locomotive: Can not install mysql gem
...et the mysql gem installed? Ronald Error Message: Building native extensions. This could take a while... ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError) ERROR: Failed to build gem native extension. ruby extconf.rb install mysql -- --include=/usr/local/lib checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main()...
2006 Feb 25
20
Agile Rails book code fails page 32
Starting Agile Web Development with Rails, page 32, everything has worked well so far but on (book not pdf) page 32 I don''t get the "Template Is Missing" error. I get Routing Error Cannot load config/routes.rb: No such file to load -- ./demo/script/../config/../config/routes.rb There is a file at e:\ruby\ror\work\demo\config\routes.rb It''s all greek to me and
2010 Dec 22
2
Please help with installing mysql gem to linux machine w/ xampp
...when I try to install the mysql gem (via: $sudo gem install mysql -with-mysql-config=/opt/lampp/bin/mysql_config), I get: Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main(...
2006 Apr 30
0
Posts not getting through (was problems with MySQL gem
...ysql'' Select which gem to install for your platform (powerpc-darwin8.6.0) 1. mysql 2.7.2006.04.21 (mswin32) 2. mysql 2.7 (ruby) 3. mysql 2.6 (ruby) 4. mysql 2.5.1 (ruby) 5. Cancel installation 2 Building native extensions. This could take a while... ruby extconf.rb update checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main(...
2006 Mar 30
2
Rails lost connection to MySQL server!
I getting this error on my project Mysql::Error: Lost connection to MySQL server during query: SHOW FIELDS FROM ... i think that it''s because the mysql database don''t allow persistent connections ..... any idea? thanks -- _________ Noel R. Morais
2008 Sep 22
0
проблема gem install mysql CenOS
.../rails-on-agava-vps ), поставить rails на CentOS 5.2. Когда пытаюсь поставить gem install mysql, получаю: Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby extconf.rb install mysql checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main(...
2005 Jan 04
2
rails on windows?
hi all, i''m new at rails, new at ruby. i''ve installed ruby (1.82.) and rails on windows 2000 so, two questions. one:, the mysql gem is giving me a "Failed to build gem native extension." by the way, i also get this error when installing on my linux box at home. two: can i run rails on IIS? --****Florida has a very broad Public Records Law. Virtually all
2013 Sep 20
3
having problem to install the gem `mysql`
...aving problem to install the gem `mysql`. kirti@kirti-Aspire-5733Z:~$ gem install mysql Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /home/kirti/.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb checking for mysql_query()... -lmysqlclient checking for main() in -lm... yes checking for mysql_query()... -lmysqlclient checking for main() in -lz... yes checking for mysql_query()... -lmysqlclient checking for main() in -lsocket... no checking for mysql_query()... -lmysqlclient checking for main() in -lnsl... yes checki...
2005 Jan 22
6
Still having config problems
Hi, Having completely failed to sort out my apache 500 error, I thought I would work through the "Rolling with Ruby on Rails" tutorial at http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html I am using webrick, not apache - and still getting 500 errors. When I get to page 4 where http://127.0.0.1:3000/recipe/new should give me a data entry screen, instead I get...
2003 Dec 09
3
Web Interface for CDRs
Does anyone know where that nice .php is that was written to access the CDRs from mysql DB? Bruce W. Hedreen Computer Technologies of Eastern Carolina, LLC --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.543 / Virus Database: 337 - Release Date: 11/21/2003 -------------- next part -------------- An HTML attachment was
2012 Jan 09
2
create table in mysql using asterisk
...sultid ${connid} CREATE TABLE IF NOT EXISTS "conference_600" ("id" int(11) NOT NULL auto_increment, "channel_id" varchar(40), "number_in_line" int(2), PRIMARY KEY("id")") and this is the warning that i get in the cli: app_addon_sql_mysql.c:383 aMYSQL_query: aMYSQL_query: mysql_query failed. Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"conference_600" ("id" int(11) NOT NULL auto_increment, "channel_id" varchar(40)' at...
2006 Jan 05
5
Lost connection to Mysql
...39;' Building native extensions. This could take a while... ERROR: While executing gem ... (RuntimeError) ERROR: Failed to build gem native extension. Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection. ruby extconf.rb install mysql\nchecking for mysql_query() in mysqlclient.lib.. . no checking for main() in m.lib... yes checking for mysql_query() in mysqlclient.lib... no checking for main() in z.lib... no checking for mysql_query() in mysqlclient.lib... no checking for main() in socket.lib... no checking for mysql_query() in mysqlclient.lib... no che...