Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 10-27-2007, 09:04 PM
rturner rturner is offline
Hatchling Croc
 
Join Date: Oct 2007
Posts: 27
Default Blog question

Hello,
I see that B2evolution is in the Fantastico
is it allowed on this host?
hope so just moved my site here with my blog,
but having trouble restoring my database.
I got the user name just haven't found the DB pass word yet.
Is going to be the file or url that I am trying to access?
in other words say I am trying to login to my blog
the "path" or url would be
"httP://mysitename/blog/admin.php"
That is url that I would normally login at.
so look at that file in my html editor and it should be there?
or am I missing some thing.
Thanks
R.
Reply With Quote
  #2  
Old 10-27-2007, 09:08 PM
Goddess Dix's Avatar
Goddess Dix Goddess Dix is offline
King Croc
 
Join Date: Aug 2006
Location: KS, USA
Posts: 1,466
Default Re: Blog question

Quote:
Originally Posted by rturner View Post
Hello,
I see that B2evolution is in the Fantastico
is it allowed on this host?
hope so just moved my site here with my blog,
but having trouble restoring my database.
I got the user name just haven't found the DB pass word yet.
Is going to be the file or url that I am trying to access?
in other words say I am trying to login to my blog
the "path" or url would be
"httP://mysitename/blog/admin.php"
That is url that I would normally login at.
so look at that file in my html editor and it should be there?
or am I missing some thing.
Thanks
R.
if you had a cpanel account, contact support for help in moving your account.
Reply With Quote
  #3  
Old 10-27-2007, 09:15 PM
rturner rturner is offline
Hatchling Croc
 
Join Date: Oct 2007
Posts: 27
Default Re: Blog question

my account move went pretty smooth, just did a back up then a restore
here, did the same with my blog data base just having issues there.
thought I mind find some thing here to resolve.
Thanks for the reply
R.
Reply With Quote
  #4  
Old 10-27-2007, 09:21 PM
Goddess Dix's Avatar
Goddess Dix Goddess Dix is offline
King Croc
 
Join Date: Aug 2006
Location: KS, USA
Posts: 1,466
Default Re: Blog question

your question was a little bit difficult to follow, so i figured you were confused.

if your account and db have been restored, log into your control panel, the mysql area, and add the user and password you want to connect to your database with through your control panel. this part isn't done automatically.
Reply With Quote
  #5  
Old 10-27-2007, 09:44 PM
rturner rturner is offline
Hatchling Croc
 
Join Date: Oct 2007
Posts: 27
Default Re: Blog question

Right, you are on the money,
about the me being confused and the username and password.
My problem is that I can't find my DB password.
According to the HG knowledge base it is located in the
path of my page that is giving me the error,

Don't let me confuse you! :-)

R.
Reply With Quote
  #6  
Old 10-27-2007, 09:47 PM
GvilleRick's Avatar
GvilleRick GvilleRick is offline
Emperor Croc
 
Join Date: Jan 2007
Location: Greenville, SC
Posts: 2,556
Default Re: Blog question

Generally the DB password would be included somewhere in the config file for the program. If you check in the backup of the config file you may be able to find the password and then set it up in cPanel under the MySQL options.
Reply With Quote
  #7  
Old 10-27-2007, 09:49 PM
rturner rturner is offline
Hatchling Croc
 
Join Date: Oct 2007
Posts: 27
Default Re: Blog question

Ok thanks
I'll look there.

R.
Reply With Quote
  #8  
Old 10-27-2007, 10:03 PM
othellobloke othellobloke is offline
Banned User
 
Join Date: Mar 2006
Location: Kenora, Ontario
Posts: 708
Default Re: Blog question

or you could just create a new db and import the old one into that, changing the user and password in the config file.

my advice is forget b2 - just set up wordpress and use that instead.
Reply With Quote
  #9  
Old 10-28-2007, 12:05 AM
Gary's Avatar
Gary Gary is offline
Baby Croc
 
Join Date: Oct 2007
Location: Sydney, Australia
Posts: 94
Default Re: Blog question

Quote:
Originally Posted by othellobloke View Post
my advice is forget b2 - just set up wordpress and use that instead.
I second that. WordPress is absolutely brilliant and is the blogging software that I use right now as we speak. If you want to have a look at my blog just let me know.

If in doubt and want to know more then go to www.wordpress.org (which is the main website). www.wordpress.com is if you want to host your WordPress blog with WordPress itself, which is what I do now.
__________________
Gary :: Studio Blueprint Owner :: Visit Me :: Contact
Reply With Quote
  #10  
