BetaONE will rise again!

BetaONE will rise again! (http:\\b1.hcanet.com\forum/index.php)
-   Software Support (http:\\b1.hcanet.com\forum/forumdisplay.php?f=45)
-   -   Mysqladmin 1.4 (http:\\b1.hcanet.com\forum/showthread.php?t=11051)

Bads 25th Mar 04 09:35 AM

Hello everybody,


I can't add a new database in MySQLadmin 1.4 :blink:

When I right click, I don't have this option ??

I uninstall and reinstall it but the problem is still there.

Did you know a trick to add a database ?

Thanks for your help


This is because I want to try IBF in my home pc :lol:

Bads 25th Mar 04 10:30 AM

This is from the package of mysql-4.0.17

JacKDynne 25th Mar 04 10:55 AM

Why not do it manually? ;)

http://www.mysql.com/doc/en/mysqladmin.html

Quote:

8.4 mysqladmin, Administering a MySQL Server

mysqladmin is a client for performing administrative operations. You can use it to check the server's configuration and current status, create and drop databases, and more.

Invoke mysqladmin like this:

shell> mysqladmin [options] command [command-option] command ...
mysqladmin supports the following commands:

create databasename

So drop to the shell and run mysqladmin create databasename

Hope this helps some Bads :)

/JD

Bads 25th Mar 04 11:03 AM

Thanks JacKDynne for your help but I don't know wich command I have to enter :blink:

Bads 25th Mar 04 11:25 AM

Ok,


Now I have create a database but the database is empty ?

Bads 25th Mar 04 11:52 AM

A meesage from my webpage:


mySQL error: No Database Selected

JacKDynne 25th Mar 04 01:40 PM

Bads,

You have php installed? You will need it for ibf and since you will need it then I suggest using phpmyadmin to manipulate your db. Much easier than going command line ;) :)

Lol - look what popped up when I did a google search:

Quote:

Searched the web for installing ibf + php.  Results 1 - 10 of about 692. Search took 0.29 seconds.

BetaONE -> Installing Iis With Php, Mysql, & Active Perl
... 73 Joined: 10-July 01 Status: Offline, Will's Complete Guide to Installing Invision
Board (IBF) On WinNT, Win2K, And WinXP With IIS, PHP, MYSQL, & Active Perl. ...
www.betaone.net/index.php?showtopic=30273 - 32k - Cached - Similar pages

:D

/JD

Bads 25th Mar 04 01:44 PM

I have PHP installed,

Now I will try to install phpmyadmin if I find how :D

And for the tutorial of Will, I'm working with it

JacKDynne 25th Mar 04 01:52 PM

Cool :)

Holla if you need more help :)

/JD

Bads 25th Mar 04 01:53 PM

This is the error I get

JacKDynne 25th Mar 04 02:02 PM

Hmm could be a rights issue - you have all the config files using the correct info and does the account used have enough permission?

Bads 25th Mar 04 02:18 PM

The problem is the "IBF" Database

She's empty :(

And I can't make one with mysqladmin :blink:

JacKDynne 25th Mar 04 02:46 PM

Bads,

Did you run the installer?

Quote:

Installing: Step 2 - Using the Installer
An installer is provided to assist you in entering the information Invision Power Board needs to connect to your mySQL database and to create your new administrators account.

Run the "sm_install.php" file through your web browser by entering the URL to it into your browser address bar (if you have followed our example, type in http://www.domain.com/forums/sm_install.php, naturally subsituting 'domain.com' for your web address.)

That should take care of populating the db ;)

:)

/JD

Bads 25th Mar 04 04:11 PM

Yes I run the installer and this is why I receive the message :

mySQL error: No Database Selected

JacKDynne 25th Mar 04 06:07 PM

hmmm..... does your conf_global.php file have the following values filled in?
Quote:

$INFO['sql_database']  = '';
$INFO['sql_pass']  = '';


Bads 25th Mar 04 08:58 PM

