MySQL isnt working anymore!!

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
kozaap2p
-


Joined: 29 Sep 2004
Posts: 2
Location: Sumwhere i belong

PostPosted: Wed Nov 10, 2004 11:39 pm    Post subject: MySQL isnt working anymore!! Reply with quote

Ok listen up, did some tutors, and everything was fine. i had a forum and bla bla bla... so i shut down the tool for MySQL (MySQL Admin) restarted my computer.. and voila, mySQL dont work anymore. I tried to mange some things with PhpMyAdmin, but it was hopeless, it didnt worked neither. Ive tried severalthings, even searching on forums and google. So now, who can help me with this. My.ini is perfect, nothing wrong with it... Just help me pleaz

Tnx in advance
_________________
Free you mind and your *ss will folow
Back to top View user's profile Send private message Visit poster's website
vhanla
-


Joined: 11 Nov 2004
Posts: 1

PostPosted: Thu Nov 11, 2004 10:09 pm    Post subject: Re: MySQL isnt working anymore!! Reply with quote

Hi!, Listen:
I did the same thing, but MySQL did not restarted my PC, so it couldn't work anymore, but I searched in the directory where it is installed, so I find the file called "mysql_opt" or something like that, right now I can't remember the exact name, but it was with "opt" including...

I executed that file and it run a console window and after 3 seconds it disappeard and loading itself into memory...

Just one thing.... It is a win32 MySQL what i was using!!!!
Back to top View user's profile Send private message
snamla
-


Joined: 28 Oct 2004
Posts: 6

PostPosted: Tue Nov 30, 2004 9:42 am    Post subject: Reply with quote

Try running winmysqladmin.exe (included in the MySQL Server package), it will automatically run the next time you open your OS (Windows). winmysqladmin.exe will just sit down in your tray bar. Have not tried other OS though.
Back to top View user's profile Send private message
hao32
-


Joined: 06 Dec 2004
Posts: 4

PostPosted: Mon Dec 06, 2004 4:00 am    Post subject: Reply with quote

I think you had beter reinstall everything .
_________________
hao32
Back to top View user's profile Send private message ICQ Number
leawildcat
-


Joined: 04 Dec 2004
Posts: 9
Location: Texas

PostPosted: Mon Dec 06, 2004 12:32 pm    Post subject: Ditto Reply with quote

I had the same problem you had. Everything was working last night and then I rebooted and went to work on my tutorial today and red light *sighs*

I fixed it though :)

Did you follow the tutorial where it said to remove the anonymous users?
If you did that's the problem, at least it was for me. I was tyring to get the mysqladmin to work on the command prompt. It kept telling me an error about OBDC@localhost.com.

Open a command prompt and negotiate your way to your mysql\bin folder.
Type mysqld -u root -p.
Enter your password if it asks.
Once you get the mysql> prompt type in
grant usage on *.* to 'OBDC'@'localhost.com';
then type
FLUSH PRIVILEGES
to check it type
select user,host,password mysql.user
You should get a table with 2 listings now showing the root and the OBDC. If it doesn't work let me know, I might have missed typed something.
Now if I can just get phpMyAdmin to work.
Back to top View user's profile Send private message
DaytonDaytona
-


Joined: 07 Dec 2004
Posts: 1

PostPosted: Sun Dec 19, 2004 8:14 pm    Post subject: Reply with quote

Quote:
You should get a table with 2 listings now showing the root and the OBDC. If it doesn't work let me know, I might have missed typed something.
Now if I can just get phpMyAdmin to work.


I'm suffering the same problem.

If you can get in as root or ODBC, using mysql or mysqladmin, you should be able to edit your config.inc.php in the phpMyAdmin directory and get it running again.
Change the lines that say:
$cfg['Servers'] [$i] ['user'] = 'whateveryouput';
$cfg['Servers'] [$i] ['password'] = 'your password';

back to:
$cfg['Servers'] [$i] ['user'] = 'root' ;
$cfg['Servers'] [$i] ['password'] = ' ' ;

Save then try to reconnect to phpMyAdmin.
I can't promise 100%, because I've got other issues I'm fighting too, but it seemed to work for me until I blew it up again doing something else.

Hope it helps.
Back to top View user's profile Send private message
GustavoDL
-


Joined: 08 Jul 2004
Posts: 16
Location: Malaga (Spain)

PostPosted: Mon Dec 20, 2004 1:25 am    Post subject: MySQL as System Service (win) Reply with quote

Okay, the problem is that MySQL isn't running as a Service.
To re-run execute <MySQL_path>\bin\mysqld.exe

To have WinMySQLMyAdmin runing in taskbar again execute <MySQL_path>\bin\winmysqladmin.exe

Closing mysqladmin doesn't stops mysql service

(services only on NT systems (linux use daemons }:-D ))
_________________
Think as WAN, act as LAN
Piensa en WAN, actua en LAN
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP 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 phpBB Group