Koozali.org: home of the SME Server

I killed my MYSQL database

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
I killed my MYSQL database
« Reply #15 on: September 29, 2006, 11:25:30 AM »
Quote from: "teviot"

I also noticed that you have version 2.9.0 running.  I would like to upgrade to that when this problem is sorted


My SME runs the old one.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Teviot

  • *
  • 610
  • +0/-0
I killed my MYSQL database
« Reply #16 on: September 29, 2006, 11:27:23 AM »
I uninstalled it then reinstalled

I'm still unable to login.

Quote
[root@gateway phpmyadmin]# rpm -e smeserver-phpmyadmin-multiuser
Sending USR1 signal to httpd-e-smith [  OK  ]
[root@gateway phpmyadmin]# rpm -Uvh smeserver-phpmyadmin-multiuser-2.1-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:smeserver-phpmyadmin-mu########################################### [100%]
Sending USR1 signal to httpd-e-smith [  OK  ]

Vous pouvez maintenant acceder à phpmyadmin via un browser web de la maniere suivante https://nom_server/myadmin
Vous pourrez vous loger sous admin avec comme mot de pass admin. N'oublier pas de le changer!
Si vous mettez à jour une version 2.1 ou supérieur, le mot de passe admin n'aura pas changer!

Now you can access phpmyadmin though your browser at  https://server_name/myadmin
You can connect using login admin and password admin. Don't forget to change it
If you update a 2.1 version of this contribs, admin password don't change!
[root@gateway phpmyadmin]#
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
I killed my MYSQL database
« Reply #17 on: September 29, 2006, 11:41:02 AM »
I don't understand it.

We're missing some small detail.

I just reinstalled mine on a new sme.

Username: admin
Password: admin

Ok, uninstall again and get rid of the admin user

Code: [Select]
mysql> DELETE FROM mysql.user
    -> WHERE User='admin' and Host='localhost';
mysql> FLUSH PRIVILEGES;


then reinstall.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Teviot

  • *
  • 610
  • +0/-0
I killed my MYSQL database
« Reply #18 on: September 29, 2006, 11:44:57 AM »
Thanks

That did the trick

Quote
[root@gateway phpmyadmin]# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 173 to server version: 4.1.20

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> DELETE FROM mysql.user
    -> WHERE User='admin' and Host='localhost';
Query OK, 0 rows affected (0.01 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)

mysql> \q
Bye
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Teviot

  • *
  • 610
  • +0/-0
I killed my MYSQL database
« Reply #19 on: September 29, 2006, 11:45:52 AM »
Should I now re-install mambo?
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
I killed my MYSQL database
« Reply #20 on: September 29, 2006, 11:47:13 AM »
Good.

You ok with mambo.


opps... you were quick.

Whats the error for Mambo?
Regards,
William

IF I give advise.. It's only if it was me....

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
I killed my MYSQL database
« Reply #21 on: September 29, 2006, 11:54:30 AM »
If your going to reinstall, unless you have a reason for using Mambo I would install Joomla.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Teviot

  • *
  • 610
  • +0/-0
I killed my MYSQL database
« Reply #22 on: September 29, 2006, 11:57:33 AM »
i think so ... will just uninstall and then reinstall
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
I killed my MYSQL database
« Reply #23 on: September 29, 2006, 11:58:38 AM »
Quote from: "teviot"
i think so ... will just uninstall and then reinstall


Hang on..it might be an easy fix.
Regards,
William

IF I give advise.. It's only if it was me....

Offline Teviot

  • *
  • 610
  • +0/-0
I killed my MYSQL database
« Reply #24 on: September 29, 2006, 12:00:22 PM »
have a look at http://www.teviot.net/ to see my problem there
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline Teviot

  • *
  • 610
  • +0/-0
I killed my MYSQL database
« Reply #25 on: September 29, 2006, 12:06:42 PM »
i'm thinking that maybe recreate the database for mambo ... because the web site stuff is still in the directory

what do you think
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
I killed my MYSQL database
« Reply #26 on: September 29, 2006, 12:13:09 PM »
Look in your mambo directory for configuration.php

Look in it for $mosconfig_db, $mosconfig_user and $mosconfig_password


Is the user 'root' or 'admin' ?


Your page failed to load.

Code: [Select]
ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://www.teviot.net/

The following error was encountered:

    * Connection Failed

The system returned:

    (110) Connection timed out

The remote host or network may be down. Please try the request again.

Your cache administrator is webmaster.
Generated Fri, 29 Sep 2006 10:10:51 GMT by smoothwall (squid/2.5.STABLE12)
Regards,
William

IF I give advise.. It's only if it was me....

Offline Teviot

  • *
  • 610
  • +0/-0
I killed my MYSQL database
« Reply #27 on: September 29, 2006, 12:14:14 PM »
i have noticed something with phpmyadmin.  It has the following message on the bottom of the screen

Quote
You have enabled mbstring.func_overload in your PHP configuration. This option is incompatible with phpMyAdmin and might cause some data to be corrupted!


Is this something i need to worry about?

[/quote]
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
I killed my MYSQL database
« Reply #28 on: September 29, 2006, 12:21:42 PM »
Quote from: "teviot"
i have noticed something with phpmyadmin.  It has the following message on the bottom of the screen

Quote
You have enabled mbstring.func_overload in your PHP configuration. This option is incompatible with phpMyAdmin and might cause some data to be corrupted!


Is this something i need to worry about?

[/quote]

If the phpMyAdmin developers put the warning in there then it must be something to be concerned about.

I can't find that warning appearing on mine . http://secure.magicwilly.info:8182/myadmin/

Did you change something in your php.ini ?
Regards,
William

IF I give advise.. It's only if it was me....

Offline Teviot

  • *
  • 610
  • +0/-0
I killed my MYSQL database
« Reply #29 on: September 29, 2006, 12:30:27 PM »
Quote
$mosConfig_user = 'www';
$mosConfig_password = 'some-password';
$mosConfig_db = 'Mambo';
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.