Quote:

Originally posted by JacKDynne@Mar 25 2004, 01:07 PM
hmmm..... does your conf_global.php file have the following values filled in?
Quote:

$INFO['sql_database']  = '';
$INFO['sql_pass']  = '';


Yes,

I have this

war59312 25th Mar 04 09:05 PM

All right bads. hehe

I know what the problem is.

I'm sure you mean no right click menu in msyql. They removed it. Dont have a clue why.

So instead what you need to do is this.

Will update my guide later. Sorry about that. Forgot they did that.

Fist click run:

Then cmd.

Then:

cd C:\mysql\bin

and then run this command to create the database

mysqladmin create ibf -h localhost -u "username" -p "password" -p 3306

where it says username but your mysql username and for password put your mysql password and remove the " " marks of course

now it sould say:

Enter password: ********
mysqladmin: Unknown command: 'password here'

Its a bug. But if you run the command again you will see it was created succesfully and already exists. :)

Then just run the invsionboard installer sm_install.php

then for database name is ibf and type in your user name and pw

then it should work fine

if not then pw and user name where wrong and u know that by now since u would get pw wrong error above

so then you need to edit your my.cnf or my.ini file which should be in your windows or winnt directory

any more problems just ask but you should be good to go

oh and about phpmyadmin

think i will add how to install that to my guide too..going to update the whole thing this weekend :)

anyways download phpmyadmin and put it in your server directory

then open config.inc

and edit it to your needs...its very very well documented so you should have no problem with that...

but anyways u just have to edit line 80 and 81:

$cfg['Servers'][$i]['user'] = 'username goes here'; // MySQL user
$cfg['Servers'][$i]['password'] = 'password goes here'; // MySQL password (only needed
// with 'config' auth_type)

do not use root

thats it there is no installer

u just then open /phpmyadmin/index.php in your web browser and your good to go... basic setup anyways...just check that config.inc for all the other settings you can change...just be sure to back it up...

really should be using a php editing program that backs up automatically...

i use TextPad

Bads 25th Mar 04 09:30 PM

Ok,

This is an empty Database who was created but I hvae one.

Now the problem is:

Warning: mysql_connect(): Access denied for user: 'xxxxxxx@localhost' (Using password: YES) in D:\Inetpub\wwwroot\ibf\sm_install.php on line 342

Ok,

I have to edit some lines ;)

Now I receive this message :

Success
Your board has now been installed!

The installation process is almost complete.
The next and final step will install the template files into your database


CLICK HERE TO CONTINUE

All is ok now my friends ;) Thanks for your help again and again

Bads 25th Mar 04 10:15 PM

Not really finished :angry:


When the setup is finish and I click on the "CLICK HERE TO LOG IN!"

I have this message :

mySQL query error: DELETE FROM ib_beta_sessions WHERE running_time < 1080249293 or ip_address='xxx.xxx.x.xxx'

mySQL error: No Database Selected
mySQL error code:
Date: Thursday 25th of March 2004 05:14:53 PM

It's almost finished :(

war59312 25th Mar 04 10:32 PM

Quote:

Originally posted by Bads@Mar 25 2004, 05:15 PM
Not really finished&nbsp; :angry:


When the setup is finish and I click on the "CLICK HERE TO LOG IN!"

I have this message :

mySQL query error: DELETE FROM ib_beta_sessions WHERE running_time < 1080249293 or ip_address='xxx.xxx.x.xxx'

mySQL error: No Database Selected
mySQL error code:
Date: Thursday 25th of March 2004 05:14:53 PM

It's almost finished&nbsp; :(

So did you name the datebase ib_beta then?

And you used that when you created the database and in the ivisionpower board installer right.

Have to be the same. Seems like there is a mismatch somewhere. Seems like since it says no database requried.

Even though not sure how the hell it would get to the very last window in the installer and then give that error message. Seeing as it buids the database way before then.

