View previous topic :: View next topic |
Author |
Message |
Thomas Guest
|
Posted: Sun Feb 29, 2004 5:19 pm Post subject: Table 'peffisaur.db' doesn't exist |
|
|
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
Thanks for a supposently good program! |
|
Back to top |
|
|
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Mon Mar 01, 2004 9:08 am Post subject: |
|
|
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 |
|
Back to top |
|
|
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Mon Mar 01, 2004 9:08 am Post subject: |
|
|
Before running the usersetup.sql btw, did you create the peffisaur database? |
|
Back to top |
|
|
Guest
|
Posted: Thu Apr 01, 2004 2:27 pm Post subject: |
|
|
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
|
Posted: Sat Aug 21, 2004 6:08 am Post subject: |
|
|
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
btw. Thanks Peffis for a very kewl script.
sacr0 |
|
Back to top |
|
|
nfinland
Joined: 10 Feb 2005 Posts: 2 Location: Helsinki, Finland
|
Posted: Wed Feb 23, 2005 8:55 pm Post subject: |
|
|
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 |
|
|
Peffis Site Admin
Joined: 09 Sep 2003 Posts: 324 Location: Sweden
|
Posted: Thu Feb 24, 2005 1:46 pm Post subject: |
|
|
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 |
|
|
|