Displaying 20 results from an estimated 8000 matches similar to: "MySQL Unit Test Login Failure"
2006 Feb 13
8
postgres and rake
am in a bit of a quandry...
I have asked postgresql-users list and haven''t gotten anything to work
with...
> > How do I change the owner of a schema?
> >
> > ALTER SCHEMA "public" OWNER to "some_user"; #?
>
>
http://www.postgresql.org/docs/current/interactive/sql-alterschema.html
>
> The docs explain this very situation. HTML
2007 Dec 03
1
install and mysql issues
this is the versions i have installed:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Mark Johnson>ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
C:\Documents and Settings\Mark Johnson>rails -v
Rails 1.2.6
C:\Documents and Settings\Mark Johnson>mysql -v
ERROR 1045 (28000): Access denied for user
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.
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
2008 Feb 05
9
ActiveResource / Creating an API
Hi,
I am currently looking at creating an api for a new RESTful app built
using rails 2.0. The two solutions I have come across seems to be
ActiveResource and ActionWebServices.
Although there seems to be plenty of documentation for the older
ActionWebServices (both online and in books), this does not seem to be
the case for ActiveResource.
Does anyone know of any decent articles / screencasts
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 =>
2005 Sep 04
4
mysql
I just installed CentOS 3.5. Included in the install was mysql. When
trying to start it using: service mysqld start. The system responds
with mysqld not recpognized as a service. When trying to use
/usr/bin/mysql I receive this error: ERROR 2002: Can't connect to local
MySQL server through socket '/var/lib/mysql/mysql.sock' (2). A search
of the system does not reveal
2013 Apr 04
5
Unable to set MySQL root password
Hi,
Using this module https://forge.puppetlabs.com/puppetlabs/mysql as
described on documentation:
class { ''mysql::server'':
config_hash => { ''root_password'' => ''foo'' }
}
But, couldn''t set password after logging getting error: Access denied for
user ''root''@''localhost'' (using password:
2008 Apr 29
10
Better way to remove value from list??
I''ve got a field in a database that contains a string of ids.
I want to be able to remove an item from that list and save the list
again. The only way I saw how to do this was to convert it to an array
and back to a string again.
The variable names are for an example.
This code works, but I don''t think that it''s efficient. It''s all in my
controller.
2006 Jan 22
2
a newbie doomed in the first introduction to ruby.
Hello,
I have bought the Dave Thomas Agile Developtment with Rails. (I have
previously bought and read his Programming with Ruby book)
On my winxp sp2 system ruby 1.8.15 (one click installer), rails
1.0framework (with ruby gems) and mysql
5.0 are installed.
While following the example stated in the Chapter Building an Application I
had following problem.
After creating databases for test,
2011 May 02
2
Re: Caution when deleting .wine ...
jjmckenzie wrote:
> On Mon, May 2, 2011 at 1:16 AM, topher.becca <wineforum-user at winehq.org> wrote:
>
> >
> > When I entered 'rm -rf ~/.wine' it says:
> > rm: /Users/christopherwelch/.wine/drive_c/Program Files/Inbox Toolbar: Permission denied
> > rm: /Users/christopherwelch/.wine/drive_c/Program Files: Directory not empty
> > rm:
2008 Feb 22
12
DRY - in controller or model????
Hello.
I''m trying to make clean efficient code and would like to find out if
there is a "BEST" way to write code. I want this to run quickly and
efficiently for my app.
I''ve got a form that needs a select list created for new and edit
functions. Same list.
Do I do this in the controller and reference @list in the forms?
def new
@list = %w { apple orange banana }
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
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
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:
>
2017 Nov 16
2
Log rotation and combining...
I have recently noticed that my dovecot-deliver.log is huge and wanted to start rotating it. So a couple of questions:
1. Can the dovecot-deliver.log be combined with the maillog, that gets rotated weekly? If it can be done, is it advisable?
Since the inception of this particular server, the log file has been located in the /home/vmail directory. Is there a reason it shouldn?t be located in
2012 Feb 06
1
Callmanager 4 Asterisk Malformed/Missing URL
Hi,
?
I am currently trying to get a Cisco Callmanager 4.1 and an Asterisk server (1.6.2.21) to talk via a SIP trunk so I can use the Voicemail component of the Asterisk (all the phones are associated with the Callmanager).
The connection seem to be there. When I do a "sip show peers" on the Asterisk server?I see the Callmanager as Monitored and online however I can't get any calls
2010 Jul 08
4
testing authentication with basic_auth
hi, I''ve got an api which is using
authenticate_or_request_with_http_basic
What are you guys using to test this? I''m using rspec, and before I
was using rspec-rails, I was using authorize from Rack::Test to do the
authentication. However, authorize clearly doesn''t work when using
rspec-rails, so I''m wondering what everyone else is doing?
--
You received this
2006 Feb 08
8
Strategies for Unit testing 2 databases
Hi,
My application spans 2 (or more) databases for some very specific
reasons... My models are working fine, even dynamically establishing
connections as needed at runtime, and spanning relationships across the
databases (which really impressed me). The problem is, I can''t seem to
force Units for these models (that use a secondary db) to load their
fixtures into and use the