Is my Mysql code wrong?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Cheeseboy
Forum Commoner
Posts: 67
Joined: Thu Mar 23, 2006 2:43 pm

Is my Mysql code wrong?

Post by Cheeseboy »

Hi, used this site to install the mysql server: http://www.washington.edu/computing/web ... stall.html I did everything it said to do. when i go to start it. it does this:

Code: Select all

Starting mysqld daemon with databases from /root/mysql/data
STOPPING server from pid file /root/mysql/data/.pid
060401 20:44:47  mysqld ended
Is there something wrong with my code? Or if you know whats wrong please reply.
Its been over aweek and still nothing works.
thx :D
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

how would that output tell us that something's wrong with your code?
User avatar
Cheeseboy
Forum Commoner
Posts: 67
Joined: Thu Mar 23, 2006 2:43 pm

Post by Cheeseboy »

im wondering if my codes messed up and thats why im gettign this error?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

what error? That looks like standard startup and shutdown messages to me. :?
User avatar
Cheeseboy
Forum Commoner
Posts: 67
Joined: Thu Mar 23, 2006 2:43 pm

Post by Cheeseboy »

How would that be fixed? Everyday i try something new and I get the same message :(
User avatar
dibyendrah
Forum Contributor
Posts: 491
Joined: Wed Oct 19, 2005 5:14 am
Location: Nepal
Contact:

Veiw the error log to find what's happening in your system

Post by dibyendrah »

you can get the error detail by viewing the mysql log error at following files :

Code: Select all

/var/log/messages
/var/log/mysql.log 
/var/log/mysql.err
Hope the error log might help you to resolve the problem.

Also, it will be easier to find the error if you posted the content of mysq.cnf at following lcoation

Code: Select all

/etc/mysql/my.cnf
The path of the file might vary according to the linux distributions. use locate to find the path of the file.

Dibyendra
User avatar
Cheeseboy
Forum Commoner
Posts: 67
Joined: Thu Mar 23, 2006 2:43 pm

Post by Cheeseboy »

My keyboard broke so ill be back with this in a week. :o
Post Reply