Old 10-28-2007, 08:03 AM
rturner rturner is offline
Hatchling Croc
 
Join Date: Oct 2007
Posts: 27
Default Re: Blog question

Hey guys,
word press is good and I haven't seen much difference in the
B2 and Wordpress.
Ok you got me considering a change, Question what would be the advantage of hosting the WordPress blog my self vs. hosting it a WP?
Reply With Quote
  #11  
Old 10-28-2007, 08:29 AM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,059
Default Re: Blog question

Quote:
Originally Posted by rturner View Post
Hey guys,
word press is good and I haven't seen much difference in the
B2 and Wordpress.
Ok you got me considering a change, Question what would be the advantage of hosting the WordPress blog my self vs. hosting it a WP?
yourdomain.com instead of blogname.wordpress.com ?
Reply With Quote
  #12  
Old 10-28-2007, 09:45 AM
Goddess Dix's Avatar
Goddess Dix Goddess Dix is offline
King Croc
 
Join Date: Aug 2006
Location: KS, USA
Posts: 1,466
Default Re: Blog question

Quote:
Originally Posted by rturner View Post
Right, you are on the money,
about the me being confused and the username and password.
My problem is that I can't find my DB password.
According to the HG knowledge base it is located in the
path of my page that is giving me the error,

Don't let me confuse you! :-)

R.
what knowledgebase article are you looking at?

normally, the database password for any web application you've been using will be stored in a configuration file.

if the database has been restored for you on hg, but the password you have in your old configuration file won't work, then you need to set up the proper username and password in the mysql area of your control panel. fairly self-explanatory if you read that area of the control panel.

or you can set up a totally new username/password on your control panel, and add that info to your configuration file, and boom, you're good to go.

while wordpress is very nice software, i wouldn't suggest someone switch software because they are having difficulty figuring out the database connection. you'll have even more to figure out with a complete switch and it will hardly simplify your process.
Reply With Quote
  #13  
Old 10-28-2007, 09:46 AM
Gary's Avatar
Gary Gary is offline
Baby Croc
 
Join Date: Oct 2007
Location: Sydney, Australia
Posts: 94
Default Re: Blog question

