hellkvist.org Forum Index hellkvist.org
Discussions about the free software on hellkvist.org
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mySQL dump for n00bs

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> Peffisaur
View previous topic :: View next topic  
Author Message
sacr0
Guest





PostPosted: Tue Aug 24, 2004 3:14 am    Post subject: mySQL dump for n00bs Reply with quote

Can anyone do a dump of the clean database to a txt file so n00bs like me can install it with phpMyAdmin?

I can get everything else working but installing the 'usersetup.sql' in it's current format is impossible for me.

Any help please


Thanks
Back to top
pollo



Joined: 22 Aug 2004
Posts: 4

PostPosted: Tue Aug 24, 2004 8:54 pm    Post subject: Reply with quote

You can import the .sql file into phpmyadmin.
That should do the trick!

goodluck.
Back to top
View user's profile Send private message
sacr0
Guest





PostPosted: Wed Aug 25, 2004 3:09 pm    Post subject: Reply with quote

Yeh thing is I tried that

insert into db (host,db,user,select_priv,insert_priv,update_priv,delete_priv,create_priv,drop_priv,alter_priv)
values ('localhost','peffisaur','peffisaur','y','y','y','y','y','y','y');

# Please change the password below!!!!
insert into user (host,user,password)
values ('localhost','peffisaur',password('hush-hush'));

so I guess these tables have to be created then as they won't import?
Back to top
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Wed Aug 25, 2004 3:52 pm    Post subject: Reply with quote

Without ever having used PHPAdmin I think that on hosted sites where you share databases they usually provide another tool to create the actual database and to create users. At least it was like that at my webhost. But it's possible that PHPAdmin has an interface for this as well.

That's because the statements you have there (the insert into db etc) are to be run on the mysql-db where you probably don't have access. The rest of the statements (the create table ones) are to be run on the peffisaur database and should probably work fine to import.
Back to top
View user's profile Send private message Visit poster's website
sacr0
Guest





PostPosted: Wed Aug 25, 2004 10:22 pm    Post subject: Reply with quote

Ahhhh All becomes very clear. Thanks Peffis. I get it now.


So I guess I'm out of luck when it comes to manageing the users while on a shared server.

Sad okdoki
Back to top
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Thu Aug 26, 2004 8:44 am    Post subject: Reply with quote

The thing is - you probably don't HAVE to manage users. The "create user" statement there is just the user that the software is connecting to the database. It has nothing to do with the users on Peffisaur...if that was what you thought. There is surely a way to create such a user in a shared hosting environment, if one does not already exist for you. Any username will do. You will just have to change the Peffisaur installation to use that user.

And if you have a limitation on number of databases (some shared hosts have) you could always squeeze the Peffisaur tables into some other database that you already have. So then you would not have to do any of the statements below.

But I cannot give you the details on how to do it on your host. Consult your webhost's support how you create databases and database users. They are probably used to that question and probably have it in an FAQ somewhere.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> Peffisaur All times are GMT + 1 Hour
Page 1 of 1

 
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 © 2001, 2005 phpBB Group