Just start from strach. Seeing as it takes 3secs. to install it over again.

I mean if that dont work cause its probally currupted.

And of course make sure mysql is running. :P Have done that before.

cya,
Will

Bads 25th Mar 04 11:03 PM

I just tried to reinstall 4 times and I always receive the same message.

Sql is running and the name of the database and the installer are the same "ibf"


Why I can't login ? I have to link the database but where ?

JacKDynne 26th Mar 04 12:28 AM

Quote:

really should be using a php editing program that backs up automatically...

Try Ultraedit ;) Saves a backup when you save the file :)

Gotta run right now Bads but will holla back in the morning :)

/JD

Edit - check this in the meantime :) http://forums.pcst.org/index.php?act=ST&f=5&t=22

war59312 26th Mar 04 02:44 AM

Quote:

Originally posted by Bads@Mar 25 2004, 06:03 PM
I just tried to reinstall 4 times and I always receive the same message.

Sql is running and the name of the database and the installer are the same "ibf"


Why I can't login ? I have to link the database but where ?

Well you missed up then somewhere.

Cause read it carefully.

mySQL query error: DELETE FROM ib_beta_sessions WHERE running_time < 1080249293 or ip_address='xxx.xxx.x.xxx'

Its trying to connect to ib_beta instead of just ibf.

If it were connecting to the right database but something else went wrong it would say:

wtf it keeps etting my post lol stupid pos

it should say Delete FROM ibf _sessions instead....

So you had to have messed up some where. Its diffenetly not the script.

Bads 26th Mar 04 03:34 AM

You are right War,

I didn't see the "ib_beta" before :blink:

I will try to start from scratch tomorrow ;)

Thanks again and goodnight :lol:

Bads 26th Mar 04 12:53 PM

I just get out from the bed :D

And in 5 minutes, I have reinstall a new forum ;)

Now this is real, all is working fine in the forum


<span style='color:red'><span style='color:red'>Thanks to all of you for your precious help</span></span>

war59312 26th Mar 04 08:05 PM

Quote:

Originally posted by Bads@Mar 26 2004, 07:53 AM
I just get out from the bed :D

And in 5 minutes, I have reinstall a new forum ;)

Now this is real, all is working fine in the forum


<span style='color:red'><span style='color:red'>Thanks to all of you for your precious help</span></span>

Told ya. :P

Glad you figured it out. So i take it you love my quide then?

Any comments? Cuase like I said i'm going to update it this weekend.

cya,
Will

Bads 26th Mar 04 09:24 PM

Yes,

I like your guide ;)

You have to update the links for the new version of ibf, php etc.........and you can add some informations needed by a newbie like me :D

war59312 27th Mar 04 02:42 AM

Yeap will do. Might even change the layout. Maybe even do like power point toturial type deal.

Not sure yet.

~*McoreD*~ 27th Mar 04 06:21 AM

What exact guide are you looking for?

Hope these might be useful. I thought I already had them shared.

How-to-Run-your-own-IPB-Forum-in-your-Local-PC-using-Apache
How-to-Run-your-own-IPB-Forum-in-your-Local-PC-using-IIS
How-to-run-a-HTTP-File-Server-using-IIS.

Code:

http://mcored.2minnoodle.net/knowledgebase/kb-guides.htm
Cheers,
McoreD

Bads 27th Mar 04 09:19 AM

WoW,


Thanks McoreD ;)


I just add them all to my collection :lol:

war59312 27th Mar 04 09:36 AM

ok cool f it then lol

~*McoreD*~ 27th Mar 04 12:41 PM

Quote:

Originally posted by war59312@Mar 27 2004, 05:36 PM
ok cool f it then lol
Can you please elaborate a little? :unsure:

war59312 27th Mar 04 08:03 PM

F updating my guide. :P

unless someone wants me too

seeing as mine was like first but old as hell ;)


All times are GMT +1. The time now is 03:27 AM.

Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.