Hans Montero
New Member
- Messages
- 4
- Reaction score
- 0
- Points
- 1
Hi everyone,
I have just started using x10hosting and I am not sure how to set up a PDO.
Up to now, all of my projects have been locally hosted so I am not sure how to configure this:
PDO('mysql:hostname=;dbname=exampledb', 'username', 'password')
I know what goes in for username, password, and dbname, but not for hostname.
Any help is appreciated.
Thanks
I have just started using x10hosting and I am not sure how to set up a PDO.
Up to now, all of my projects have been locally hosted so I am not sure how to configure this:
PDO('mysql:hostname=;dbname=exampledb', 'username', 'password')
I know what goes in for username, password, and dbname, but not for hostname.
Any help is appreciated.
Thanks