Please guide me

girl81

Verified User
Joined
Jun 22, 2006
Messages
13
Location
Malaysia
hi all.. i want to create new database in phpmyadmin..why it said no privileges..what should i do..thanks
 
Meaning you dont have permission to create a new database.
If you have admin privilige on DA you could assign another database to the account you want to use it with.
:D
 
gcypher said:
Meaning you dont have permission to create a new database.
If you have admin privilige on DA you could assign another database to the account you want to use it with.
:D
Thanks a lot..Now i successfully created new database in phpmyadmin.

Your database has been setup. Use the following values:
Database:company_dbcompany
Host: localhost
Username:company_123
Password:123456

Then how could i link with my php form..I tried this one but it said Could not connect...thanks

<?php
$db_connect = 'localhost';
$db_user = 'root';
$db_pass = '';
$used_db = 'company_dbcompany';

$mysql_link = @mysql_connect($db_connect, $db_user, $db_pass) or die("Could not connect");
$mysql_db = @mysql_select_db($used_db, $mysql_link) or die("Could not select database");
?>
 
Substitute this:

girl81 said:

<?php
$db_connect = 'localhost';
$db_user = 'root';
$db_pass = '';
$used_db = 'company_dbcompany';



for this,:

Code:
<?php 
	$db_connect = 'localhost';
	$db_user = 'company_123';
	$db_pass = '123456';
	$used_db = 'company_dbcompany';
 
gcypher said:
Meaning you dont have permission to create a new database.
If you have admin privilige on DA you could assign another database to the account you want to use it with.
:D
Where can i get admin privilege on DA..please...tq
 
gcypher said:
Well usually logging in at http://domain.com:2222 using "admin" as username.
Thanks a lot gcypher..i'm really appreciated it..:) Now i'm already can linked my database with myphp form...but once i open phpmyadmin why there is still noticed No databases at the left of the corner and also no privilege.

In order to view the existing database..I have to click Show Processes-->Need to hit Refresh.-->View Structure...
then the database will displayed. Am i missing something??Thanks
 
When you go to MySQL setting in DA, dont you see a link to phpMyAdmin under the create a database link?
 
woober said:
When you go to MySQL setting in DA, dont you see a link to phpMyAdmin under the create a database link?
Thanks..yes..i have already created database in phpmyadmin..but i just wondering and really want to know why my database name not displayed at the left corner in phpmyadmin..still noticed No databases.
 
ok. I see, that problem might be found in your /var/www/html/phpMyAdmin/config.inc.php

Check you mysql db settings here.
 
woober said:
ok. I see, that problem might be found in your /var/www/html/phpMyAdmin/config.inc.php

Check you mysql db settings here.
Thanks..but how..but what it means..i dont understand ..can u tell me more details..thanks
 
Back
Top