boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Changing to a new host?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
ThatGirl4634



Joined: 20 Nov 2002
Posts: 13
Location: My computer

PostPosted: Thu Feb 06, 2003 12:19 am    Post subject: Reply with quote

Code:
# phpMyAdmin MySQL-Dump
# version 2.3.2
# http://www.phpmyadmin.net/ (download page)
#
# Host: localhost
# Generation Time: Feb 03, 2003 at 04:44 AM
# Server version: 3.23.54
# PHP Version: 4.2.3
# Database : `dreaming_thatgirl`
# --------------------------------------------------------

#
# Table structure for table `b2categories`
#

CREATE TABLE b2categories (
  cat_ID int(4) NOT NULL auto_increment,
  cat_name tinytext NOT NULL,
  KEY cat_ID (cat_ID)
) TYPE=MyISAM;

#
# Dumping data for table `b2categories`
#

INSERT INTO b2categories VALUES (1, 'General');
# --------------------------------------------------------

#
# Table structure for table `b2comments`
#

CREATE TABLE b2comments (
  comment_ID int(11) unsigned NOT NULL auto_increment,
  comment_post_ID int(11) NOT NULL default '0',
  comment_author tinytext NOT NULL,
  comment_author_email varchar(100) NOT NULL default '',
  comment_author_url varchar(100) NOT NULL default '',
  comment_author_IP varchar(100) NOT NULL default '',
  comment_date datetime NOT NULL default '0000-00-00 00:00:00',
  comment_content text NOT NULL,
  comment_karma int(11) NOT NULL default '0',
  PRIMARY KEY  (comment_ID)
) TYPE=MyISAM;

#
# Dumping data for table `b2comments`
#



then is has all m comments and later on all my posts and stuff, so i have no clue why i don't have any posts or archives.
_________________
the best siggy ever made was the blank siggy.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
macshack



Joined: 17 Jul 2002
Posts: 1204
Location: Phoenix, Az

PostPosted: Thu Feb 06, 2003 1:21 am    Post subject: Reply with quote

Hi,

Great. This is what I was hoping for. This is a dump of the data from your previous host and includes the create for each of the tables and the data that is to be inserted.

From what your saying, your new host most likely did not do the upload of the data. They may have thought they did but I bet they had an error because of the creates.

In any event, your options are these:

One, have your new host drop the current tables and take you "saved" file and upload those to the database, creating the tables and populating them.

One other options is for you to do it. But if you're not familiar with mysql or phpmyadmin (great tool) then you probably should have your new host do it.

There is no reason why the data that you have needs to be modified in any way.
_________________
Kind Regards,
Michael e
Back to top
View user's profile Send private message Send e-mail
ThatGirl4634



Joined: 20 Nov 2002
Posts: 13
Location: My computer

PostPosted: Fri Feb 07, 2003 12:49 am    Post subject: Reply with quote

Thanx, I'll get her to do that right away! I'll be posting the results (hopefully they're good)
_________________
the best siggy ever made was the blank siggy.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ThatGirl4634



Joined: 20 Nov 2002
Posts: 13
Location: My computer

PostPosted: Mon Feb 17, 2003 8:29 pm    Post subject: Reply with quote

Sorry for not posting right away but we still can't get it to work. AH It's killing me, i have no clue what to do now because I REALLY don't wanna lose all my archives.
_________________
the best siggy ever made was the blank siggy.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
scarbittenross



Joined: 17 Nov 2002
Posts: 22
Location: Ayr, Scotland

PostPosted: Sun Jul 06, 2003 4:44 pm    Post subject: Reply with quote

I did everyting you've said to do in this post, but getting this error:

Warning: mysql_connect(): Access denied for user: 'user@localhost' (Using password: YES) in /home/bitten/public_html/b2-include/b2functions.php on line 37
Can't connect to the database server. MySQL said:
Access denied for user: 'user@localhost' (Using password: YES)


Any ideas?
_________________
[w] http://www.scarbitten.co.uk

[quote] " Remember, today is the tomorrow you worried about yesterday."
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
scarbittenross



Joined: 17 Nov 2002
Posts: 22
Location: Ayr, Scotland

PostPosted: Tue Jul 08, 2003 1:18 pm    Post subject: Reply with quote

scarbittenross wrote:
I did everyting you've said to do in this post, but getting this error:

Warning: mysql_connect(): Access denied for user: 'user@localhost' (Using password: YES) in /home/bitten/public_html/b2-include/b2functions.php on line 37
Can't connect to the database server. MySQL said:
Access denied for user: 'user@localhost' (Using password: YES)


Any ideas?


Its worked out Smile
_________________
[w] http://www.scarbitten.co.uk

[quote] " Remember, today is the tomorrow you worried about yesterday."
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
bellascritto



Joined: 12 Apr 2003
Posts: 11

PostPosted: Sun Jul 27, 2003 10:46 pm    Post subject: Thanks Reply with quote

Wow this is a great post. I'm getting a domain soon, so I'll be switching my blog, and I was about to post how to switch, when i saw this post. Thanks!
Back to top
View user's profile Send private message
amities



Joined: 25 Jul 2002
Posts: 5

PostPosted: Tue Jan 06, 2004 8:58 am    Post subject: Reply with quote

Hello, I have a problem with regards to exporting my database. I use accents, e.g., é, ü, etc., and so when I exported my database and then imported it to my new host, the accents have been changed, i.e., my ç have become Á. How do I prevent this, if I can prevent this?
Back to top
View user's profile Send private message AIM Address
Serveza



Joined: 13 Oct 2003
Posts: 7
Location: Canada

PostPosted: Thu Jan 08, 2004 6:32 pm    Post subject: Importing from phpMyAdmin Reply with quote

Hello,

So I'm trying to switch the folder that my b2 is installed in. I thought exporting and re-importing would help...

I've exported the database, but how do I import? Do I have to delete the old database first, then re-create it and then will it give me the option to import the .sql file?

Or do I not have to do any of this and, as it's on the same server just under a different folder, I just have to move the b2 files? *so confused*

Any help would be appreciated!
Back to top
View user's profile Send private message Visit poster's website
Cyberian75



Joined: 26 Sep 2002
Posts: 1278
Location: Oregon

PostPosted: Thu Jan 08, 2004 7:14 pm    Post subject: Re: Importing from phpMyAdmin Reply with quote

Serveza wrote:

Or do I not have to do any of this and, as it's on the same server just under a different folder, I just have to move the b2 files? *so confused*


That's correct. Smile
_________________
Michael P.

Back to top
View user's profile Send private message AIM Address
Serveza



Joined: 13 Oct 2003
Posts: 7
Location: Canada

PostPosted: Thu Jan 08, 2004 7:35 pm    Post subject: Reply with quote

Yay! That was so incredibly easy Smile Now I'm beginning to see the power of MySQL databii
Back to top
View user's profile Send private message Visit poster's website
sarah_kabam



Joined: 28 Sep 2003
Posts: 9

PostPosted: Sun Sep 12, 2004 10:29 am    Post subject: help!!! Reply with quote

i get this after i try to import!!

Code:
Error

SQL-query : 

CREATE TABLE `b2categories` (

`cat_ID` int( 4 ) NOT NULL AUTO_INCREMENT ,
`cat_name` tinytext NOT NULL ,
KEY `cat_ID` ( `cat_ID` )
) TYPE = MYISAM AUTO_INCREMENT =13

MySQL said:


#1050 - Table 'b2categories' already exists


huhuhh!!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group