Jump to content

Connecting MySQL with PHP


Recommended Posts

A question about MySQL beginners course, part of connecting mysql with php, the video was very quickly and i didnt understand well.
1) Is there any simple way to connect a user to a database without such apps such cPanel? (from MyAdmin)
2)You told - "I am just using cPanel to connect a user with a database". Is there some free cPanel alternative that would work good on both mac and windows operating systems? For example i found some alternatives but on the download page i didnt see macos supported.
Link to comment
Share on other sites


Typically CPANEL is included with so many hosting companies. So I would just find a host that has that. 

There are several ways to connect to MySQL besides CPANEL. You could connect via command line using SSH. You could use a third party program that works with MySQL ... they almost always allow for remote MySQL connections. Here are the options:

Any client for MySQL should work equally well for derived products, such as MySQL Enterprise, Percona Server, MariaDB, etc.

Free Clients

Commercial Clients with a Free Option



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.

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.

  • Create New...