Jump to content

MySQL and PHP rpm dilemma [solved]


AgelessStranger
 Share

Recommended Posts

Hi all

 

I have after much mucking around managed to get 90% of the way through setting up my LAMP platform (Makndrake 10.0).

I used the rpms for Apache(installation CD), php(installation CD) and MySQL(from the MySQL website, both the client and server rpms). I know that they are all working as I can look at php scripts in the /var/www/html directory. I can also use mysqladmin from the command line to look at its stuff and it is running as a service.

However I cannot use php to 'talk' to mysql. I get this error

 

#1044 - Access denied for user ''@'localhost' to database foo'

 

I am not too sure if MySQL is not working properly or if I just need an rpm (like the apache-php rpm) to fix things up.

 

Thanks in advance

Josh

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...