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 

Table 'peffisaur.db' doesn't exist

 
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
Thomas
Guest





PostPosted: Sun Feb 29, 2004 5:19 pm    Post subject: Table 'peffisaur.db' doesn't exist Reply with quote

When I run usersetup.sql it game me this message in my phpmyadmin (see subject).

From the first table...sql there was no table db created.

I tried v1.0 and v0.9 Smile

Thanks for a supposently good program!
Back to top
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Mon Mar 01, 2004 9:08 am    Post subject: Reply with quote

Hi Thomas,

Unfortunately I have no experience at all with phpmyadmin so I'm not sure what is going wrong. I've always setup the database from command line. There seem to be some confusion though. There should never be a peffisaur.db table. Instead there should be a peffisaur database. Perhaps something has gone wrong here Smile
Back to top
View user's profile Send private message Visit poster's website
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Mon Mar 01, 2004 9:08 am    Post subject: Reply with quote

Before running the usersetup.sql btw, did you create the peffisaur database?
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Thu Apr 01, 2004 2:27 pm    Post subject: Reply with quote

I think he's trying to execute that SQL on his peffisaur database and not his mySQL users database.

hth.
Back to top
sacr0
Guest





PostPosted: Sat Aug 21, 2004 6:08 am    Post subject: Reply with quote

I'm also trying to set this up via phpadmin as I don't have other access to the databases.

in the usersetup.sql


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'));

1/ Where/What is 'db'? database or table?
2/ Where/What is 'user' same again.

I have no experience with command line sql so I would have no idea where to start.

Maybe someone that has installed this, AND has phpmyadmin or whatever can do a dump of what is required Wink

btw. Thanks Peffis for a very kewl script.

sacr0
Back to top
nfinland



Joined: 10 Feb 2005
Posts: 2
Location: Helsinki, Finland

PostPosted: Wed Feb 23, 2005 8:55 pm    Post subject: Reply with quote

I have the same problem. First tried to execute usersetup on peffisaur database.

But how do I execute it to mySQL users database?
Back to top
View user's profile Send private message Visit poster's website
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Thu Feb 24, 2005 1:46 pm    Post subject: Reply with quote

Sorry, but my knowledge about phpadmin is equal to zero so I can't help you.

On the command line you always specify which database you want to use as an argument, like so: mysql -u peffisaur --password=XXXX mysql < usersetup.db


But usersetup is only to create the database user peffisaur. If you have a database user you can use that one instead. Or perhaps you can create database users somewhere else in the gui your webhost gives you. I know that on mine they have a separate interface to create database users and databases. Once you have the user and the database you can just start using it.
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