Displaying 20 results from an estimated 20000 matches similar to: "access denied for connecting to a remote webhost database"
2005 Jul 24
0
DB Connection Issue on Remote Webhost
Hey guys,
I''ve got an issue running rails on a remote machine via shell.
Everything is running great the only problem is I can''t get rails to
connect to the DB on the webhost. Here is the situation:
1. I can connect to the DB via mysql command in the shell so I know
the DB is hosted on the localhost.
2. I can connect remotely to the DB with Cocoa MySql on OSX.
but
3. I
2006 Jul 15
8
Connecting to a remote database
Hi,
I''m having trouble connecting to a remote database (mysql). I know that
my connection settings are correct, since I have a php app that is
connecting to the same database.
Are there any settings besides the following that I need in my database
config file? Any other suggestions?
development:
adapter: mysql
database: db_name
username: username
password: password
host:
2008 Oct 29
1
Problem opening stub database for writing
I'm using Xapian 1.0.8 and the python bindings.
I have a flint database which I can open fine by doing the following:
db_name = '/path/to/db/db-name'
database = xapian.WritableDatabase(db_name, xapian.DB_OPEN)
However, if I have stub file at '/path/to/db/db-stub' containing the following:
flint /path/to/db/db-name
db_name = '/path/to/db/db-stub'
database =
2006 Jan 18
3
legacy database on remote host
I''m getting this error in webrick then it crashes leaving nothing in the
log.
ruby: symbol lookup error:
/usr/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.so: undefined symbol:
mysql_sqlstate
Here is the standard query I would normally write to get the data.
select * from child,parent
where CONCAT(SUBSTRING(child.item_number,1,14,''00'') =
parent.order_number and
2007 Jan 26
1
rake test:x recreates tables in MySQL with server (not database) charset and collation
Any thoughts on how to avoid this problem? Already tried:
1. Setting the charset and collation in migration 001 - no effect:
def self.up
db_name = ActiveRecord::Base::connection.current_database()
execute "ALTER DATABASE #{db_name} CHARACTER SET utf8 COLLATE
utf8_bin"
end
2. Setting the charset and collation on each table individually - no
effect:
2006 Mar 31
1
rails + svn automation script
Anyone got a script to share that:
1. Creates a trunk directory
2. Creates a trunk/vendor directory
3. Adds the above to svn
4. Modifies trunk/vendor to use a certain rails revision (i.e. trunk or 1.1)
5. Runs trunk/vendor/rails/.../bin/rails to generate a rails directory skeleton
6. Modifies the svn:ignore for the logs and config/database.yml
7. Moves config/database.yml to
2006 Jan 21
2
problems in moving an application database from a local to a remote mysql server
hi.
i''ve an application which is using a local mysql server (on
localhost). i then moved the mysql server to another machine (remote
host) and changed accordingly the "database.yml" file.
when i launch webrick from the "localhost", it can connect to the
database but as soon as i call a controller of the application (for
example
2013 Jun 10
1
[LLVMdev] Cannot submit LLVM test-suite results to the database using LNT tool
Hello,
When I was running the LNT testing for LLVM test-suite, it failed to submit the results to database.
The command is:
lnt runtest --submit db nt
--sandbox sandbox --cc clang --cxx clang++ --test-suite ./test-suite-3.2/ --llvm-src ~/projects/llvm/llvm --llvm-obj ~/projects/llvm/llvm_build/ --test-style=nightly --only-test MultiSource/Benchmarks/mediabench/
When submitting the results
2011 Jun 09
2
nginx + passenger + mongoid
When I set the rails_env to production in nginx.conf I get:
Error message:
db_name must be a string or symbol
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
2012 Jul 06
3
Access denied for user 'dashboard'@'localhost' to database 'dashboard_production'
followed the instruction for installing dashboard, and created user
mysql -pmy_password -e "CREATE DATABASE dashboard CHARACTER SET utf8;CREATE
USER ''dashboard''@''localhost'' IDENTIFIED BY ''my_password''; GRANT ALL
PRIVILEGES ON dashboard.* TO ''dashboard''@''localhost'';"
however, I keep getting
2013 Jun 21
2
mysql access denied on dashboard puppet
i am at a lost, i setup the db schema , database.yml and etc.... passwords
are correct.
im getting the below error, im trying to get my dashboard to work .....help
any? i also chmod the database.yml file to 660
# mysql -u dashboard -p dashboard_production
Enter password:
ERROR 1045 (28000): Access denied for user ''dashboard''@''localhost'' (using
password:
2019 Dec 15
2
Parsing variables in config files
Hello,
I'm trying to set up a mailbox for a bunch of domains.
To do so I'm running some docker containers (I know I can use multidomain
set up and I'm doing so, but I need to have some domains on different
containers for specific reasons).
In order to keep it all clean, I want to use different PostgreSQL databases
for each container, and I'm running the container with an
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
2006 Jun 28
2
Connecting to a Remote MySQL Server
Hi All.
I have one newbie question-
How do I connect to a remote MySQL server using Ruby on Rails? Is it
something simple like changing a few lines in database.yml??
Thanks in advance.
Lisa
--
Posted via http://www.ruby-forum.com/.
2005 Oct 13
0
Re: mySQL command line within rails - access denied?
-- Alex Young <alex-qV/boFbD8Meu8LGVeLuP/g@public.gmane.org> wrote:
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> You need to set
2006 Jan 18
5
access denied problem
Hello
I''ve started working through the book "Agile web development with
Rails" and so far everything has been great.
I''m on page 56, 57 trying to create the admin tool for the example
project "Depot".
I''m on OS X Panther 10.3.9. I have checked the Errata on the website
and tried some of the suggestions there, but nothing has worked. When
I
2006 Apr 18
2
Connecting to multiple databases with multiple database users
Hi everyone,
I was wondering what the common practice for handling multiple db
users with fine grained privileges on multiple databases is. Against
the often read guideline for rails users to keep with a single db as
"more dbs don''t really make sense anyway", my opinion is that it DOES
make sense to use more than one db schema for a number of reasons that
I won''t
2006 Jan 24
2
SwitchTower and multiple database.yml files - how do you deal with them?
Hi everyone,
What are other people doing with regards to database.yml being in
version control? My dilema:
I set up my rails app in svn using these instructions:
http://wiki.rubyonrails.com/rails/pages/HowtoUseRailsWithSubversion
The part to note is where I ignore database.yml, allowing different
developers to keep their own database.yml without clobbering other
developers'' files.
2012 Sep 18
0
[LLVMdev] Cannot import LLVM test-suite results to the database using LNT tool
Hi,
I follow quick-start guide http://llvm.org/docs/lnt/quickstart.html to
run LLVM test-suite. It looks like I either make a mistake or the
guide is not correct.
Here is the command used to run nightly test:
[[
$ lnt runtest nt --sandbox=$PWD/test-suite.bld \
--small --test-style=nightly \
--cc=$PWD/llvm.bld/Release+Asserts/bin/clang \
--cxx=$PWD/llvm.bld/Release+Asserts/bin/clang++
2006 Apr 03
2
Capistrano - how do I set up the database config?
My app is set up without database.yml in version control. I created a
shared_path/config dir, and put database.yml in it. After I update
the code, I want to link the app''s database.yml file to the shared
config. So I added this task
desc ''Copy the database config''
task :after_update_code, :roles => :app do
run "ln -s #{shared_path}/config/database.yml