- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Need Hello World PHP script
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2005 06:28 AM
02-27-2005 06:28 AM
I need a simple PHP script that will access MySQL as a test so that I know they are compatible.
I need to create a MySQL database and assign it a password. I'm not sure the MySQL install process did that.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2005 10:56 AM
02-27-2005 10:56 AM
Re: Need Hello World PHP script
phpinfo();
?>
create a file call info.php, put that field in a proper directory under apache, access it from the browser and you should see a slew of information you need.
It sounds like a mysql config issue? Installing mysql by defautl will create a user root and test. The default db are mysql and test. In short I do not think the install process create the db you wanted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2005 11:25 AM
02-27-2005 11:25 AM
Re: Need Hello World PHP script
I agree it is probably a MySQL config issue; I just don't have it set up correctly. Thanks for the PHP script; I had it from a previous post, though :)
I'm really looking for something that will tell me if my PHP setup can actually talk to MySQL setup. A script that would store something in a default db (test) and retrieve it would do. I've attempted to write one; so far no joy.
Vern
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2005 11:44 AM
02-27-2005 11:44 AM
Re: Need Hello World PHP script
mysql -u
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2005 02:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2005 11:26 PM
02-27-2005 11:26 PM
Re: Need Hello World PHP script
Exactly what I needed.