search for: createuser

Displaying 20 results from an estimated 66 matches for "createuser".

2007 Feb 08
2
uninitialized constant CreateUsers
what could be causing this? * Execute environment ** Execute db:migrate rake aborted! uninitialized constant CreateUsers -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gm...
2007 Apr 10
2
postgres 7 - CentOS 4.4
Hi Firstly apologies but i have to install an app that uses postgres but i am more a MySQL/Oracle guy so i maybe doing something really wrong here.. I am following instructions for creating a DB user and encountering this # createuser -ADP -U postgres foo Enter password for new user: Enter it again: createuser: could not connect to database template1: FATAL: IDENT authentication failed for user "postgres" In a standard postgres install whats causing this? I presume its because the user postgres has a pwd but what i...
2009 Aug 31
3
Migration - wrong SQL statement is created
Hi, I am doing my first steps with RoR and I have the following problem: I execute my migration file with the following content on a MySQL-database via Rake: <code> class CreateUsers < ActiveRecord::Migration def self.up create_table :users do |t| t.integer :id t.string :username, :size => 100 t.string :password, :size => 100 t.string :email, :size => 100 t.timestamps end end def self.down drop_table :users end en...
2006 Mar 24
10
innodb vs myisam
Hi, I have been using myisam tables in mysql with rails because my client will soon want fulltext searchable content, however when I migrated my development db from schema.rb all of the tables generated were innodb. I understand that I can override this, but also like the transactions and foreign keys of innodb. So 2 questions really: 1. are transactions in activerecord dependent on innodb or do
2007 Nov 12
7
schema_info always wants to be 3, even when set to 7
Hi all, I''m having a very odd problem with db:migrate. I''m using Rails 1.2.5 on Windows XP SP2 and Ruby 1.8.6 I have seven migrations. If I run them with an empty database, it runs the first three, then halts. When I look in schema_info, the version is 3. If I run db:migrate VERSION=7, then it runs through the remaining 4 migrations, and the version is 7 in the DB.
2007 Oct 30
4
Postgresql and shell script
I have a shell script (sh) where I create a user and import data to a postgres database <snip> su -c "createuser -A -D -P $PG_user" postgres su -c "psql -d$PG_database -h localhost -U$PG_user -W -f postgresql.sql " postgres </snip> when the script executes those command, it ask for a password, how could I do this without have to enter the passwd, I would like that it reads the password f...
2009 Apr 21
2
problem with sqlite3....
...I got a file named 20090421211825_create_users.rb created. and in app/models : user.rb got created. in user.rb.. i have written like this class User < ActiveRecord::Base validate_uniqueness :userid validate_presence_of :username end in 20090421211825_create_users.rb, its like this class CreateUsers < ActiveRecord::Migration def self.up create_table :users do |t| t.integer :userid t.string :username, :limit => 32 t.timestamps end end def self.down drop_table :users end end after I am done... I did rake db:migrate version=20090421211825 == Create...
2005 Mar 06
3
permission error in rake''s clone_structure_to_test
Hello, When I try to run "rake clone_structure_to_test" on my project, I get the following errors: $ rake clone_structure_to_test (in /home/www/cedscreening) psql:db/development_structure.sql:8: ERROR: permission denied to set session authorization psql:db/development_structure.sql:16: ERROR: permission denied for schema public psql:db/development_structure.sql:34: NOTICE: CREATE
2009 Nov 05
2
Rebased patches...
I've rebased these patches to ensure they're up to date.
2009 Oct 28
2
Refactoring of storage admin and node
This patch set supercedes the previous set, and incorporates feedback from jboggs. There is a known issue in configuring volumes on an iSCSI pool that makes them unsupported at the moment. This code functions identical to virt-manager in that regard.
2009 Oct 29
1
[PATCH] Enables users to migrate virtual machines between hosts.
.....f213e09 100755 --- a/nodeadmin/nodemenu.py +++ b/nodeadmin/nodemenu.py @@ -26,17 +26,19 @@ from startdomain import StartDomain from stopdomain import StopDomain from removedomain import RemoveDomain from listdomains import ListDomains +from migratedomain import MigrateDomain from createuser import CreateUser import utils import logging -ADD_DOMAIN = 1 -START_DOMAIN = 2 -STOP_DOMAIN = 3 -REMOVE_DOMAIN = 4 -LIST_DOMAINS = 5 -CREATE_USER = 6 +ADD_DOMAIN = 1 +START_DOMAIN = 2 +STOP_DOMAIN = 3 +REMOVE_DOMAIN = 4 +LIST_DOMAINS = 5 +MIGRATE_DOMAIN = 6 +CREATE_US...
2009 Sep 23
2
[PATCH node] Introduces the virtual network administration functions.
...y diff --git a/Makefile.am b/Makefile.am index 2d195c0..abb7c33 100644 --- a/Makefile.am +++ b/Makefile.am @@ -28,17 +28,26 @@ EXTRA_DIST = \ images/syslinux-vesa-splash.jpg \ nodeadmin/__init__.py \ nodeadmin/configscreen.py \ + nodeadmin/createnetwork.py \ nodeadmin/createuser.py \ nodeadmin/destroydomain.py \ + nodeadmin/destroynetwork.py \ nodeadmin/halworker.py \ nodeadmin/libvirtworker.py \ nodeadmin/userworker.py \ nodeadmin/mainmenu.py \ + nodeadmin/menuscreen.py \ + nodeadmin/netmenu.py \ + nodea...
2009 Aug 31
1
Fixed patch...
This version of the patch includes feedback from jboggs at redhat.com, including fixes to the BuildRequires and Requires in the spec file.
2009 Jul 31
2
RFC: This patch is not being submitted for ACK...
...just looking for some feedback on the direction I'm going. The code won't get all the way to the define stage since I'm in the middle of retrofitting it to use virtinst instead of a home spun node definition.
2009 Sep 11
1
Text-based node administration tool
This patch obsoletes any previous ones. This is an upstream candidate, so I'm looking for feedback so we can push this and start using it.
2009 Sep 14
1
Bugfixes...
This version fixes a few bugs found by jboggs. It also includes some logging facilities that need to be fleshed out more.
2009 Sep 16
1
Final push candidate for nodeadmin tool...
This patch is ready for pushing upstream.
2009 Sep 16
1
Replacement that includes utils.py
The previous patch was missing this file. Resending.
2006 Apr 25
0
Migrate default now()
I want to set default value to current time of database: class CreateUsers < ActiveRecord::Migration def self.up create_table :users do |t| # ... t.column :created_at, :timestamp, :null => false, :default => ''now'' end end #... end On postgresql, it is converted to: created_at timestamp NOT NULL DEFAULT ''2006-...
2011 Apr 04
1
Postgresql uses sockets - but I'd like to use TCP/IP
Hi Folks, CentOS 5.5 - Postgresql 8.4 Installed - startet try to createuser -d- -a -p username get message could not connect to server: Connection refused Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.0"? postrgesql.conf has line listen_addresses = '192.168.0.2' Why sockets (in /tmp...