| | |
Desperate! mysql and phpmyadmin
Please support our MySQL advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Mar 2006
Posts: 52
Reputation:
Solved Threads: 0
Hi,
I am with a web host using mysql 4.0 and phpmyadmin 2.5.5 p\1
I am trying to get my html user form on my website to insert into mysql database. I keep getting:
Error! Could not select the database: Access denied for user: 'match.match.com@10.80.0.%' to database 'mydb'
Can you tell me is this error because the web host has not set permission for me Or what else it may be. Last...
I am new to mysql and phpmyadmin but i feel i am understanding it good enough to perform small functions.
And one of the fellas at the hosting company suggested maybe i best go with a dedicated server.
Can you tell me, to have a small online site with user login be able to use mysql and php myadmin smoothly is a dedicated server the way i should go! Thank-You
I am with a web host using mysql 4.0 and phpmyadmin 2.5.5 p\1
I am trying to get my html user form on my website to insert into mysql database. I keep getting:
Error! Could not select the database: Access denied for user: 'match.match.com@10.80.0.%' to database 'mydb'
Can you tell me is this error because the web host has not set permission for me Or what else it may be. Last...
I am new to mysql and phpmyadmin but i feel i am understanding it good enough to perform small functions.
And one of the fellas at the hosting company suggested maybe i best go with a dedicated server.
Can you tell me, to have a small online site with user login be able to use mysql and php myadmin smoothly is a dedicated server the way i should go! Thank-You
The error you describe sounds like it results from the mysql_select_db() function. If that's the case, am I to assume your mysql_connect() statement did not fail?
You specify the hostname, username, and password with the mysql_connect function. If that did not produce an error, then your account does exist and you can login. If you then get an error when you attemt to select a specific database, then yes, the problem is most likely that your mysql account does not have any privs on that database.
Make sure that your mysql_connect statement is actually successful. For example, if you use the '@' in front of the statement, you won't know it failed. Do something like this:
[PHP]
if (!$cnn = mysql_connect('localhost', 'mysql_user', 'mysql_password')) {
die("Great google-moogly! The database connection failed!");
}
[/PHP]
NO! You do not need a dedicated server, and I would not recommend one to you--unless I was selling dedicated servers. <g> If you really know what you are doing, and you can afford it, a dedicated server is nice to have, but you certainly don't need one. I'd also like to take this moment to shamelessly advertise my hosting services. I provide business-class, LAMP hosting for only $5/mo with everything you need to build PHP/MySql web applications.
You specify the hostname, username, and password with the mysql_connect function. If that did not produce an error, then your account does exist and you can login. If you then get an error when you attemt to select a specific database, then yes, the problem is most likely that your mysql account does not have any privs on that database.
Make sure that your mysql_connect statement is actually successful. For example, if you use the '@' in front of the statement, you won't know it failed. Do something like this:
[PHP]
if (!$cnn = mysql_connect('localhost', 'mysql_user', 'mysql_password')) {
die("Great google-moogly! The database connection failed!");
}
[/PHP]
NO! You do not need a dedicated server, and I would not recommend one to you--unless I was selling dedicated servers. <g> If you really know what you are doing, and you can afford it, a dedicated server is nice to have, but you certainly don't need one. I'd also like to take this moment to shamelessly advertise my hosting services. I provide business-class, LAMP hosting for only $5/mo with everything you need to build PHP/MySql web applications.
![]() |
Similar Threads
- Apache (Linux Servers and Apache)
- FREE forum Hosting-400MB-10GIGS BW,phpBB,SMF,myBB,phpBB RPG,php,25 MySql db's,Z-panel (Web Hosting Deals)
- Mysql num rows(): Invalid argument (PHP)
- phpMyAdmin via Plesk (Linux Servers and Apache)
- php phpmyadmin problem ?? (PHP)
- uploading .txt file via phpmyadmin to Mysql (MySQL)
- MySQL for this forum ... (MySQL)
Other Threads in the MySQL Forum
- Previous Thread: Problem with create script
- Next Thread: Need help setting up 1st database please
| Thread Tools | Search this Thread |
agplv3 alfresco amazon api artisticlicense aws bizspark breathalyzer camparingtocolumns changingprices cmg communityjournalism contentmanagement contractors copyright count court crm database design developer development distinct drupal dui ec2 email enterprise eudora facebook form foss gartner gnu government gpl greenit groupware hiring hyperic images innerjoins insert ip joebrockmeier join keyword keywords kickfire laptop law legal license licensing linux maintenance managing mariadb matchingcolumns metron micromanage microsoft microsoftexchange mindtouch montywidenius mozilla multiple music mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery mysqlsearch news open-xchange opendatabasealliance opengovernment opensource oracle penelope priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint simpledb sourcecode spotify sql sugarcrm syntax techsupport thunderbird transparency virtualization