Quote:
Originally Posted by rturner View Post
Ok you got me considering a change, Question what would be the advantage of hosting the WordPress blog my self vs. hosting it a WP?
Quote:
Originally Posted by _Sam_ View Post
yourdomain.com instead of blogname.wordpress.com ?
_Sam_ is correct, however there are various other features that you get when hosting directly with WordPress to hosting the blog yourself. Take a look at this page (http://wordpress.com/features/) for the complete list. Just by reading the headings, I didn't see anything in regards to updates. Whenever there is an update/bug fix/new version, etc, WordPress upgrade your blog automatically without any problems at all. Just recently they added the tags feature.

I am sure you will love it.
__________________
Gary :: Studio Blueprint Owner :: Visit Me :: Contact
Reply With Quote
  #14  
Old 10-28-2007, 10:42 AM
rturner rturner is offline
Hatchling Croc
 
Join Date: Oct 2007
Posts: 27
Default Re: Blog question

Goddess Dix
Right again! My pass word was in a config file, but some thing or I have screwed up some where. It is still giving me the same error.
I agree about not changing software just because of a DB connect
error. So I will continue to try and figure out.
This is the article I have been looking at
http://support.hostgator.com/index.p...barticleid=162
Reply With Quote
  #15  
Old 10-28-2007, 10:46 AM
Goddess Dix's Avatar
Goddess Dix Goddess Dix is offline
King Croc
 
Join Date: Aug 2006
Location: KS, USA
Posts: 1,466
Default Re: Blog question

Quote:
Originally Posted by rturner View Post
Goddess Dix
Right again! My pass word was in a config file, but some thing or I have screwed up some where. It is still giving me the same error.
I agree about not changing software just because of a DB connect
error. So I will continue to try and figure out.
This is the article I have been looking at
http://support.hostgator.com/index.p...barticleid=162

if you know what username and password you want to connect with, you have to ADD it manually to your database using the control panel. it doesn't transfer the username and password when you move the database.

it's this step you're looking for -

Quote:
To assign a username and password login to your cPanel and click "MySQL Databases" Scroll down till you see the below.
if worst comes to worst, open a support ticket and ask them to add username/password to the database you are using. but it's easy enough you should be able to do it yourself.

Last edited by Goddess Dix; 10-28-2007 at 10:48 AM.
Reply With Quote
  #16  
Old 10-28-2007, 10:52 AM
Goddess Dix's Avatar
Goddess Dix Goddess Dix is offline
King Croc
 
Join Date: Aug 2006
Location: KS, USA
Posts: 1,466
Default Re: Blog question

p.s. - if you still have problems and want to pm me with your info, i will help you get it set up.
Reply With Quote
  #17  
Old 10-28-2007, 11:01 AM
rturner rturner is offline
Hatchling Croc
 
Join Date: Oct 2007
Posts: 27
Default Re: Blog question

Quote:
or you can set up a totally new username/password on your control panel, and add that info to your configuration file, and boom, you're good to go.
how and where can I do this?
Reply With Quote
  #18  
Old 10-28-2007, 11:05 AM
Goddess Dix's Avatar
Goddess Dix Goddess Dix is offline
King Croc
 
Join Date: Aug 2006
Location: KS, USA
Posts: 1,466
Default Re: Blog question

you go under mysql in your cpanel, mysql databases, scroll down to mysql users, add a user/pass, then take the user you just added and connect it to the database underneath.

remember that in your config file, you will need the whole username and database name. it adds the cpanelusername_ in front of your username for the database.

so you add user blogdbuser. say your cpanel signin is myhandle. then your username would be myhandle_blogdbuser

the database name will be myhandle_database name.

just go in and it should make sense to you.
Reply With Quote
  #19  
Old 10-28-2007, 11:13 AM
rturner rturner is offline
Hatchling Croc
 
Join Date: Oct 2007
Posts: 27
Default Re: Blog question

if you know what username and password you want to connect with, you have to ADD it manually to your database using the control panel. it doesn't transfer the username and password when you move the database.

it's this step you're looking for -

Quote:
Quote:
To assign a username and password login to your cPanel and click "MySQL Databases" Scroll down till you see the below.
if worst comes to worst, open a support ticket and ask them to add username/password to the database you are using. but it's easy enough you should be able to do it yourself.
I did that, I will pm you.
Some thing I am confused about is the username and password
for the DB is it, not the same for the blog itself? right?
Reply With Quote
  #20  
Old 10-28-2007, 11:14 AM
Goddess Dix's Avatar
Goddess Dix Goddess Dix is offline
King Croc
 
Join Date: Aug 2006
Location: KS, USA
Posts: 1,466
Default Re: Blog question

Quote:
Originally Posted by rturner View Post
I did that, I will pm you.
Some thing I am confused about is the username and password
for the DB is it, not the same for the blog itself? right?
that's right. you might sign on to your blog to post with a username and password, but that will be different that the actual database username and password, which is what your blog uses to connect to the database.
Reply With Quote
  #21  
Old 10-28-2007, 11:45 AM
rturner rturner is offline
Hatchling Croc
 
Join Date: Oct 2007
Posts: 27
Default Re: Blog question

well got that right anyway
I will pm you now.
Reply With Quote
  #22  
Old 10-28-2007, 11:56 AM
GvilleRick's Avatar
GvilleRick GvilleRick is offline
Emperor Croc
 
Join Date: Jan 2007
Location: Greenville, SC
Posts: 2,556
Default Re: Blog question

There are actually three steps. You have to create the database, create the user, and then add the user to the database. All are done in the MySQL options of cPanel.
Reply With Quote
  #23  
Old 10-28-2007, 11:56 AM
Goddess Dix's Avatar
Goddess Dix Goddess Dix is offline
King Croc
 
Join Date: Aug 2006
Location: KS, USA
Posts: 1,466
Default Re: Blog question

he's up and running now.

fyi, the confusion here was the username cpanel puts on the beginning of the database name and dabase user name when you add a new user. if you're moving from a hosting account that had a different cpanel username, you'll have to adjust your configuration files accordingly.
Reply With Quote
  #24  
Old 10-28-2007, 12:06 PM
rturner rturner is offline
Hatchling Croc
 
Join Date: Oct 2007
Posts: 27
Default Re: Blog question

Yea!
good to go!

thanks every one for the replies !
and thank you Goddess Dix for your special attention!
lol.


Randy
Reply With Quote
  #25  
Old 10-28-2007, 12:08 PM
Goddess Dix's Avatar
Goddess Dix Goddess Dix is offline
King Croc
 
Join Date: Aug 2006
Location: KS, USA
Posts: 1,466
Default Re: Blog question

Quote:
Originally Posted by rturner View Post
Yea!
good to go!

thanks every one for the replies !
and thank you Goddess Dix for your special attention!
lol.
well, all my attention is special. ha!
glad i could help.
Reply With Quote
Reply

Bookmarks

Thread Tools

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

Forum Jump

All times are GMT -6. The time now is 02:56 AM.

 
Forum SEO by Zoints