LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-13-2009, 11:50 AM   #1
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Rep: Reputation: 15
Drupal Database configuration


I have got to Database configuration basic options in Drupal 5.2. in connection with a server in Ubuntu 8.04.
Database type, Database username and Database password where already entered and a radio button high lighted on mysql. I can't workout what I put in Datarbase name as it says The name of the datarbase your Drupal data will be stored in. It must exist on your server before Drupal can be installed.
I have looked in FAQ but that has confused me more. I have installed all the files for the server and this is the last thing I have to do. I would appreciate any help regarding this.
 
Old 11-13-2009, 05:55 PM   #2
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
Before you do the configuration on the web, you need to set up the database in MySQL.

Login to MySQL as root and execute the following commands (choosing an appropriate database name, user name, and password):

Code:
> create database <databasename>;

> GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES ON <databasename>.* TO '<username>'@'localhost' IDENTIFIED BY '<password>';

> flush privileges;
Then, when you get back to the web setup of drupal, use the <databasename>, <username>, and <password> that you chose.

Last edited by choogendyk; 11-13-2009 at 05:57 PM.
 
Old 11-14-2009, 11:47 AM   #3
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
Thanks, I have forgot how to login into MySQL could you put me right on that?
 
Old 11-14-2009, 01:30 PM   #4
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
Sounds like you are going to need to dive in and learn some basic stuff about MySQL. You can start here http://dev.mysql.com/doc/refman/5.0/en/tutorial.html. Then, presuming you have MySQL running, you connect from the command line with `mysql -uroot -p` and supply the password when asked. The root account and password should have been set up when you installed and configured MySQL.

If you are running a Drupal site, you will then also want to know how to dump or backup your database. Continue with the tutorial linked above, and ask questions when you have them.
 
Old 11-26-2009, 08:50 AM   #5
ex-para
Member
 
Registered: Sep 2008
Location: North East England
Posts: 120

Original Poster
Rep: Reputation: 15
I have read extensively regarding Mysql but I still cant get a running server. I go to phpMyaDmin and it has my username and password (I put no password in while installing) I click on go and get error # 1045-Access-denied for user acme@localh phpMyaDmin using password yes. I go back to phpMyaDmin delete the password and the up it comes. I type localhost in the title bar and get it works, I type 127.0.0.1 and get it works. I got to Drupal database configuration and the mysql button in highleted, database name is blank, database username is filled using acme, database password is filled in but I did not enter any password at the install. I just don't know how to do the daterbase name. I have read many how to's but they stop at the database configuration.
 
Old 11-26-2009, 09:21 AM   #6
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
Go back to my original reply - post #2 above, and it gives you the commands for doing it. When you installed MySQL you had to specify the root password for MySQL.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MythTV Configuration Issues - cannot login to database EmrldDrgn Linux - Software 5 08-12-2009 10:40 AM
Neither Drupal nor phpMyAdmin can connect to database jnojr Linux - Software 3 07-10-2009 02:37 PM
LXer: Firebird database Configuration LXer Syndicated Linux News 0 05-07-2006 07:33 PM
unable to reload database of dns configuration vijaysh Debian 1 12-28-2004 04:57 AM
Database Configuration Assistent problem Oracle 9.2.0 RH9 agts Linux - Newbie 1 03-31-2004 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration