Computing.Net > Forums > Linux > A problem in MYSQL & PHP.....

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

A problem in MYSQL & PHP.....

Reply to Message Icon

Name: Mohsen Pahlevanzadeh
Date: August 28, 2002 at 17:56:22 Pacific
Comment:

Hi dears.
I want to working with MySQL in PHP.
I tell you what do i do.
In first,i used mysql_create_db() function.
In next step,i used mysql_db_query() function for create table.
finally i used mysql_db_query() function for insert value.
But it don't write into table.
Oh,i ran /etc/init.d/mysqld file,with "start" parameter,If there
are another file that mysql needed,tell me.
What is DataBase file name & extension?Where is its path on my computer?
Please guide me that how to working MySQL.
--Best regards



Sponsored Link
Ads by Google

Response Number 1
Name: David Perry
Date: August 29, 2002 at 12:29:32 Pacific
Reply:

Do these commands work from the command line?

mysqladmin create database_name
mysqlshow database_name
mysqlshow database_name table_name
mysql -e "insert into table_name ( field1, field2 ) values ( 'value1', 'value2' )"
mysql -e "select * from table_name"


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: A problem in MYSQL & PHP.....

problem in samba sharing printer www.computing.net/answers/linux/problem-in-samba-sharing-printer/19205.html

problem in deleting the files www.computing.net/answers/linux/problem-in-deleting-the-files/21509.html

nfs mounting problem in rhl 9.0 fro www.computing.net/answers/linux/nfs-mounting-problem-in-rhl-90-fro/19672.html