Jump to content

Can someone explain these DB Name fields etc please


sudodo
 Share

Recommended Posts


I'm not sure that I really follow this page;

http://imgur.com/a/hCxqg

I've created a database when setting up the server, so I'm presuming that this
is what's being asked for here?

The page linked for getting setup 

http://webdesign.tutsplus.com/tutorials/how-to-install-and-setup-processwire-cms--cms-25509
doesn't really mention anything about these fields.

After trying to use the user name on the server, and the password that I entered
when setting up the mySQL to start with I got the following error (so I had
filled in "DB Name"={some name that I thought up }, "DB user" = {name of user on
server}, "DB pass" = {pass i set up for mySQL});

http://imgur.com/a/cgFKq

After this i tried using

db name; {whatever}
db user; {name of user on server}
db pass; {password for user on server}

This didn't work either, so I'm not sure what I'm meant to put here.
 

Link to comment
Share on other sites

Did you set up a new database and user specifically for this ProcessWire installation? If so, you would have had to give it a database name, username, and a password. That is what's being asked for here. Usually the port is 3306 and host is localhost, so that should be good.

This would be different from just a generic MySQL setup.

  • Like 1
Link to comment
Share on other sites

i've done nothing except setup LAMP then go through the processwire install up to this point. 

I thought this would setup the db, I can't find a guide on this part. I don't know what these errors mean. 

I don't know if this is useful 

 

w0n6uEL.png 

Link to comment
Share on other sites

@renobird from the page "If the database does not exist, we will attempt to create it", this implies that it should work? And in the setup guide id didn't go through setting up a database for use with processwire I don't think. 

OK cool though - so I need to create a database (anything specific about it?) 

 

@LostKobrakai yes this is what i thought... So this access is a problem then isn't it? I don't know why the access isn't there? I've followed the guide, is there something that I should check here? 

 

Thanks

Link to comment
Share on other sites

@renobird no problem ;) It seems i haven't been prepared! 

If you could link me to a suitable guide on what to setup though that would be appreciated, as I've never actually setup a database before D: 

Then I can try with the details made.

BTW - I can't launch mysql from the command line on the server unless I use sudo, I'm not sure if this means anything or not. 

Thanks

Link to comment
Share on other sites

If you're doing this from the command line and are already logged into MySQL, here are the commands to use:


    1.    create database databasename;
    2.    \u databasename
    3.    create user 'databasename_u'@'localhost' identified by 'password';
    4.    grant all on databasename.* to 'databasename_u'@'localhost';

 

Replace "databasename" with the name you want for your database.

Link to comment
Share on other sites

Just now, sudodo said:

@szabesz I've installed LAMP already - this is (i think) about the interaction between PW and the server... or something along those lines. 

At the and of the video, you can see how to setup the database. This is what I found, but you might be able to find better tutorials. I've never used LAMP, but phpMyadmin comes with it, so you can just look for phpMyadmin tutorials.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...