Displaying 20 results from an estimated 600 matches similar to: "install and mysql issues"
2010 Jan 20
4
Rake Aborted wont Migrate mysql
Hello all, I''ve been trying to get ruby on rails to work with my local
install of mysql(its with wamp). Windows XP, Ruby 1.8.6, rails 2.3.5,
rubygems 1.3.5, mysql 5.2 something I believe.
I have ruby installed in:
C:\Ruby
and my mysql is installed in:
C:\wamp\bin\mysql\mysql5.1.30\bin
I''ve attempted to change my database.yml file to include the port 80,
and port 3036, the
2009 Aug 06
20
Changing from database sqlite3 to mysql - windows
Hi Guys
I''d like to know how to change from using sqlite3 to mysql. I''m
running windows xp. What is the command that I must type under my
application folder? How to I log into the mysql database afterwards?
My database.yml file contents at the moment are:
# SQLite version 3.x
# gem install sqlite3-ruby (not necessary on OS X Leopard)
development:
adapter: sqlite3
2009 Aug 31
1
mysql error
Hi List i'm trying to setup my sever but in my terimal all i seam get is this message but cant go on .
could someone help us out
many thx's
Mike
yum install mysql mysql-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.optus.net
* updates: mirror.optus.net
* addons: mirror.optus.net
* extras: mirror.optus.net
Setting up Install Process
2013 Feb 02
2
rake db:migrate problem
mini@mini:~/Sites/music_library$ rake db:migrate
rake aborted!
couldn''t parse YAML at line 28 column 6
/home/mini/my_gems/gems/railties-3.2.9/lib/rails/application/configuration.rb:115:in
`database_configuration''
/home/mini/my_gems/gems/activerecord-3.2.9/lib/active_record/railtie.rb:78:in
`block (2 levels) in <class:Railtie>''
2010 Jul 02
22
MySQL not Connected ...... *pull hair*
I''m trying to run " rake db:migrate " and im getting an error back:
------------------------------------------------------------------------
C:\wamp\www\demoproject>rake db:migrate
(in C:/wamp/www/demoproject)
rake aborted!
Mysql::Error: query: not connected: CREATE TABLE `schema_migrations`
(`version`
varchar(255) NOT NULL) ENGINE=InnoDB
(See full trace by running task
2017 Nov 17
2
Log rotation and combining...
That doesn?t seem to work either. Where do I find logs for log rotation to see the reason it failed?
Ethon
> On Nov 16, 2017, at 7:53 PM, Bill Shirley <bill at KnoxvilleChristian.org <mailto:bill at KnoxvilleChristian.org>> wrote:
>
> I believe you need a 'create' statement to set the permissions. Here
> is an example for mariadb:
>
2008 Jan 15
2
Installing Ruby on Rails - missing the "Components" folder.
Hi,
I''m trying to get up and running on rails.
I''m on Vista 32 and have installed instant rails on C:\InstantRails
from: http://instantrails.rubyforge.org/wiki/wiki.pl
I''ve done the "gem update --system" and "gem install rails --include-
dependencies"
When I run the "rails music_library" command from rails_apps
directory I get the default
2011 Apr 03
3
error: 'Access denied for user 'root'@'localhost' <using password: NO>'
rails railscoders --database=mysql
created the directory with folders except for a ''components/'' folder
which Practical Rails by Alan Bradburne lists as one of the folders
created.
Continuing with:
mysqladmin -u root create railscoders_development
returns this:
mysqladmin: connect to server at ''localhost'' failed
error: ''Access denied for user
2009 Aug 05
2
MySQL noob question: Where can I find the database when I create one?
See my screenshot of the command here.
http://a.imagehost.org/0843/mysqladmin.png
When I type the following:
mysqladmin create <database_name> --user=root --password=xxxxxxxx
Is my command executed simply by pressing "Enter" after the command?
Am I missing some syntax?
If the command has been executed , what directory can I find this
database?
How does this relate to MySQL
2017 Nov 17
2
Log rotation and combining...
So, the question is, why can I rotate the log manually, but cron returns a permission error? Do I need to tell cron to run it as sudo or something like that?
Ethon
> On Nov 17, 2017, at 2:29 AM, Tom Hendrikx <tom at whyscream.net <mailto:tom at whyscream.net>> wrote:
>
> Hi,
>
>
> Your crontab should normally mail you error output. But you can also run
> the
2011 Oct 11
3
/etc/init.d/mysql =fail mysqld=success
Hello.
This is my mysql-server.pp file, both master and client are runing
ubuntu.
--------------------
class mysql-server {
package { "mysql-server": ensure => installed }
package { "mysql-client": ensure => installed }
service { "mysql":
enable => true,
ensure => running,
require => Package["mysql-server"],
}
file
2007 Oct 21
2
cmd mysql
Hey everybody,
I've been using mysql databases more and more. I've run across a couple
of instances where I've either made a mistake on the ip address of the
mysql database or for whatever reason, mysql wasn't running. In those
instances, I've noted that the mysql command will hang indefinitely
(I've counted to 40 before killing it).
The offending line is:
exten =>
2010 Mar 23
3
NoMethodError in AdminController#index
I am newb in ror. I''ve googled and found no concrete answer to my
problem below:
NoMethodError in AdminController#index
undefined method `scaffold'' for AdminController:Class
RAILS_ROOT: /home/darwin/Sites/music_library
Application Trace | Framework Trace | Full Trace
/home/darwin/Sites/music_library/app/controllers/admin_controller.rb:3
2014 Oct 06
2
restarting mysql databases
I am doing an install of a mysql system, and decided that I needed to
change some things like host name. So I have to go back to square one
with the mysql setup, but can't find any instructions for this. I TRIED:
mysql_install_db
And it did SOMETHING, but
mysqladmin -u root password 'mypass'
failed with:
mysqladmin: connect to server at 'localhost' failed
error:
2003 Apr 24
1
RMySQL crash under R 1.7.0, but not 1.6.2
Hi,
I was able to connect to a MySQL database (called "zooscan" and with a table
"serie" under Win XP with R 1.6.2 using:
> library(DBI)
> library(RMySQL)
Warning message:
DLL attempted to change FPU control word from 8001f to 9001f
> drv <- dbDriver("MySQL")
> con <- dbConnect(drv, dbname="zooscan")
> dbExistsTable(con,
2005 Jan 01
1
Problems to use asterisk with mysql /odbc
hi, i.m. newbie in asterisk. asterisk 1.0.3 is my current version.
i like to store usernames and passwords in a sql database.
i like to log failed authentification-passwords, to create a blacklist for
securityreasons.
i thingk a sql-database is a good way to log these actions.
i don.t find debugging-options to output invalid login-passwords.
Ok, i have made the following:
debian is my OS.
2013 Mar 06
4
Apache attacks - you can't stop them, or can you?
So I have this nice, simple web server up running. Its purpose is to
allow me external testing with HIP, and to provide some files for
external distribution. Of course, there it is sitting on port 80 and
the attacks are coming in per logwatch report. Examples from the report
include:
Requests with error response codes
404 Not Found
//phpMyAdmin-2.5.1/scripts/setup.php: 1
2013 Sep 13
2
MySQL 5.1.69 at CentOS 6.4 doesn't know enable-named-pipe?
Hello,
I've only had experience with PostgreSQL sofar,
but have now to install MySQL (and WordPress)
on a CentOS 6.4 /64 bit server.
I have installed the mysql-5.1.69-1.el6_4.x86_64
package and executed the following commands:
# chkconfig mysqld on
# service mysqld start
# /usr/bin/mysqladmin -u root password 'xxxxx'
# /usr/bin/mysql_secure_installation
Then I've noticed that
2006 Mar 03
1
roobie noobie migration question
I''m just at the "reading various rails tutorials" stage.
One thing that has puzzled me a couple of times so far is the fact that
the creation of the database is not part of the "migration".
The steps as I''ve seen them are always:
1) $ rails myapplication
2) $ mysqladmin yadda yadda to create a table
3) $ script/generate migration myWickedTable
4) put rows
2006 Jun 06
0
Re: [ocruby] iteration A1 in ebook: scaffold gets: routing error
At 02:42 AM 6/6/2006, you wrote:
>hi, on page 82 of second edition, getting stuck after
got past that, must have been doing something wrong. ended up writing
the script below:
thanks
set -x
base=i:/work
PATH=/cygdrive/$base:$PATH
name=depot
cd $base
rm -rf depot
ls
mysqladmin -f -u root drop ${name}_development
mysqladmin -u root create ${name}_development
mysqladmin -f -u root drop